Home › Forums › Front End PM PRO › Instructions for User to User messaging
- This topic has 20 replies, 2 voices, and was last updated 7 years, 3 months ago by Abbey Links.
-
AuthorPosts
-
June 4, 2018 at 8:19 am #14666Abbey LinksParticipant
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.
June 4, 2018 at 4:41 pm #14671Shamim HasanKeymaster1. 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.June 4, 2018 at 5:55 pm #14673Abbey LinksParticipantThank you. I will review the links.
Re #3: Just for tracking purpose of the admin.June 4, 2018 at 6:13 pm #14676Shamim HasanKeymasterIf 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.June 5, 2018 at 12:28 am #14719Abbey LinksParticipantThank you. Please provide me with the code and the instructions to add ID to the message subject.
June 5, 2018 at 11:33 am #14729Shamim HasanKeymasteradd 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);June 6, 2018 at 8:23 pm #14821Abbey LinksParticipantThank you.
June 7, 2018 at 8:01 am #14866Abbey LinksParticipantThis reply has been marked as private.June 8, 2018 at 12:17 am #14886Shamim HasanKeymasterJune 20, 2018 at 9:20 am #15119Abbey LinksParticipantThis reply has been marked as private.June 20, 2018 at 12:39 pm #15130Shamim HasanKeymaster“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.
June 21, 2018 at 1:58 am #15158Abbey LinksParticipantThis reply has been marked as private.June 21, 2018 at 10:25 am #15171Shamim HasanKeymasterYou 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 usewpcf7_before_send_mailhook 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/
June 22, 2018 at 5:45 am #15207Abbey LinksParticipantThis reply has been marked as private.June 22, 2018 at 8:59 am #15210Shamim HasanKeymasterPlease 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).
-
AuthorPosts
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.