Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
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 );
Shamim HasanKeymasterThank 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.
Shamim HasanKeymasterYes.
Add following code in your theme’s (child theme’s if any) functions.phpadd_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.Shamim HasanKeymasterIt 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.
Shamim HasanKeymasterYou 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.
Shamim HasanKeymasterWhen non admin user use “New Message” That is already filled. They do not need to type anything to send message to admin.
Shamim HasanKeymasterAlso what php code you had changed to hide directory? Please remove that code so that we can investigate what is wrong with directory.
Shamim HasanKeymasterI 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” featureShamim HasanKeymasterShamim HasanKeymasterCan 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?Shamim HasanKeymasterwhat 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.Shamim HasanKeymasterDid you change any code or use any custom code for this plugin?
If you unchecked that will hide directory for non admin users.Shamim HasanKeymasterplease go to Front End PM PRO > Settings > General > Show Directory
Shamim HasanKeymasterWhen 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.
Shamim HasanKeymasterThank 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”
-
AuthorPosts