Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 2,489 total)
  • Author
    Posts
  • in reply to: All messages are suddenly empty #46032
    Shamim Hasan
    Keymaster

    Do you have any staging server for this website?
    Can you give me access to your staging website so that i can debug? If yes, please send admin and ftp/sftp credentials using https://www.shamimsplugins.com/sensitive-information/

    in reply to: All messages are suddenly empty #46030
    Shamim Hasan
    Keymaster

    Sorry i missed your message.
    Which version of the plugin and wordpress you are using?
    Did it happened after taking any action (Eg. updating wordpress) or without?
    Are you getting any error message?

    in reply to: No Option to send announcements #46027
    Shamim Hasan
    Keymaster

    Are you logged in as admin? By default only admin user can add announcement. If you want to allow any other role you can follow https://www.shamimsplugins.com/support/topic/create-announcements/#post-26559

    in reply to: Problem with /wp-json/front-end-pm/v1/notification #46024
    Shamim Hasan
    Keymaster

    This call is used to show notification of message count in varies places. If you do not want to show that you can disable that in Dashboard > Front End PM PRO > Settings > Misc > Notification (uncheck Show notification, Show count)

    in reply to: Attachments being deleted after a length of time #46022
    Shamim Hasan
    Keymaster

    This plugin does not delete attachments automatically. Do you have any custom code for this plugin?

    in reply to: Email Beautify – no templates shown #46017
    Shamim Hasan
    Keymaster

    Can you confirm if you are using Free or PRO version of the plugin?
    What is the version number?

    in reply to: Multiple sending problem email/front end #46016
    Shamim Hasan
    Keymaster

    When sending to multiple recipients we have 2 settings
    settings 1 (default): Same message: All users will receive same message and replies will be visible to all users
    Settings 2: separate message: All users will receive separate message and replies will not be visible to any other users but sender.

    You can change this settings in Front End PM PRO > Settings > Recipients > Multiple Recipients

    And For email, sender email is not visible to any users. Your email is sent from your systems email address. You can use any Email/SMTP plugin to change that.

    in reply to: Group sending to groups #46015
    Shamim Hasan
    Keymaster

    Currently we can send message to only one group at a time.

    in reply to: Disable messaging for specific user #46014
    Shamim Hasan
    Keymaster

    You can use following code

    add_filter("fep_get_user_option", function( $value, $option, $default, $userid, $is_default ){
        if( $option == "allow_emails" &&  $userid === 123){
            return false;
        }
        return $value;
    }, 10, 5);
    

    You can change user id value to chat you want.

    in reply to: Disable messaging for specific user #46009
    Shamim Hasan
    Keymaster

    You want to disable send message as well or only the email notification?

    in reply to: How to Restrict Messaging to Connected Users #46006
    Shamim Hasan
    Keymaster

    You can add 2 approaches
    Suppose current user id is 2 (you can get that using get_current_user_id()) and connected users of this user in 2,3 and 4 (get that from your member plugin or using query)

    Approach 1. You show only connected users in auto suggestion and in directory.

    add_filter( 'fep_filter_rest_users_args', function( $args, $for, $q, $x ) {
    	$args['meta_query'] = [
                'include' => [2,3,4], //Get ids from member plugin
            ];
    	return $args;
    }, 10, 4 );
    

    Approach 2. restrict user from sending message to only connected users

    add_filter( 'fep_current_user_can', function( $can, $cap, $id ){
        if ( 'send_new_message_to' != $cap || ! $can ) {
    	return $can;
        }
        //Get ids from member plugin
        if( in_array($id, [2,3,4] ) ){
            return true;
        }
        return false;
    }, 10, 3);
    
    in reply to: Styling the Messages Box #46005
    Shamim Hasan
    Keymaster

    Did you try to add your css code in Dashboard > Front End PM PRO > Settings > Appearance > Custom CSS?

    in reply to: my website is not recognizing my license #46001
    Shamim Hasan
    Keymaster

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

    in reply to: my website is not recognizing my license #45995
    Shamim Hasan
    Keymaster

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

    in reply to: my website is not recognizing my license #45990
    Shamim Hasan
    Keymaster

    You 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 if PREFIX_fep_messages, PREFIX_fep_messagemeta and PREFIX_fep_participants tables exists?

Viewing 15 posts - 1 through 15 (of 2,489 total)