Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
I see somehow PREFIX_fep_messages table is missing. I need administrator access to your website. You can provide me in https://www.shamimsplugins.com/sensitive-information/ or join https://meet.google.com/vuv-bawq-sxj at 4:00 PM (UTC) time (20 minutes from now).
Shamim HasanKeymasterCan you recheck if
PREFIX_fep_messages
table exists? (I do not see that in your screenshot).
Can you give me access to your website or have a meeting with me so that we can debug?Shamim HasanKeymasterYou were too much behind, recommended to update regularly.
Please let me know follwoing
1. Does your DB user have permission to ALTER the DB tables?
2. Can you check in DB ifPREFIX_fep_messages
,PREFIX_fep_messagemeta
andPREFIX_fep_participants
tables exists?Shamim HasanKeymasterWhich version of the plugin you are using? Can you update the plugin to latest version?
If you cannot auto update the plugin you can download latest version from https://www.shamimsplugins.com/account/ and update it.Shamim HasanKeymasterCan you check in https://www.shamimsplugins.com/account/ that your website is listed correctly under your license?
If not you can deactivate license and activate again.Let me know
Shamim HasanKeymasterYou can use
fep_query_url( 'viewmessage', array( 'fep_id' => fep_get_message_field( 'mgs_parent', $message_id ) ?: $message_id ) )
Shamim HasanKeymasterYou can use following code
add_filter( 'fep_form_fields', function( $fields ) { $fields['message_content']['type'] = 'wp_editor'; return $fields; });
Shamim HasanKeymasterIs your website in testing stage? If yes, can you deactivate all other plugins and change theme to default theme then try again? If it shows then activate other plugins one by one and see when it start removing that menu.
Only PRO version needs to be installed.
Let me know.
Shamim HasanKeymasterPlease 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?
-
AuthorPosts