WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Additional Fields values not displaying in Admin notification emails

[Resolved] Additional Fields values not displaying in Admin notification emails

  • 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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author radiok
    Member

    @radiok

    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.

    Plugin Author radiok
    Member

    @radiok

    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.

    Anna-Karina
    Participant

    @kina60

    Thanks! Works great!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Additional Fields values not displaying in Admin notification emails’ is closed to new replies.