Support » Plugin: Better Notifications for WordPress » First_name last_name not in new user notification

  • Resolved designerswork

    (@designerswork)


    Hi there,
    I’ve added the first and lastname to my registration (through update_meta with add_action( ‘register_form’)). The admin gets the new user notification(for admin) But no first or lastname here, but in admin they are there. My guess is that the meta updates after the mail has been send. Are there any known issues and how to resolve? ([user_email] is displayed)

    [user_firstname]
    [user_lastname]

    [user_email]

    thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author bnfw

    (@voltronik)

    Hi @designerswork,
    Thanks for your message.

    Yes, that’s correct. Most post meta changes (or data added to custom fields on a user’s profile) occur after the initial user has been created and the point at which the notification is sent.

    You should be able to disable the New User Registration – For User notification and use the Post-registration Email instead to do this instead though.

    Let me know how you get on.

    Thanks,
    Jack

    Plugin Author bnfw

    (@voltronik)

    Closing due to inactivity. If you need further help with this, please feel free to re-open this thread.

    Gege_hun

    (@gege_hun)

    Hello,
    i have exact the same problem with “New User Registration – For Admin”.
    I don’t know if a solution has been found for the original asker, but in my case the “Post-registration Email” cannot solve the issue, because i need to send this notification to another recipient, than the new user.
    And i cannot add a CC or a different recipient for this type of notification.

    So is there any other workaround to send new user’s firstname and lastname data to admin or to a customly selected specific user?

    Thank you for your reply in advance!

    Plugin Author bnfw

    (@voltronik)

    Hi @gege_hun,
    You should be able to use the user shortcodes in the New User Registration – For Admin notification, as per the Shortcodes documentation page.

    Is this what you were looking for?

    Gege_hun

    (@gege_hun)

    Hello bnfw,
    first of all thank you for your time to reply.

    I tried to use the shortcodes given in documentation page, but the value given back by the shortcode is always the following:

    Shortcodes:
    – “[email_user_firstname]” =>
    shows my account’s firstname, not the current new registrant’s firstname

    (i’m in the SendTo field.)
    – “[email_user_lastname]” => shows my account’s lastname, not the current new registrant’s lastname (i’m in the SendTo field.)
    – “[email_user_display_name]” => shows user’s username
    – “[email_user_nicename]” => shows user’s username

    also tried (from Author Shortcodes, but logically it’s not the proper choose…just a try):

    – “[user_firstname]” => remains empty, shows nothing
    – “[user_lastname]” => remains empty, shows nothing

    +Info
    I use Ultimate Meber plugin for user registration form and for user profiles…

    Thank you for any idea!

    Br.

    • This reply was modified 1 year ago by  Gege_hun. Reason: stylistic improvement
    Plugin Author bnfw

    (@voltronik)

    Hi @gege_hun,
    Does it work correctly if you create a new user manually through the WP admin?

    Gege_hun

    (@gege_hun)

    Hello,
    thanks for the suggestion.
    i’ll make a test and give you a feedback.
    Br.

    Gege_hun

    (@gege_hun)

    Hello,
    i’ve made some tests.
    Currently i’m not understanding the situation.
    If i make a new registration through admin backend, i don’t receive the new user admin notification. The system sends out the new user notification to the new registrant test user’s email address, but to the admin email only a default wordpress notification arrives with the new user’ username and 2 links about login and password change.

    Plugin Author bnfw

    (@voltronik)

    Hi @gege_hun,
    Does BNFW work if you create a new user from the WP Admin when Ultimate Member is disabled?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘First_name last_name not in new user notification’ is closed to new replies.