Shamim Hasan

Forum Replies Created

Viewing 15 posts - 1,981 through 1,995 (of 2,457 total)
  • Author
    Posts
  • in reply to: Attachments when sending to multiple recipients #10530
    Shamim Hasan
    Keymaster

    Thank you for letting me know.
    I have already fixed that.
    Next version you will get it fixed.

    in reply to: dismiss new message notification #10525
    Shamim Hasan
    Keymaster

    Your 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.
    in reply to: Making message read-only #10503
    Shamim Hasan
    Keymaster

    Add 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

    in reply to: Making message read-only #10499
    Shamim Hasan
    Keymaster

    You want this for only one message or all messages?

    in reply to: Send message button not working on new message #10478
    Shamim Hasan
    Keymaster

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

    Shamim Hasan
    Keymaster

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

    in reply to: Email is not sending #10432
    Shamim Hasan
    Keymaster

    Are you asking about “From Email” and “Piping Email”?
    You can use same or different email address.

    in reply to: Send message button not working on new message #10429
    Shamim Hasan
    Keymaster

    Where is subject line of message form?
    Subject is required, it can not send message if subject line empty.

    in reply to: dismiss new message notification #10426
    Shamim Hasan
    Keymaster

    Can you give me access to your website so that i can try?

    in reply to: Can't Delete free plugin #10405
    Shamim Hasan
    Keymaster

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

    in reply to: Reply to the message after the comment to the user #10402
    Shamim Hasan
    Keymaster

    What you want to achieve here? You want to send a message to post author when a new comment is posted in his post?

    in reply to: dismiss new message notification #10388
    Shamim Hasan
    Keymaster

    Can you please clear your website and browser cache and try.
    Let me know.

    Shamim Hasan
    Keymaster

    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.

    Shamim Hasan
    Keymaster

    Please go to Dashboard > Settings > General and check your timezone setup.

    Shamim Hasan
    Keymaster

    As 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 );
    
Viewing 15 posts - 1,981 through 1,995 (of 2,457 total)