Home › Forums › Front End PM PRO › Email replies to group messages are not being sent back out to entire group
- This topic has 10 replies, 2 voices, and was last updated 6 years, 4 months ago by Shamim Hasan.
-
AuthorPosts
-
June 18, 2018 at 9:37 pm #15062Kyle PutnamParticipant
We have FEPMPRO/Settings/Recipient option “Message Type” set to “Same Message”.
When sending initial new message to group, all members receive an email with the message in it. However, if one member of the group replies to the email, the reply is processed by the piping program, and shows on the site for all members of the group, but forwards that reply back out by email to ONLY the last user of the group message, NOT the entire group as expected, based on the setting.
Ideas?
June 18, 2018 at 10:03 pm #15068Kyle PutnamParticipantUpon further testing, we are seeing that replies are only forwarded back out to group members who replied to the original message.
Example:
Group has Members A, B, C & D1. User A sends message to group.
2. System sends email to users B,C & D.
3. User B replies (Reply 1) by email. Reply 1 is emailed ONLY to A.
4. User A replies to User B by email (Reply 2). Reply 2 is emailed ONLY to user B.
5. User C then replies to original message (reply 3). Reply 3 is is emailed to users A and B, but not D.
6. User B replies to Reply 3 (Reply 4). Reply 4 is emailed back out to users A and B, but not D.
7. User D finally replies to original message (Reply 5). Reply 5 is emailed out to users A, B & C.
8. At this point, all 4 group members have engaged, now all future replies are sent out to all members.The problem is that only group members who have responded to initial message receive any other replies… All group members should receive ALL replies immediately.
When the initial message is sent, i notice under FEPMPRO\All Messages, the new message is at the top, and the “To” field says “No Participants”. Then as the users reply, this changes and the list of participants starts to grow until all members are listed.
June 18, 2018 at 11:35 pm #15072Shamim HasanKeymasterThank you for your well explanation. I already found the issue. Next version it will be fixed.
June 19, 2018 at 12:13 am #15073Kyle PutnamParticipantThis reply has been marked as private.June 19, 2018 at 12:24 am #15076Shamim HasanKeymasterNext version will be released within this month.
If you need urgently i can give you this issue fix code tomorrow.June 19, 2018 at 12:26 am #15078Kyle PutnamParticipantYes, if you can share the fix code, then I will try and implement that ASAP. Thanks.
June 19, 2018 at 2:19 pm #15095Shamim HasanKeymasterFollow step by step
1. class-fep-cpt.php change https://github.com/shamim2883/front-end-pm/commit/61f11cb4f402dacfb657b7293c5320e92dc3fb64in clas-fep-group-message.php change following
2. changeadd_filter( 'fep_filter_display_participants', array($this, 'display_participants' ), 10, 3 );
toadd_filter( 'fep_filter_display_participants', array($this, 'display_participants' ) );
3. addadd_filter( 'fep_filter_cpt_display_participants', array($this, 'display_participants' ) );
bellow previous line
4. changeif( ! $participants && $group = get_post_meta( $postid, '_fep_group', true ) ){
toif( $group = get_post_meta( $postid, '_fep_group', true ) ){
5. changefunction display_participants( $out, $par, $participants ){
tofunction display_participants( $out ){
6. changeif( ! $participants && $group = get_post_meta( get_the_ID(), '_fep_group', true ) ){
toif( $group = get_post_meta( get_the_ID(), '_fep_group', true ) ){
June 20, 2018 at 9:49 pm #15149Kyle PutnamParticipantAfter the code change, when the initial message is created, the FEPMPRO/All Messages “To” field is no longer blank, but instead shows “Group: Testing” (Testing is the name of the group in this case)
However, overall the behavior is the same. Only as users reply do they get added to the participation.
June 20, 2018 at 10:41 pm #15155Shamim HasanKeymaster7. in clas-fep-group-message.php after
function send_email_participants( $participants, $postid ){
addif( 'threaded' == fep_get_message_view() ){ $postid = fep_get_parent_id( $postid ); }
June 26, 2018 at 6:55 pm #15323Kyle PutnamParticipantJust to confirm, if i upgrade now from my “patched” version 8.3 to 8.4.1, all this code is now implemented?
June 27, 2018 at 4:35 pm #15348Shamim HasanKeymasteryes
-
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.