Support » Plugin: BuddyPress Registration Options » [user_email] not replaced in email content

  • Resolved atwoodech

    (@atwoodech)


    The General Settings (/wp-admin/admin.php?page=bp_registration_options) suggest that “[user_email]” can be used in email templates, but it is not being replaced with a dynamic value. Note that [username] does work.

    In, bp-registration-options/includes/admin.php, it looks like the replace for user_email has not been implemented.

    
    $mailme = array(
    					'user_email' => $user->data->user_email,
    					'user_subject' => $subject,
    					'user_message' => str_replace( '[username]', $user->data->user_login, $message ),
    				);
    
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    Hmm, good catch, and odd that I never caught that before.

    Will try and get a bugfix out for this soon.

    Plugin Author Michael Beckwith

    (@tw2113)

    For what it’s worth, we do do that for [user_email] in two places in the includes/core.php file

    line 103 and line 793.

    The spot in question for you is the emails that go out during the processing of approved/denied status.

    Plugin Author Michael Beckwith

    (@tw2113)

    Please download and try out version 4.3.3 which has this detail added. My apologies for the delay.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.