Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
November 24, 2020 at 11:36 pm in reply to: Include only specific users to new message “To” dropdown #41890Shamim HasanKeymaster
You can use
fep_filter_rest_users_args
hook.
As $args is supplied to get_users function you can modify any parameters there. you can get supported parameters in https://developer.wordpress.org/reference/classes/wp_user_query/prepare_query/Shamim HasanKeymasterThank you for nice suggestion. I will try to add this is future version.
You can follow in https://github.com/shamim2883/front-end-pm/issues/74Shamim HasanKeymasterIt is added but not yet released. If you know how to change from git commit you can see https://github.com/shamim2883/front-end-pm/commit/25abae8891de1707324e54575eacbc3551a6eeca
Shamim HasanKeymasterfep_get_the_id()
is a template function which does not return any value outside loop. So usingfep_action_message_after_send
hook does not give you correct message id.
If you need to usefep_action_message_after_send
hook you can use$message_id
variable instead offep_get_the_id()
Shamim HasanKeymasterAs for announcements there might me many users email which most of the host do not allow to send at a time. So this plugin send announcement emails using cron at a set interval. You can set that interval in Front End PM PRO > Settings > Emails
Please check following
1. Cron if working in your website.
2. Change email interval in Front End PM PRO > Settings > Emails and wait that timeLet me know.
Shamim HasanKeymasterYour code seems ok.
If not working you need more debug code for each line and see upto which line it is working correctly.November 22, 2020 at 10:54 pm in reply to: Can the “Front End PM Page” be a popup and not an actual page? #41848Shamim HasanKeymasterThis may be possible but there are some cases where a defined page is needed as Front End PM Page, like when sending emails, using cron or email piping.
If you know how to use wp hooks there is easy way to change the page url usingfep_query_url_filter
orfep_query_url_without_esc_filter
hooks.November 19, 2020 at 11:33 pm in reply to: Sites registration on your “shamimspluings.com” site. #41835Shamim HasanKeymasterI still cannot see your video.
May you please let me know if this plugin is active in your main website? What issue you are facing? Is not it activate in your main website?
If you cannot activate in main site, you can deactivate in test site then activate in main site. Then again activate in test site.Let me know
Shamim HasanKeymasterYou can go to Dashboard > Front End PM PRO > Settings > Emails and empty email subjects, That will do the trick.
Let me know.Shamim HasanKeymasterIt is shown display name.
Please change name in Dashboard > Users > Your Profile > Display name publicly asShamim HasanKeymasterPlease try following code
add_filter( 'fep_message_query_args', function( $args, $user_id ) { if( ! empty( $args['s'] ) && ( $user = get_user_by( 'login', trim( $args['s'] ) ) ) ) { $args['participant_query'][] = array( 'mgs_participant' => $user->ID, ); unset( $args['s'] ); } return $args; }, 10, 2 );
November 19, 2020 at 1:25 pm in reply to: Sites registration on your “shamimspluings.com” site. #41818Shamim HasanKeymasterI do not see any video in that link.
Also test site should automatically recognized by the system.Let me know if it doesn’t.
Shamim HasanKeymasterWhich plugin you are using for subscriber newsletter? If you use contact form 7 you can follow https://www.shamimsplugins.com/docs/advanced-nocaptcha-recaptcha/getting-started-advanced-nocaptcha-recaptcha/implement-in-contact-form-7/
Shamim HasanKeymasterDid you check “BuddyPress register” in settings page of this plugin?
Can you please give me screenshot of the settings page of this plugin?
Can you please give me url of your website?Shamim HasanKeymasterPlease go to Dashboard > Front End PM > Settings > Recipients
and set Max Recipients to 0 (Zero) (This will restrict users to send message to other users)
and checked “Can send to admin” (This will allow users to send message to this selected admins only) -
AuthorPosts