Shamim Hasan
Forum Replies Created
-
AuthorPosts
-
Shamim HasanKeymaster
Thank you for letting me know.
I have already fixed that.
Next version you will get it fixed.Shamim HasanKeymasterYour website have some breaking script which breaking your website. Please see screenshot. Most of them come from Advanced Ads related plugins. So if you deactivate those plugins and clear cache, all working correctly.
Attachments:You must be logged in to view attached files.Shamim HasanKeymasterAdd following code in your theme’s (child theme’s if any) functions.php
add_filter( 'fep_current_user_can', function( $can, $cap, $id ){ if( 'send_reply' == $cap && 123 == $id ) return false; return $can; }, 10, 3);
Change 123 with your parent message id
Shamim HasanKeymasterYou want this for only one message or all messages?
Shamim HasanKeymasterI think 2 are different places. one output for shortcode and another output for main message page. For shortcode it is already filled with page title but main message page that is not happening. You can only hide shortcode message title and not main page message title using following code instead of #message_title{display:none;}
.fep-form-shortcode-newmessage .fep-form-field-message_title{display:none;}
(works in version 6.4 or later)January 30, 2018 at 6:56 pm in reply to: How to automatically send messages to newly registered users? #10444Shamim HasanKeymasterPlease change
$time = strtotime( $post->post_date_gmt );
to$time = get_post_time( 'G', true, $post, false );
and see if it working correctly.
Let me know.Shamim HasanKeymasterAre you asking about “From Email” and “Piping Email”?
You can use same or different email address.Shamim HasanKeymasterWhere is subject line of message form?
Subject is required, it can not send message if subject line empty.Shamim HasanKeymasterCan you give me access to your website so that i can try?
Shamim HasanKeymasterAs you have PRO version, there is no need to keep FREE version.
You can easily delete via FTP or file manager if you facing difficulty deleting by wordpress back-end.Shamim HasanKeymasterWhat you want to achieve here? You want to send a message to post author when a new comment is posted in his post?
Shamim HasanKeymasterCan you please clear your website and browser cache and try.
Let me know.January 28, 2018 at 10:49 pm in reply to: How to automatically send messages to newly registered users? #10359Shamim HasanKeymasterI 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 );
-
AuthorPosts