Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Please go to Dashboard > Front End PM PRO > Settings > General and check “Hide Directory from front end?”
Shamim HasanKeymasterAre your “Email Content Type” set as “HTML”? Are you using like
<a href="{{message_url}}">{{message_url}}</a>
?August 9, 2017 at 12:29 am in reply to: Prepopulate Username not working with Autoptimize Javascript #5727Shamim HasanKeymasterIn my test installation it is working fine with autoptimize plugin without js exclude.
After that also if you want to exclude you can try excludejs/jquery.tokeninput.js
Let me know.
Shamim HasanKeymasterSo you are using in ajax?
Please use following$args = array( 'fepaction' => 'newmessage', 'fep_to' => get_the_author_meta( 'user_nicename') ); $url = add_query_arg( $args, get_permalink( fep_page_id() ) );
Let me know.
Shamim HasanKeymasterfor security reason url is passed through esc_url but this should not break the link. Are you adding full
<a href="<?php echo fep_query_url('newmessage', array('fep_to' => get_the_author_meta( 'user_nicename') ) ); ?>">Send Message</a>
or something else? Please give me code what you are adding.Shamim HasanKeymasterYour “&” is url encoded. How are you adding your link? Where are you adding your link? Did you follow my mentioned doc?
Regards
ShamimShamim HasanKeymasterI think you have sent same screenshot. In Both screenshot it is showing “To” field is filled.
Please let me know which one not working.Also please see updated doc for more info. https://www.shamimsplugins.com/docs/front-end-pm/customization/user-name-pre-populate-new-message/
Please let me know.
Shamim HasanKeymasterwhat are you passing as “to” is url? Is it user nicename (slug)?
Can you please go to “Directory” and click “Send Message” and see if that working?
Let me know.Shamim HasanKeymasterThank you for contacting.
Can you type your user name and select? Is it filled when you type and click?Regards
ShamimShamim HasanKeymasterPlease go to Dashboard > Front End PM > Settings > Recipient. Then untick “Can send to users” and tick “Can send to admin”. Add your admin username and Display as in that field and click “Save Changes”.
I have tested with this settings in my test and it is working perfectly. Can you please give me access to your website if it does not work? Please create 2 test user account ( 1 admin and another normal user ) and give credential to me.
Full backup your website before giving me access.
Shamim HasanKeymasterIf you want to send to many users you can try Announcement. Go to Dashboard > Front End PM > All Announcements > Add Announcement. You will be able to select role(s). All users of that role(s) will get that announcement. So you will not need to fill 100 users.
Regards
ShamimShamim HasanKeymasterSeparate email is sent for users. So no CC or BCC is used in email.
Regards
ShamimShamim HasanKeymasterYou have to build custom extension for this. This can not be done in one line code or one function. You can use
fep_switch_{$switch}
action hook to show send email button in this plugin menu and then again create a form to show input field for email address, title and content. Then when post that form you can usefep_posted_action_{$action}
action hook to validate that form and send email with wp_mail function.Regards
ShamimShamim HasanKeymasterThis plugin need user id for both sender and receiver. So both need to be registered.
You can customize so that registered users can send to email address. But that need custom code.Regards
ShamimShamim HasanKeymasterThis plugin use user id. So non registered users can not use this plugin.
You can create users automatically by code for your custom post types users if you need.Regards
Shamim -
AuthorPosts