Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
you can add following code in your theme’s (child theme’s if you are using) functions.php
add_action( 'fep_action_message_after_send', function( $mgs_id ){ $admins = array( 1 ); //your admin ID if( isset( $_POST['fep_action'] ) && 'shortcode-newmessage' == $_POST['fep_action'] ){ FEP_Participants::init()->insert( $mgs_id, $admins ); } });
Change 1 with your admin id
Shamim HasanKeymasterare you sending message from shortcode form or main interface?
Can you view other messages? When viewing messages if you click sidebar gravatars does that message load?Shamim HasanKeymasterThat shortcode does not support multiple recipients.
If you want to add a user (eg admin) to all messages from that shortcode That is possible.But if you want to add different user to different messages then that need to be custom coded.
Shamim HasanKeymasterPlease see https://www.shamimsplugins.com/docs/front-end-pm/shortcode/fep_shortcode_new_message_form/
suppose your admin user_nicename isadmin
then add like following
[fep_shortcode_new_message_form to="admin"]
Shamim HasanKeymasterIf you want to send email notification to sender only that can be easily done.
But if you want to send reply to sender only that needs to be custom coded.May 26, 2019 at 9:43 am in reply to: Restrict which rolls show up on front end for announcement. #25063Shamim HasanKeymasterUse like
unset( $roles['administrator'], $roles['student'], $roles['faculty'] );
Shamim HasanKeymasterYou can use shortcode https://www.shamimsplugins.com/docs/front-end-pm/shortcode/fep_shortcode_message_to/ to show a button above reply form. When someone will click that button will redirect to message page with “To” field pre-populated with sender name.
May 25, 2019 at 5:59 pm in reply to: Restrict which rolls show up on front end for announcement. #25048Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_filter_to_roles_to_create_announcement', function( $roles ){ unset( $roles['administrator'] ); //set here which role you do not want to show return $roles; });
Shamim HasanKeymasterFor subject field width you can add following code in Front End PM PRO > Settings > Appearance > Custom CSS
#fep-wrapper #message_title { width: 100%; }
For error message can you reply to my email where i deliver the job?
Shamim HasanKeymasterhttps://www.shamimsplugins.com/docs/front-end-pm/customization/remove-minlength-message-title/
For message content instead of
message_title
usemessage_content
Shamim HasanKeymasterPlease see your link. You have one link. But in that link see first part (
/home/xxxxx
). You have added ONLY THIS PART (not full link) twice. which invalided your link. Remove 1 part of this from your link.See screenshot
Attachments:You must be logged in to view attached files.Shamim HasanKeymasterYou are adding form via ajax. so no script is added. Show form model without ajax. or add
wp_enqueue_script( 'fep-shortcode-newmessage' );
in that page somewhere.Shamim HasanKeymasterPlease do following
1. Keep “From Email Address” and “SMTP Username” and this plugin “From Email” same email address.
2. Remove one home/xxxxx from home/xxxxx/home/xxxxx/public_html/…….. ( you have added 2 times home/xxxxx) in your forwarder setup ( point no 6 in https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/email-piping/)Then test and let me know.
Shamim HasanKeymasterIt seems jetpack’s Lazy Loading for images remove width height of image from gravatar..
Shamim HasanKeymasterNow you have added url wrong in your piping setup. You have added home/xxxxx/home/xxxxx/public_html/…….. (2 times ). Please correct this then test.
Also if you use any SMTP plugin that can override this plugin’s email address setup. You can check there.
-
AuthorPosts