Custom Form Fields in Notification email

This topic contains 3 reply and 2 voices, and was last updated by towhid 9 years, 1 month ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
March 16, 2015 at 8:41 pm 39254
towhid 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'!
March 19, 2015 at 11:07 am 39434
towhid towhid

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 🙂

March 19, 2015 at 3:56 pm 39502
Alexander Alexander

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.

March 22, 2015 at 1:12 pm 39735
towhid towhid

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 3 Posts - 1 through 3 (of 3 total)