Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
February 9, 2018 at 2:57 pm in reply to: Autocomplete and Send Message from Directory not working #10851Shamim HasanKeymaster
You can add following code in your theme’s (child theme’s if any) functions.php
add_action( 'fep_action_validate_form', function( $where, $errors, $fields ){ if( 'newmessage' != $where ) return; if ( $errors->get_error_message( 'MgsBoxFull' ) ){ $errors->remove( 'MgsBoxFull' ); $errors->add('MgsBoxFull', __( "Your custom error message here.", 'front-end-pm' )); } }, 99, 3); add_filter( 'fep_message_table_bulk_actions', function( $actions ){ unset( $actions['delete'] ); return $actions; });
Change error message as you like.
Admin can delete message from Back-end. Go to Dashboard > Front End PM PRO > All MessagesFebruary 9, 2018 at 10:13 am in reply to: Autocomplete and Send Message from Directory not working #10829Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_current_user_can', function( $can, $cap, $id ){ if( 'delete_message' == $cap ) return false; return $can; }, 10, 3);
This will prevent user to delete their messages from front-end. So they will only be able to send message what is set in that limit page.
February 9, 2018 at 9:19 am in reply to: Autocomplete and Send Message from Directory not working #10823Shamim HasanKeymasterYou can set limit from Dashboard > Front End PM PRO > Settings > Misc
You can set limit as per role.Shamim HasanKeymasterit will parent id (first message id of the thread).
Shamim HasanKeymasterI see you already contacted me. But i think my replies never sent.
Can you please check your email address is correct in your account?Shamim HasanKeymasterThere are lots of hooks in this plugin and you can change almost anything without changing core plugin code.
It is not recommended to change plugin code.after that also if you need, this fix is located in class-fep-pro-to.php
Shamim HasanKeymastergo to Front End PM PRO > All Messages and find that message and change status to anything else other that publish.
February 5, 2018 at 11:16 pm in reply to: Autocomplete and Send Message from Directory not working #10680Shamim HasanKeymasteri do not have that plugin. If you can send me i can try to find a way if possible.
February 5, 2018 at 1:59 pm in reply to: Autocomplete and Send Message from Directory not working #10651Shamim HasanKeymasterPlease check Front End PM PRO > Settings > Security > Role to Role block, if your role is blocked.
Are you using any custom code for this plugin in your website?
Can you please deactivate all plugins and change theme to default theme and try?Shamim HasanKeymasterI see you marked this topic as “resolved”. if not resolved let me know.
Shamim HasanKeymasteris “Remove Data on Uninstall?” checked?
You can delete plugin via ftp. that will be same effect.
For announcement issue can you please change sending interval to 10 and the emails per interval to 10
and save changes.
Let me know.February 2, 2018 at 11:15 pm in reply to: How to automatically send messages to newly registered users? #10578Shamim HasanKeymasterIs it working correctly in your setup after this change?
Shamim HasanKeymasterIt is possible but require custom code.
If you need this feature badly contact via https://www.shamimsplugins.com/contact-us/ for quotation.Shamim HasanKeymaster“X messages” and “X announcements” are hyper linked. So when click “X messages” it will redirect you message box page, and same for announcements.
To make full notification clickable add following code in your theme’s (Child theme’s if any) functions.php
add_filter( 'fep_header_notification', function( $show ){ $show = '<div onclick="location.href=\'' . fep_query_url('messagebox') . '\';" style="cursor:pointer;">' . $show . '</div>'; return $show; });
Shamim HasanKeymasterYou can add
#fep-notification-bar button {display:none;}
in Front End PM PRO > Settings > General > Custom CSS -
AuthorPosts