Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
If you go to Dashboard > Front End PM PRO > All Messages then take cursor to message title you can see message id.
If you do not need explicitly add message id to the subject, i prefer not to add id to the subject. We can not get id before message save. So we have to add id after message save that will save every message twice which will stress your server.
After that also if you want to add id to message subject then let me know. I will give you code to achieve that.Shamim HasanKeymaster1. Please see https://www.shamimsplugins.com/docs/front-end-pm/getting-started/basic-front-end-walkthrough/
2. Please go to Dashboard > Front End PM PRO > All Messages
3. May i know the purpose of message id in subject? You can enable email piping (https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/email-piping/) which will add a unique id in subject in email.Shamim HasanKeymasteradd following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_filter_user_name', function( $name, $id ){ if( isset( $_GET['fepaction'] ) && 'viewmessage' == $_GET['fepaction'] && function_exists( 'um_fetch_user' ) ){ um_fetch_user( $id ); $name = '<a href="' . um_user_profile_url() . '">' . $name . '</a>'; } return $name; }, 10, 2);Shamim HasanKeymasteryou want your users can send only one line message? If presses “Enter” send the message then users will not be able to create newline.
Let me know. If you need then i can provide you some code.Shamim HasanKeymasterBy default wordpress doesn’t have a user profile page. Which page you want to link? author posts page?
June 2, 2018 at 11:32 am in reply to: Unable to remove "maxlength" and "minlength" requirements #14637Shamim HasanKeymasterTo remove minlength and maxlength from both message title and message content add following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_form_fields', function( $fields ){ unset( $fields['message_title']['minlength'], $fields['message_title']['maxlength'], $fields['message_content']['minlength'], $fields['message_content']['maxlength'] ); return $fields; });June 2, 2018 at 11:26 am in reply to: How to use fep_autosuggestion_arguments to show only users in Subscriber role #14635Shamim HasanKeymasterShamim HasanKeymasterThis may help a little https://stackoverflow.com/a/16974066/8285659
Shamim HasanKeymasterin your .forward file use
|php /home/xxx/xxx/fep-email-piping.php(change file permission and enter correct path)
This should workShamim HasanKeymasterIf your host doesn’t support piping of emails to a program then your users need to go to your website to reply messages. You can send message link in notification email so that user can follow that link to go to your website to reply his messages.
Shamim HasanKeymasterDate not fixed yet. May be end of the next month.
Shamim HasanKeymasterPlease go to your “Message Box”. Top of the messages there is search field. Top of the announcements also will have same search field.
Shamim HasanKeymasterSearch announcement feature will be added in next version of this plugin.
Shamim HasanKeymasteryou want to sort announcement by date? Eg. most oldest on top? By default it shows most recent on top.
Email notification will be sent to all users who have access to that announcement. Eg. If you send announcement to Subscriber and Editor roles, then all users of that roles will receive notification email.
Shamim HasanKeymasterYou can use
fep_filter_read_receiptto change output of your read receipt. You can show only “Read” without name. -
AuthorPosts