WordPress.org

Ready to get started?Download WordPress

Forums

Register Plus Redux
[resolved] Additional Fields values not displaying in Admin notification emails (4 posts)

  1. SGDLucas
    Member
    Posted 1 year ago #

    Hello,

    The issue I'm experiencing is that the "Admin Notification" emails do not contain the values of the "Additional Fields". Instead, the admin notification emails contain only the variable.

    My configuration is as follows:

    - I'm using the latest version of WP and your plug-in, Register Plus Redux.

    - I've created two additional fields, both textboxes --- "Phone" and "Address". I used the default "Database Key" for both ("rpr_address" and "rpr_phone").

    - I've added these variables to the admin. notification email message in the plugin settings as follows:

    New user registered on your site %blogname%

    Username: %user_login%
    E-mail: %user_email%
    Address: %rpr_address%
    Phone: %rpr_phone%

    The admin notification email shows the username and email values, HOWEVER, the email shows only the address and phone variables, and not the actual values.

    Here is an example of the admin notification email that I receive:

    New user registered on your site Test Site

    Username: TestUsername
    E-mail: Test@Email.com
    Address: %rpr_address%
    Phone: %rpr_phone%

    I appreciate any help that may be provided.

    http://wordpress.org/extend/plugins/register-plus-redux/

  2. radiok
    Member
    Plugin Author

    Posted 1 year ago #

    Here is the correct format of the message:

    New user registered on your site %blogname%

    Username: %user_login%
    E-mail: %user_email%
    Address: %=rpr_address%
    Phone: %=rpr_phone%

    %=keyword% known as meta keyword is a new, literally undocumented feature I introduced a couple days ago. I will be revising the documentation in the Settings and on the readme shortly.

  3. radiok
    Member
    Plugin Author

    Posted 1 year ago #

    The difference between the %keywords% and %=keywords% is that meta keyword do a meta value look up. The static keywords use logic. I will be converting more statics to dynamics in the future. My goal is to isolate site keywords, like %blogname% and session keywords, like %http_user_agent% from user keywords. Which makes some keywords, like $user_login%, illogical. I'm just not sure, I'm a little all over the place right now trying to make sense of what is perfect. Either way, meta keywords will be supported, even if I write code to change them all to %keyword% in the future.

  4. kina60
    Member
    Posted 1 year ago #

    Thanks! Works great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic