Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
January 28, 2018 at 11:45 am in reply to: How to automatically send messages to newly registered users? #10331Shamim HasanKeymasterShamim HasanKeymaster
Thank you for contacting.
Sorry to say that, it is a limitation of WordPress core. WordPress uses separate table for each sub-site. Right now i do not see any way other than manually changing code to achieve this.Shamim HasanKeymasterYou can add
.fep-form textarea {height: 200px;}
in Front End PM PRO > Settings > General > Custom CSSShamim HasanKeymasterYou can use https://www.shamimsplugins.com/contact-us/
Shamim HasanKeymasterYou can add
.fep-label{display:none;}
in Front End PM PRO > Settings > General > Custom CSSShamim HasanKeymaster1. You can pass heading to shortcode. So shortcode will be like
[fep_shortcode_new_message_form heading="Anything"]
2. You can add#message_title{display:none;}
in Front End PM PRO > Settings > General > Custom CSS
3. To change text add following code in your theme’s (child theme’s if any) functions.phpadd_filter( 'fep_form_submit_button', function( $button, $where){ if( shortcode-newmessage == $where ){ $button = '<button type="submit" class="fep-button" name="fep_action" value="'. esc_attr( $where ) .'">YOUR TEXT HERE</button>'; } return $button; }, 10, 2);
Shamim HasanKeymasterCan you give me access to your website and cpanel so that i can try?
Shamim HasanKeymasterMay be i did not understand you correctly.
Suppose user A send a message to user B in your website. B receive that message in website and in email. B reply that email. That email goes to piping email and also inserted as reply of that message and send email to user A.In this which is not happening?
Shamim HasanKeymasterYou can add your modified css in Dashboard > Front End PM PRO > Settings > General > Custom CSS
Shamim HasanKeymasterNo need additional css or jquery to to this, this can be done without any coding.
1. Go to Front End PM PRO > Settings > Recipient > Only Admins and set your admins
2. Go to Front End PM PRO > Settings > Security > Role to Role Block and block your customers for New Message (From Role->Customers, To role->All roles, Block For->New Message)Let me know.
Shamim HasanKeymasterYou are welcome.
Let me know anytime if you find any difficulty using this plugin.January 21, 2018 at 9:38 am in reply to: Muliple recipients in fep_shortcode_new_message_form shortcode #10069Shamim HasanKeymasterYou can return empty array, that will short circuit the function and halt/abort creation of message.
January 19, 2018 at 6:02 pm in reply to: Muliple recipients in fep_shortcode_new_message_form shortcode #10031Shamim HasanKeymasterYou can add following code in your theme’s (child theme’s if any) functions.php
add_filter('fep_filter_message_before_send', function( $message ){ $your_extra_user_ids = array( 1,2,3 ); //Only for parent message if( empty($message['post_parent'] ) ){ if( ! is_array( $message['message_to_id'] ) ){ $message['message_to_id'] = array( $message['message_to_id'] ); } $message['message_to_id'] = array_merge( $message['message_to_id'], $your_extra_user_ids ); } return $message; });
Shamim HasanKeymasterThere are 3 types of name in wordpress, username, nicename and display name. Display name is to display the name and this plugin show that.
Please go to user edit profile page in back-end to see the difference of the names of a user.January 18, 2018 at 11:24 pm in reply to: Muliple recipients in fep_shortcode_new_message_form shortcode #10016Shamim HasanKeymasterThis shortcode does not support multiple recipient.
You can use fep_action_message_after_send hook to set participants to other user but may encounter some caching issue with message count. Instead You can usefep_filter_message_before_send
and passmessage_to_id
as array of user ids. remember it already holds current recipient (may be as string), so add only other users. -
AuthorPosts