Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Add following code in your theme’s (child theme’s if you are using) functions.php
add_action( 'fep_display_after_parent_message', function(){ if ( get_current_user_id() != fep_get_message_field( 'mgs_author' ) ) { printf( '<div>Sender Email: %s</div>', fep_get_userdata( fep_get_message_field( 'mgs_author' ), 'user_email', 'id' ) ); } });
July 22, 2022 at 2:12 pm in reply to: List the writings of an author on the site inside a selection form #44739Shamim HasanKeymaster1. Can an author has multiple articles?
2. Is it wordpress post? Does it saved in wp post table?July 19, 2022 at 11:40 pm in reply to: Is there a way to export who has read an announcement? #44727Shamim HasanKeymasterBy default it does not support export announcements data, But you can access directly to database and export from there. It needs some DB knowledge.
Shamim HasanKeymasterThis message system require user id. So we cannot send/receive messages from non-members.
Shamim HasanKeymasterWhere you want to show sender’s email address?
July 19, 2022 at 11:34 pm in reply to: List the writings of an author on the site inside a selection form #44724Shamim HasanKeymasterWhere are authors’ writing saved? Anyone can send to any author and select any author’s writing?
Shamim HasanKeymasterYou need to echo from there. Like following (change as you require)
add_action( 'fep_form_field_output_date', function( $field, $errors ){ echo 'This is date field'; }, 10, 2);
Shamim HasanKeymasterDO you use any other plugin for profile management?
Which user role you are logged in when visiting that page?Shamim HasanKeymasterYou can use like following
add_filter( 'fep_eb_email_legends', function( $legends, $mgs, $user_email ){ $legends['custom_tag'] = array( 'description' => __('Description of this custom tag', 'front-end-pm'), 'where' => array( 'newmessage' ), //where this tag will be used 'replace_with' => ! empty( $mgs->mgs_id ) ? fep_get_meta( $mgs->mgs_id, 'cus_fep_activity', true ) : '' ); return $legends; }, 10, 3);
Now add
{{custom_tag}}
in your email template in Front End PM PRO > Settings > EmailsShamim HasanKeymasterWe can show an error message when they try to reply, but updating that thread may need customization.
Shamim HasanKeymastertype
date
is not defined in this plugin by default. You can usefep_form_field_output_date
action hook to output date field.Shamim HasanKeymasterYou can add your own email tag to send those information. Please see https://www.shamimsplugins.com/docs/front-end-pm-pro/customization-front-end-pm-pro/add-own-email-tag/
Shamim HasanKeymasterCan you please go to Dashboard > Front End PM PRO > Settings > Emails > Email Sending Interval and change to any other value and save changes. Wait selected amount of time and check again.
Let me know.Shamim HasanKeymasterBy default “New Announcement” button is shown to admin only. If you want to remove from them also please go to Front End PM PRO > Settings > Security and unchecked “Can permitted users add Announcement from front end?”
Shamim HasanKeymasterYes, both possible. Let me know if you want to remove or edit it so that i can instruct you.
If edit, let me know what you want to show. -
AuthorPosts