Instructions for User to User messaging


Home Forums Front End PM PRO Instructions for User to User messaging

This topic is: Resolved
Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #14666
    Abbey Links
    Participant

    Hello,

    I upgraded to Front End PM PRO. Can you direct me to the settings for the following:

    1. The ability for registered users to send messages to other registered users on the same site?
    2. Admin with the ability to see all messages sent by users to users.
    3. Is it possible for each messaging to generate a message ID in the subject?

    Any help would be appreciated.

    Thanks.

    #14671
    shamim
    Keymaster

    1. Please see https://www.shamimsplugins.com/docs/front-end-pm/getting-started/basic-front-end-walkthrough/
    2. Please go to Dashboard > Front End PM PRO > All Messages
    3. May i know the purpose of message id in subject? You can enable email piping (https://www.shamimsplugins.com/docs/front-end-pm-pro/getting-started-2/email-piping/) which will add a unique id in subject in email.

    #14673
    Abbey Links
    Participant

    Thank you. I will review the links.
    Re #3: Just for tracking purpose of the admin.

    #14676
    shamim
    Keymaster

    If you go to Dashboard > Front End PM PRO > All Messages then take cursor to message title you can see message id.
    If you do not need explicitly add message id to the subject, i prefer not to add id to the subject. We can not get id before message save. So we have to add id after message save that will save every message twice which will stress your server.
    After that also if you want to add id to message subject then let me know. I will give you code to achieve that.

    #14719
    Abbey Links
    Participant

    Thank you. Please provide me with the code and the instructions to add ID to the message subject.

    #14729
    shamim
    Keymaster

    add following code in your theme’s (child theme’s if any) functions.php

    add_action( 'fep_action_message_after_send', function( $message_id, $message, $inserted_message ){
    	$post = array(
    		'ID'		=> $message_id,
    		'post_title'	=> $inserted_message->post_title . ' #' . $message_id,
    	);
    	wp_update_post( $post );
    }, 10, 3);
    
    #14821
    Abbey Links
    Participant

    Thank you.

    #14866
    Abbey Links
    Participant
    This reply has been marked as private.
    #14886
    shamim
    Keymaster
    #15119
    Abbey Links
    Participant
    This reply has been marked as private.
    #15130
    shamim
    Keymaster

    “FEP Contact Form” is not maintained. Do not use that plugin.

    You can use [fep_shortcode_new_message_form to="ADMIN_NICENAME"] (change ADMIN_NICENAME) shortcode in any page/post. It will show a form. filling that will send message directly to that admin. You can also use same shortcode to send message to user (change ADMIN_NICENAME according, dynamically also you can fill this, see https://www.shamimsplugins.com/docs/front-end-pm/shortcode/fep_shortcode_new_message_form/ for details).

    As your screenshots, you are using custom form. If you satisfy with above shortcode form, that will be good otherwise you have to make custom changes.

    #15158
    Abbey Links
    Participant
    This reply has been marked as private.
    #15171
    shamim
    Keymaster

    You can create a form with “Gravity forms” or “Contact Form 7” and use their custom submit hook to send a message using that data.
    Eg. if you use Contact Form 7, you can use wpcf7_before_send_mail hook to create a message using that data.
    It need custom coding.

    You can hire me if you need me to code for you. Use https://www.shamimsplugins.com/hire/

    #15207
    Abbey Links
    Participant
    This reply has been marked as private.
    #15210
    shamim
    Keymaster

    Please use Contact Form 7. Because Gravity Form will create CPT which is unnecessary in our case. Also it is hard to map field with submitted field value (i do not have experience with gravity form for this type of submission).

Viewing 15 posts - 1 through 15 (of 21 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.