Just updated. Can I role back?


Home Forums Front End PM PRO Just updated. Can I role back?

This topic is: Resolved

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #26968
    Craig Tucker
    Participant

    Is there a way to role back to the previous version. The new version is not responding to my specialized functions. It is a major problem for my site now.

    #26971
    Craig Tucker
    Participant

    Taking a closer look. The function that I am using to insert a message upon submission of a Gravity Forms object apparently is not including me as a participant in the discussion now. So it posts to my patient but I am not included as a participant. This is the code that I am using for my function:

    add_action(‘user_register’,’returning_client’);
    function returning_client($user_id){
    // the wp meta_user field we are looking for
    global $wpdb;
    $current_redirect_value = get_user_meta( $user_id, ‘payment’, true );
    update_user_meta( $user_id, ‘renew’, date(“Y-m-d”, strtotime(“-1 years”)));
    if ($current_redirect_value == “returning”){
    $message = array(
    ‘message_title’ => ‘IMPORTANT! It is time to update your information.’,
    ‘message_content’ => ‘<p>Welcome Back!</p>,
    ‘message_to_id’ => $user_ID,
    );
    $override = array(
    ‘post_author’ => 1,
    );
    //Post message in Frontend PM
    $message_id = fep_send_message( $message, $override );
    }
    }

    What would I need to add given your recent updates so that I am posted as a participant in this message?

    #26974
    Shamim Hasan
    Keymaster

    Instead of post_author use mgs_author

    Let me know.

    #26980
    Craig Tucker
    Participant

    Thanks I just noticed that change in your documentation and updated. It seems to work. Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.