Shamim Hasan

Forum Replies Created

Viewing 15 posts - 2,206 through 2,220 (of 2,484 total)
  • Author
    Posts
  • in reply to: Insert Message from another application #6163
    Shamim Hasan
    Keymaster

    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?

    in reply to: Insert Message from another application #6147
    Shamim Hasan
    Keymaster

    You 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.

    in reply to: Redirection of ads mails to private internal messaging #6139
    Shamim Hasan
    Keymaster

    You 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.

    in reply to: Insert Message from another application #6097
    Shamim Hasan
    Keymaster

    You 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 use fep_enable_email_send filter hook to restrict email send.

    in reply to: Untranslateable text #6014
    Shamim Hasan
    Keymaster

    PRO 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.

    in reply to: Email piping and Google Apps hosted email #6008
    Shamim Hasan
    Keymaster

    From 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)

    in reply to: Untranslateable text #6005
    Shamim Hasan
    Keymaster

    We 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.

    in reply to: Customization #5947
    Shamim Hasan
    Keymaster

    No.
    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
    Shamim

    in reply to: Need to Hide (or Remove) Directory Link #5901
    Shamim Hasan
    Keymaster

    Thank you for your nice suggestion.I am working on documentation and hope will be able to improve it.

    Regards
    Shamim

    in reply to: Need to Hide (or Remove) Directory Link #5893
    Shamim Hasan
    Keymaster

    Please go to Dashboard > Front End PM PRO > Settings > General and check “Hide Directory from front end?”

    in reply to: {{message_url}} not working in email notification #5803
    Shamim Hasan
    Keymaster

    Are your “Email Content Type” set as “HTML”? Are you using like <a href="{{message_url}}">{{message_url}}</a>?

    Shamim Hasan
    Keymaster

    In my test installation it is working fine with autoptimize plugin without js exclude.
    After that also if you want to exclude you can try exclude js/jquery.tokeninput.js

    Let me know.

    in reply to: Email 'to' field not populating #5698
    Shamim Hasan
    Keymaster

    So 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.

    in reply to: Email 'to' field not populating #5692
    Shamim Hasan
    Keymaster

    for 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.

    in reply to: Email 'to' field not populating #5686
    Shamim Hasan
    Keymaster

    Your “&” is url encoded. How are you adding your link? Where are you adding your link? Did you follow my mentioned doc?

    Regards
    Shamim

Viewing 15 posts - 2,206 through 2,220 (of 2,484 total)