Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Please let me know following so that i can write some code for you.
1. Sender is always $admin_user_login?
2. what is $args[‘user’] ? ( user id or login ? )
3. maximum 1 attachment allowed?
4. Should i have to check mime type, size etc or it is already validated?Shamim HasanKeymasterYou can see Fep_Attachment class. upload attachment is hooked to fep_action_message_after_send action. But if $_FILES[‘fep_upload’] not exists then no attachment will be uploaded. In that case you can see FEP_Email_Pipe class and see how it is done there.
September 1, 2017 at 10:30 am in reply to: Redirection of ads mails to private internal messaging #6139Shamim HasanKeymasterYou can use https://www.shamimsplugins.com/docs/front-end-pm/shortcode/fep_shortcode_new_message_form/
This will show a form. when user send message it will use Front End PM PRO message system.Shamim HasanKeymasterYou can use
fep_send_message()
function for this. It will take care of everything. If you do not want to send emails for those imports you can usefep_enable_email_send
filter hook to restrict email send.Shamim HasanKeymasterPRO version and free version use same text domain. So which string present in both version only those string translated. others you have to translate by using pot file supplied with PRO version.
Shamim HasanKeymasterFrom Google Email you can Forward email to your email address which can forward to a script. Then From there you can forward email to script for email piping.
Currently this plugin only can process email pipe to its script (Not POP3 or IMAP)
Shamim HasanKeymasterWe can not use online translation for our PRO plugin, That is for only free version. For PRO plugin there is a pot file in languages folder of PRO plugin. Please use that to translate additional string in PRO plugin.
Shamim HasanKeymasterNo.
You can change files inside “templates” in your theme.For files inside includes there are lots of hooks to change its behavior. You can use those hooks.
Regards
ShamimShamim HasanKeymasterThank you for your nice suggestion.I am working on documentation and hope will be able to improve it.
Regards
ShamimShamim HasanKeymasterPlease 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
Shamim -
AuthorPosts