Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
January 28, 2018 at 10:49 pm in reply to: How to automatically send messages to newly registered users? #10359Shamim HasanKeymaster
I tried in my test installation with shanghai timezone setup and it shows correctly.
Please again check your timezone setup, if require change to UTC and save, again shanghai and save.
Then send a message, and check front end as well as back-end to check time of that message.
Go to Dashboard > Front End PM PRO > All Messages to check that message time in back-end.
If both places show wrong time, Then deactivate all plugins and change theme to default theme and send message and check time.Let me know.
January 28, 2018 at 10:15 pm in reply to: How to automatically send messages to newly registered users? #10353Shamim HasanKeymasterPlease go to Dashboard > Settings > General and check your timezone setup.
January 28, 2018 at 10:06 pm in reply to: How to automatically send messages to newly registered users? #10347Shamim HasanKeymasterAs you want to send message to users when post is published, you can use following code
function fep_cus_user_post_send_messaage($post){ $author = get_userdata($post->post_author); $author_id = $author->ID; $post_title = $post->post_title; $post_link = get_permalink($post); if ($post->post_type !== 'post') return; if ( ! function_exists( 'fep_send_message' ) ) return; // Prepare message data $message = array( 'message_title' => 'title', //change with message title 'message_content' => 'xxx', //change with message content 'message_to_id' => $author_id ); $override = array( 'post_author' => 1, //change with message sender id ); // Send message fep_send_message( $message, $override ); } add_action( 'pending_to_publish', 'fep_cus_user_post_send_messaage', 10, 1 );
January 28, 2018 at 11:45 am in reply to: How to automatically send messages to newly registered users? #10331Shamim HasanKeymasterShamim HasanKeymasterThank 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.
-
AuthorPosts