Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Please 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?
April 29, 2018 at 5:21 pm in reply to: Is there any need of user to be present in Group first to send Group Meassage #13790Shamim HasanKeymasterUsers only able to send message to his own group. So A has to join that group first before sending message to that group.
User A can leave that group after sending message if he wants.Shamim HasanKeymasterRole to role block is applicable only when sending direct message. Eg. if you block A to B role then A will not be able to send direct message to B.
It is not applicable when sending group or admin message.Shamim HasanKeymasterThis is a security feature, Users should not get this error if they send message normally.
1. Are you always getting this error when sending message/reply?
2. when you get this error is message sent?
3. Do you use any custom code for this plugin in your website?
4. Do you use any caching plugin? If yes, try to exclude message page from caching and try.Let me know.
Shamim HasanKeymasteradd following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_filter_show_which_name', function( $which ){ return 'user_login'; });This will show user_login instead of display name.
Shamim HasanKeymasterThis plugin uses “Display Name” all the places. Please go to Dashboard > Users > Your Profile > Name to see the difference of names. Display name is made to show publicly and this plugin use that.
Also You can use
fep_filter_show_which_namehook to change which name will be used.Shamim HasanKeymasterIs your another topic https://www.shamimsplugins.com/support/topic/new-message-form-shortcode-autopopulate-to-specific-user/ solve this topic also?
-
AuthorPosts