Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,651 through 1,665 (of 2,460 total)
  • Author
    Posts
  • in reply to: annoncemt area #15880
    Shamim Hasan
    Keymaster

    add following code in your theme’s (child theme’s if any) functions.php

    add_filter( 'fep_menu_buttons', function( $menu ){
    	unset( $menu['newmessage'], $menu['message_box'], $menu['settings'], $menu['directory'] );
    	return $menu;
    }, 99 );
    
    in reply to: Sending slowly #15858
    Shamim Hasan
    Keymaster

    Thank you for being with us.
    we cannot delay 10 seconds, it is not possible. We can use cron, but that is full another chapter.

    A good news is that i am re-designing this plugin. New version will be so much performance improved.

    in reply to: Allow Only Certain Users to Send to Groups #15856
    Shamim Hasan
    Keymaster

    Yes.
    Add following code in your theme’s (child theme’s if any) functions.php

    add_filter( 'fep_get_option', function( $value, $option ){
        if( 'can-send-to-group' == $option ){
            if( in_array( 'supervisors', wp_get_current_user()->roles ) ){
                $value = true;
            } else {
                $value = false;
            }
        }
        return $value;
    }, 10, 2 );
    

    Change supervisors with your supervisors user’s role.

    in reply to: Directory for Admin Only #15748
    Shamim Hasan
    Keymaster

    It is recommended not to change any php code in plugin. When you will update plugin you will lose your changes.

    Sorry, i do not have any recommendation on that.

    in reply to: Directory for Admin Only #15745
    Shamim Hasan
    Keymaster

    You should not need to change any php code to hide directory for non admin. What php you had changed? i can correct if anything wrong in the plugin for that feature. let me know.

    in reply to: Directory for Admin Only #15740
    Shamim Hasan
    Keymaster

    When non admin user use “New Message” That is already filled. They do not need to type anything to send message to admin.

    in reply to: Directory for Admin Only #15739
    Shamim Hasan
    Keymaster

    Also what php code you had changed to hide directory? Please remove that code so that we can investigate what is wrong with directory.

    in reply to: Directory for Admin Only #15736
    Shamim Hasan
    Keymaster

    I see you set “Max recipients” to 0(zero) which restrict all new message sent to user.
    If you want any role not to send new message (but admin can) then use role to role block to block that role.

    Set “To Role” as “All Roles” and “Block For” as “New Message”.
    If you set Admins in Front End PM PRO > Settings > Recipient > Can send to admin Then these feature is exempted. So users can send message using this feature if they are blocked by “Role to Role block” feature

    in reply to: Directory for Admin Only #15730
    Shamim Hasan
    Keymaster
    in reply to: Directory for Admin Only #15725
    Shamim Hasan
    Keymaster

    Can admin send message from “New Message” (not from directory)?
    are you using default theme or any other theme?
    Can you give me access to your site so that i can try?

    in reply to: Directory for Admin Only #15721
    Shamim Hasan
    Keymaster

    what is the nicename of that admin user the message is sending to? who is sender of that message?
    please deactivate all plugins and change theme to default theme then try.
    Let me know.

    in reply to: Directory for Admin Only #15716
    Shamim Hasan
    Keymaster

    Did you change any code or use any custom code for this plugin?
    If you unchecked that will hide directory for non admin users.

    in reply to: Directory for Admin Only #15699
    Shamim Hasan
    Keymaster

    please go to Front End PM PRO > Settings > General > Show Directory

    in reply to: Message box slow for certain users #15648
    Shamim Hasan
    Keymaster

    When a message is replied it become unread. There is a filter to show unread messages. You can use that filter.

    This is a sacrifice that is necessary to improve page load speed.

    in reply to: Plugin is Renewed but still show expired #15646
    Shamim Hasan
    Keymaster

    Thank you for renew. Your new license expiry date is July 10, 2019.
    For performance reason license data is cached for 1 week. It will automatically show updated information when current cached expire.

    If you want to show now, please remove license key then click “Save Changes” again input license key again “Save Changes”

Viewing 15 posts - 1,651 through 1,665 (of 2,460 total)