Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Yes, possible. Please see https://www.shamimsplugins.com/support/topic/group-messaging-2/#post-41306
December 28, 2020 at 4:05 pm in reply to: How to show new announcements to specific users, but hide to other users #42122Shamim HasanKeymasterYou can send them a message when they register. You can include any content there. See https://www.shamimsplugins.com/docs/front-end-pm/customization/send-welcome-message-user-register/
December 26, 2020 at 10:59 pm in reply to: How to show new announcements to specific users, but hide to other users #42117Shamim HasanKeymasterAnnouncements are tied to users. So if users came after announcements we cannot show that announcements to that user.
Shamim HasanKeymasterI see it is set to V3, Can you activate V2 and use google keys for that version and check if working?
December 25, 2020 at 10:20 am in reply to: How to show new announcements to specific users, but hide to other users #42102Shamim HasanKeymasterBy default only admins can see that button. Other users cannot see that button.
December 23, 2020 at 12:27 am in reply to: How to show new announcements to specific users, but hide to other users #42094Shamim HasanKeymasterIf you want to show new announcements to a certain role of users, then select that role only when create announcement.
If you want to show only a specific user, then send them a message.Shamim HasanKeymasterCan you please share your website url?
Shamim HasanKeymasterI do not know how (or what meta) you used to store that value, So i cannot give you full code.
You can use following code in your theme’s (child theme’s if you are using) functions.php (change necessary code to get that link from user profile)add_filter( 'fep_eb_email_legends', function( $legends, $mgs, $user_email ){ $link = ''; if( $user_email && ($user = get_user_by( 'email', $user_email ) ) ){ $link = 'Here get that link from $user profile'; } $legends['one_click_login'] = array( 'description' => __('One click Login link', 'front-end-pm'), 'where' => array( 'newmessage', 'reply' ), //where this tag will be used 'replace_with' => $link ); return $legends; }, 10, 3);
Shamim HasanKeymaster1. Which user filed you want to send? sender or receiver?
2. Which field you want to send?Shamim HasanKeymasterShamim HasanKeymasterThere
$mgs->mgs_author
is the user id. So you can use this to get any value for that user.Shamim HasanKeymasterYes, possible. In that case fill out subject in settings and add following code in functions.php
add_filter('fep_get_user_option', function( $value, $option, $default, $userid, $is_default ){ if( 'allow_emails' !== $option ){ return $value; } if( fep_is_user_admin() ){ $value = true; } else { $value = false; } return $value; }, 10, 5);
This will send notification only to admins.
Shamim HasanKeymasterThat means there are more users as participants of that message.
Shamim HasanKeymasterThis plugin uses wp functions to upload attachments. I do not know how that plugin handle upload files. Can you try if it already working? If not can you get some idea from that plugin author how to integrate with that plugin?
December 5, 2020 at 10:13 pm in reply to: V2 and V3 key switching and version-specific shortcodes #42004Shamim HasanKeymasterThank you for your nice suggestion. I will try to implement this in future.
-
AuthorPosts