Shamim Hasan

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 2,484 total)
  • Author
    Posts
  • in reply to: Announcement does not send #45969
    Shamim Hasan
    Keymaster

    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.

    in reply to: Missing settings #45965
    Shamim Hasan
    Keymaster

    Can you please uninstall and download from https://www.shamimsplugins.com/account/ and install again?
    Let me know.

    in reply to: Set one emaik To: section for non admins. #45962
    Shamim Hasan
    Keymaster

    For 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;
    });
    
    in reply to: Limit Admins to specific roles #45960
    Shamim Hasan
    Keymaster

    As 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.

    in reply to: Set one emaik To: section for non admins. #45959
    Shamim Hasan
    Keymaster
    in reply to: Limit Admins to specific roles #45953
    Shamim Hasan
    Keymaster

    Do you want such a way that an Editor role user only see other Editor role users? you can use fep_directory_arguments and fep_filter_rest_users_args

    in reply to: No notification email sent for announcements #45949
    Shamim Hasan
    Keymaster
    in reply to: Announcement stuck in Pending again (no fix this time) #45944
    Shamim Hasan
    Keymaster

    Can you install the attached version and let me know?

    Attachments:
    You must be logged in to view attached files.
    in reply to: not show users prior to specific date #45943
    Shamim Hasan
    Keymaster

    You 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;
    });
    
    in reply to: gray screen after sending a message #45933
    Shamim Hasan
    Keymaster

    You 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.

    in reply to: gray screen after sending a message #45930
    Shamim Hasan
    Keymaster

    There 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.

    in reply to: gray screen after sending a message #45927
    Shamim Hasan
    Keymaster

    After 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?

    in reply to: Front End PM Pro abandoned? #45925
    Shamim Hasan
    Keymaster

    Thank 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.

    in reply to: Front End PM PRO – groups over 6 fail to send #45922
    Shamim Hasan
    Keymaster

    Message 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.

    in reply to: 403 errors on website #45921
    Shamim Hasan
    Keymaster

    This 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.

Viewing 15 posts - 16 through 30 (of 2,484 total)