Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Please go to Dashboard > Front End PM PRO > Settings > Emails > Email Sending Interval and change to any other value and save changes. Wait selected amount of time and check again.
Let me know.Shamim HasanKeymasterCan you please uninstall and download from https://www.shamimsplugins.com/account/ and install again?
Let me know.Shamim HasanKeymasterFor groups, all users need to be added to that group. And they may see other users message which is not sent to them.
Better add other users to that conversation so that they can see only that conversation.Eg. You can add following code in your theme’s (child theme’s if any) functions.php, change $your_extra_user_ids values
add_filter('fep_filter_message_before_send', function( $message ){ $your_extra_user_ids = array( 1,2,3 ); //Only for parent message if( empty( $message['fep_parent_id'] ) ){ if( ! is_array( $message['message_to_id'] ) ){ $message['message_to_id'] = array( $message['message_to_id'] ); } $message['message_to_id'] = array_merge( $message['message_to_id'], $your_extra_user_ids ); } return $message; });
Shamim HasanKeymasterAs i understand you want only doctor’s self patients will be shown to that doctor. Eg. your doctors roles are A, B and C. And patients of doctor A’s are patients_of_A. So your filter will look like
add_filter( 'fep_filter_rest_users_args', function( $args ){ if ( in_array( 'A', wp_get_current_user()->roles ) ) { $args['role'] = 'patients_of_A'; } return $args; });
As i understand you do not need to filter messages.
Shamim HasanKeymasterShamim HasanKeymasterDo you want such a way that an Editor role user only see other Editor role users? you can use
fep_directory_arguments
andfep_filter_rest_users_args
Shamim HasanKeymasterCan you install attached version from https://www.shamimsplugins.com/support/topic/announcement-stuck-in-pending-again-no-fix-this-time/#post-45944 and let me know?
March 15, 2025 at 10:28 pm in reply to: Announcement stuck in Pending again (no fix this time) #45944Shamim HasanKeymasterCan you install the attached version and let me know?
Attachments:You must be logged in to view attached files.Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_filter_rest_users_args', function( $args ){ $args['date_query'][] = [ 'after' => '2024-11-01 00:00:00', ]; return $args; });
Shamim HasanKeymasterYou can try a transparent loader. Add following code in Dashboard > Front End PM PRO > Settings > Appearance > Custom CSS
.fep-loader { -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: alpha(opacity=0); opacity: 0; }
Please note loader will be transparent from all places for this in this plugin.
Shamim HasanKeymasterThere should be showing a loading screen.
As you can see after showing “Message Successfully Sent” message, your reply does not automatically append to all other replies. That time an api call is made to reload all replies so that your recent reply also got included.This is expected behavior.
Shamim HasanKeymasterAfter sending message it should make an api call to get messages and load messages. So it should not be in grey stage for long time.
Can you record your screen when sending message so that i can see in which stage the issue is?Shamim HasanKeymasterThank you for your patient. It was not possible for me to reply to support questions.
I am happy to provide full refund if anyone ask for this.
Please use a separate topic for email piping issue so that i can debug if require.Shamim HasanKeymasterMessage with more than 5 recipients, emails will be sent using cron. Can you check if your cron working properly? You can use any cron plugin for that (eg. WP crontrol)
Also can you please go to Dashboard > Front End PM PRO > Settings > Emails > Email Sending Interval and change to any other value and save changes. Wait selected amount of time and check again.
Let me know.Shamim HasanKeymasterThis url require user being logged in. If user loged out but still hit that url (for page caching or something else) they will get 403 error.
-
AuthorPosts