Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Can you please give me your website contact form url?
Shamim HasanKeymasterIt will be released in December.
November 25, 2020 at 9:26 am in reply to: Include only specific users to new message “To” dropdown #41906Shamim HasanKeymasterYes, also you can add/unset any parameters if you want from $args. So if you want to unset
excludeparameter you can useunset($args['exclude']).Shamim HasanKeymasterI see in your test website main theme is active not child theme. Activated child theme and it will work.
November 24, 2020 at 11:36 pm in reply to: Include only specific users to new message “To” dropdown #41890Shamim HasanKeymasterYou can use
fep_filter_rest_users_argshook.
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_sendhook does not give you correct message id.
If you need to usefep_action_message_after_sendhook you can use$message_idvariable 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_filterorfep_query_url_without_esc_filterhooks.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 ); -
AuthorPosts