Shamim Hasan

Forum Replies Created

Viewing 15 posts - 406 through 420 (of 2,460 total)
  • Author
    Posts
  • in reply to: Custom Email Tag #42075
    Shamim Hasan
    Keymaster

    I do not know how (or what meta) you used to store that value, So i cannot give you full code.
    You can use following code in your theme’s (child theme’s if you are using) functions.php (change necessary code to get that link from user profile)

    add_filter( 'fep_eb_email_legends', function( $legends, $mgs, $user_email ){
        $link = '';
        if( $user_email && ($user = get_user_by( 'email', $user_email ) ) ){
            $link = 'Here get that link from $user profile';
        }
        $legends['one_click_login'] = array(
            'description' => __('One click Login link', 'front-end-pm'),
            'where' => array( 'newmessage', 'reply' ), //where this tag will be used
            'replace_with' => $link
        );
        return $legends;
    }, 10, 3);
    
    in reply to: Custom Email Tag #42070
    Shamim Hasan
    Keymaster

    1. Which user filed you want to send? sender or receiver?
    2. Which field you want to send?

    in reply to: How can I hide the “Settings” tab? #42059
    Shamim Hasan
    Keymaster
    in reply to: Custom Email Tag #42053
    Shamim Hasan
    Keymaster

    There $mgs->mgs_author is the user id. So you can use this to get any value for that user.

    in reply to: Turn off email notifications #42052
    Shamim Hasan
    Keymaster

    Yes, possible. In that case fill out subject in settings and add following code in functions.php

    add_filter('fep_get_user_option', function( $value, $option, $default, $userid, $is_default ){
        if( 'allow_emails' !== $option ){
            return $value;
        }
        if( fep_is_user_admin() ){
            $value = true;
        } else {
            $value = false;
        }
        return $value;
    }, 10, 5);
    

    This will send notification only to admins.

    in reply to: What is the symbol after my gravatar? #42042
    Shamim Hasan
    Keymaster

    That means there are more users as participants of that message.

    in reply to: Change file attachment upload directory #42008
    Shamim Hasan
    Keymaster

    This plugin uses wp functions to upload attachments. I do not know how that plugin handle upload files. Can you try if it already working? If not can you get some idea from that plugin author how to integrate with that plugin?

    in reply to: V2 and V3 key switching and version-specific shortcodes #42004
    Shamim Hasan
    Keymaster

    Thank you for your nice suggestion. I will try to implement this in future.

    in reply to: Annoucement e-mails are sending. #41989
    Shamim Hasan
    Keymaster

    As it is not possible to predict what i need to change in a website to debug an issue, So i needed to add that term.

    You can change interval to 15 minutes and email per interval to 20, Wait at least 15 minutes then refresh your website couple of times and see if it start sending.

    in reply to: Multisite translation #41985
    Shamim Hasan
    Keymaster

    Do other plugins translations works?

    in reply to: Annoucement e-mails are sending. #41979
    Shamim Hasan
    Keymaster

    Did you changed email interval in Front End PM PRO > Settings > Emails?

    If still not working i need access to your website so that i can try. You can send me your admin credentials via https://www.shamimsplugins.com/sensitive-information/

    in reply to: Renewal license key invalid #41973
    Shamim Hasan
    Keymaster

    I see your are not using latest version of the plugin. Please update to latest version and it will work.
    I have manually renewed your previous license, So in this plugin version you can use previous license now and can update.

    in reply to: Multisite translation #41971
    Shamim Hasan
    Keymaster

    Please select English one as “Front End PM Page” in the settings page of this plugin.
    Also please check if other plugins translations working.

    let me know.

    in reply to: fep_filter_rest_users_args not working #41961
    Shamim Hasan
    Keymaster

    You need to change $args parameters only. Not full get_users function.
    Eg.

    add_filter( 'fep_filter_rest_users_args', function( $args ){
        $args['search'] = 1449,
        return $args;
    });
    
    in reply to: Annoucement e-mails are sending. #41958
    Shamim Hasan
    Keymaster

    Please go to Dashboard > Tools > Site Health and check if those options are under passed tests (see screenshot)

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 406 through 420 (of 2,460 total)