Hello!
My client needs to get new users data before accept their registration. So I need to add user profile fields to the registration form. I've located registration code in system_customlogins.php. How do I add these fields?
Thanks!!!!
Add user profile fields to the registration form
The content and issues discussed here maybe out of date or inaccurate.
Check you are running the latest version of your PremiumPress theme then look for a more recent forum post or submit a support ticket.
-
Posted 1 year ago
-
Posted 1 year ago
Search this code.
<div class="full clearfix border_t box">
<p class="f_half left">
<label for="name"><?php echo SPEC($GLOBALS['_LANG']['_username']); ?>:</label>
<input type="text" name="user_login" value="<?php echo esc_attr(stripslashes($user_login)); ?>" id="user_login" class="short" />
</p>
<p class="f_half left">
<label for="email"><?php echo SPEC($GLOBALS['_LANG']['_email']); ?>:</label>
<input type="text" name="user_email" id="user_email" value="<?php echo esc_attr(stripslashes($user_email)); ?>" class="short" />
</p><p>You can add fields to </p>
</div>
Bill.
-
Posted 1 year ago
Hi Bill!
Ok, I see this code. My question is: user name var is $user_login, user email var is $user_email...
Do you know what are the rest of the vars for profile registration fields, or where can I find them? Indeed my client only needs name, company, and phone number.Thanks!!!!!

