Home Forums Plugin Support WP User Frontend Pro Custom Form Fields in Notification email

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  towhid 3 years, 11 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39254

    Alexander
    Member
    Post count: 5

    Hi there – I purchased this excellent plug-in to satisfy a very particular set of requirements, and this far it's dealt with almost all of them. So thanks for that!

    I still have a couple of specific issues to settle, however. This is the first, so I'm afraid I'll be back:

    I'm setting up a site to enable guest users to post and upload an image, and some details. The admin receives notification of the posting, and the guest doesn't, although they'll be registered automatically as users. This is all working very well so far.

    However, the system generates an automatic username for the guest poster (as mentioned here) when they are registered automatically – this seems to be the part of the email address before the ‘@' (so jim@anything.com will be registered with the username ‘Jim'). I have a custom field in my form with the Meta Key ‘first_name', and I'd like them to be registered with this (the value of the ‘first_name' custom field) as the user name instead. How can this be achieved?

    I have a couple more questions relating to this, custom fields, email and meta keys in general – but I'll keep scouring the forums for answers to those while you're considering this one!

    Thanks for your help

    Alexander

    PS I wish I could edit the unrepresentative title of this post, which slipped over from elsewhere. It should read ‘Automatic Registration Username derived from Custom Field'!

    #39434

    towhid
    Participant
    Post count: 4505

    Hello Alexander,

    Please allow me some time to reproduce all those issue and find a best answer for you. I will be come back to you as early as possible.

    Thank You ๐Ÿ™‚

    #39502

    Alexander
    Member
    Post count: 5

    Great – looking forward to seeing what you come up with. Being able to use the ‘name' field to generate the automatic account username (rather than the portion of the email address before the @) would be a big help.

    #39735

    towhid
    Participant
    Post count: 4505

    Hello Alexander,

    I am really sorry to say that we do not have this kind of feature right now. But you can customize by yourself or you can hire a developer.

    Please open wp-user-frontend/class/frontend-form-post.php and go to line no 160. You can customize in that portion of code where Guest Stuffs are written.

    If you have any other query you can ask here. I am here to help you.

    Thank You ๐Ÿ™‚

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Custom Form Fields in Notification email’ is closed to new replies.