Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
May 19, 2018 at 4:25 am in reply to: Admin Only still shows "To" field and allows me to send a message to another use #14322Shamim HasanKeymaster
If you want “To” field hidden, then set Front End PM PRO > Settings > Recipient > Max Recipient = 0.
User will be able to send message to only admins you set in Front End PM PRO > Settings > Recipient > AdminsMay 18, 2018 at 2:24 pm in reply to: "You must login to view your message." How to change this #14310Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if any) function.php
add_filter( 'fep_main_shortcode_output', function( $out ){ if( ! is_user_logged_in() ){ $out = '<div style="background-color:#000000;color:#ffffff;">Login to see messages.</div>'; //Change this line as you want. } return $out; });
Shamim HasanKeymasterPlease go to Front End PM PRO > Settings > Emails > New message content (click “Text” tab in Editor)
Then replaceMessage URL: <a href="{{message_url}}">{{message_url}}</a>
with<center><a href="{{message_url}}" style="background-color:#49a9ce;border-radius:px;color:#ffffff;display:inline-block;font-family:sans-serif;font-size:13px;font-weight:bold;line-height:53px;text-align:center;text-decoration:none;width:200px;-webkit-text-size-adjust:none;cursor:pointer;">View Message</a></center>
You can do same for “Reply content”.
It will create a simple button, clicking that will go to your website message page.May 18, 2018 at 5:13 am in reply to: Please add new case to fep_user_name to include usermeta "last_name_suffix" #14298Shamim HasanKeymasterPlease do not change any plugin code. It will be overwritten when you update plugin.
There are lots of hook in this plugin. So you can change almost anything without touching plugin code.
To achieve this functionality without changing plugin code, please add following code in your theme’s ( child theme’s if any) functions.phpadd_filter( 'fep_filter_user_name', function( $name, $id ){ $name = fep_get_userdata( $id, 'first_name', 'id' ) . ' ' . fep_get_userdata( $id, 'last_name', 'id' ) . ' ' . fep_get_userdata( $id, 'last_name_suffix', 'id' ); return $name; }, 10, 2 );
Shamim HasanKeymasteradd following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_filter_message_before_send', function( $message ){ if( fep_is_user_admin() ){ $message['post_status'] = 'publish'; } return $message; });
Shamim HasanKeymaster1. if you hide front-end-pm-page then your link will be invalid.
2. You can edit message content in Front End PM PRO > Settings > Emails and create a button instead.Shamim HasanKeymasteradd following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_filter_notification_script_localize', function( $localize ){ $localize['sound_url'] = 'your_sound_url.mp3'; return $localize; });
Upload your sound file in your website and change your_sound_url.mp3 with your sound file url.
Shamim HasanKeymasterDid you change any code in plugin or use any custom code for this plugin?
From which email you are receiving normal emails (eg register, lost password email)? Please set that email address in Dashboard > Front End PM PRO > Settings > Emails > From Email and test.
Shamim HasanKeymasterin front-end, from where you send messages, each user has his own settings page, there.
From which email you are receiving normal emails (eg register, lost password email)? Please set that email address in “From Email” in this plugin settings and test.
Shamim HasanKeymasterNothing is changed in this version regarding email. So it should not have any issue for this update.
Are you using same domain email in “From Email”? are you using any SMTP plugin? in front end Settings page is “Email me when I get new messages?” checked?Shamim HasanKeymasterFrom which version you have updated?
I see your previous email problem is solved in https://www.shamimsplugins.com/support/topic/email/. What did you changed that time?
Also please check is normal email sent from your website? eg register, lost password email?
Please go to Dashboard > Front End PM PRO > Settings > Emails and see if all fields are filled.Shamim HasanKeymasterFor your message notification if you want admin only can see body message not subscriber then that need to be custom build.
For email piping please follow step by step in https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/email-piping/
If not work please create another topic for email piping.Shamim HasanKeymasterWhere you are using this mergetag but not parsing? can you please give me a screenshot?
Shamim HasanKeymaster1. You mean in email? You can go to Dashboard > Front End PM PRO > Settings > Emails and set which content will be sent to email.
2. NoShamim HasanKeymasterInvoice is already sent to your email address.
Thank you for your purchase. -
AuthorPosts