Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Here is instruction of creating custom email tag. https://www.shamimsplugins.com/docs/front-end-pm-pro/customization-front-end-pm-pro/add-own-email-tag/
May 2, 2018 at 10:06 am in reply to: For User name and Nick name is "CV24" what will be the shortcode for New messag #13938Shamim HasanKeymasterinstead of this shortcode use
<a class="fep-button" href="http://YOUR_MESSAGE_PAGE_URL/?fepaction=newmessage&fep_mr_to=1,2">Message</a>
(change YOUR_MESSAGE_PAGE_URL with your message page url and 1,2 with your actual user ids)May 2, 2018 at 10:02 am in reply to: Paste directly multiple recipients names in the recipient box #13935Shamim HasanKeymasterjust add
&fep_mr_to=1,2
end of your url and press enter. It will fill your “To” field with those users. Remember to use user id (CV24 cannot be user id, user id is a number)Shamim HasanKeymasterMessage can be sent only one group at a time.
Shamim HasanKeymasterdid you replace code exactly what i gave you? Please recheck.
If still not working please give me screenshot of what you have changed.
Also let me know your PHP version.Shamim HasanKeymasterI have updated above code. Please use this code.
Then add following CSS in your theme’s style.css.fep-column-cus_count { width: 50px; } .fep-column-cus_date { width: 100px; }
Shamim HasanKeymasterPlease go to class-fep-group-message.php line 320 and change
return $user_groups;
toreturn apply_filters( 'fep_get_user_groups', $user_groups, $user_id );
(this hook will be added to next version, so you will not be needed this change for next version)Then add following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_get_user_groups', function( $user_groups, $user_id ){ $groups = fep_get_option('gm_groups', array()); if( $groups && is_array( $groups) ){ foreach ( $groups as $group ) { $user_groups[ $group['slug'] ] = $group['name']; } } return $user_groups; }, 10, 2);
This will allow you to send message to any group without joining that group.
Shamim HasanKeymasterYou can pass “text” attribute to shortcode. So if you pass
text="Message"
that will change button nameApril 30, 2018 at 10:50 am in reply to: what is shortcode or code to send message to particular single or more user #13857Shamim HasanKeymasterI see You have same question in another topic. Please continue in https://www.shamimsplugins.com/support/topic/for-user-name-and-nick-name-is-cv24-what-will-be-the-shortcode-for-new-messag/. I am closing this topic.
April 30, 2018 at 10:49 am in reply to: Is there any need of user to be present in Group first to send Group Meassage #13854Shamim HasanKeymasterI see You have same question in another topic. Please continue in https://www.shamimsplugins.com/support/topic/role-to-role-block-is-working-for-group/. I am closing this topic.
April 30, 2018 at 12:10 am in reply to: what is shortcode or code to send message to particular single or more user #13838Shamim HasanKeymasterApril 30, 2018 at 12:08 am in reply to: For User name and Nick name is "CV24" what will be the shortcode for New messag #13835Shamim HasanKeymasterWhere are you using this shortcode? In php template or in post editor?
Shamim HasanKeymasterWhere is “Contact” which you want to change?
Shamim HasanKeymasterCurrently there is no hook for this. Next version i will try to add some hook so that this can be achieved.
Shamim HasanKeymasterSo you want your Employer and Candidates can message to any group without joining that group, right?
-
AuthorPosts