Email replies to group messages are not being sent back out to entire group


Home Forums Front End PM PRO Email replies to group messages are not being sent back out to entire group

This topic is: Not Resolved
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #15062
    Kyle Putnam
    Participant

    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?

    #15068
    Kyle Putnam
    Participant

    Upon 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 & D

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

    #15072
    shamim
    Keymaster

    Thank you for your well explanation. I already found the issue. Next version it will be fixed.

    #15073
    Kyle Putnam
    Participant
    This reply has been marked as private.
    #15076
    shamim
    Keymaster

    Next version will be released within this month.
    If you need urgently i can give you this issue fix code tomorrow.

    #15078
    Kyle Putnam
    Participant

    Yes, if you can share the fix code, then I will try and implement that ASAP. Thanks.

    #15095
    shamim
    Keymaster

    Follow step by step
    1. class-fep-cpt.php change https://github.com/shamim2883/front-end-pm/commit/61f11cb4f402dacfb657b7293c5320e92dc3fb64

    in clas-fep-group-message.php change following
    2. change add_filter( 'fep_filter_display_participants', array($this, 'display_participants' ), 10, 3 ); to add_filter( 'fep_filter_display_participants', array($this, 'display_participants' ) );
    3. add add_filter( 'fep_filter_cpt_display_participants', array($this, 'display_participants' ) ); bellow previous line
    4. change if( ! $participants && $group = get_post_meta( $postid, '_fep_group', true ) ){ to if( $group = get_post_meta( $postid, '_fep_group', true ) ){
    5. change function display_participants( $out, $par, $participants ){ to function display_participants( $out ){
    6. change if( ! $participants && $group = get_post_meta( get_the_ID(), '_fep_group', true ) ){ to if( $group = get_post_meta( get_the_ID(), '_fep_group', true ) ){

    #15149
    Kyle Putnam
    Participant

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

    #15155
    shamim
    Keymaster

    7. in clas-fep-group-message.php after function send_email_participants( $participants, $postid ){ add

    if( 'threaded' == fep_get_message_view() ){
        $postid = fep_get_parent_id( $postid );
    }
    
    #15323
    Kyle Putnam
    Participant

    Just to confirm, if i upgrade now from my “patched” version 8.3 to 8.4.1, all this code is now implemented?

    #15348
    shamim
    Keymaster

    yes

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