- This topic has 5 replies, 3 voices, and was last updated 12 years, 9 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › Just email in registration form
Tagged: auto password
Hi, great plugin! I would need the registration form to display only email. No oter items. The user name can be internally filled in with the email as well. How can I do it?
Thanks, Pavel.
The registration form needs a minimum of the following 3 fields that are required by WordPress for user registration:
“Username”
“Password”
“Email”
You can instruct the customer to use the email address as the username too on the registration page.
Good, how would I remove the membership level from the form?
A member needs to fall into a membership level. so you can’t delete it but its not an input that you have to take from the user. What you do is you hide it. Make this field a hidden input field. Look in the “eMember_misc_functions.php” (check the “eMember_reg_form” function).
I have commented out the following lines and it works:
<!–
<tr>
<td><label for=”member_level” class=”eMember_label”> <?php echo EMEMBER_MEMBERSHIP_LEVEL;?>*: </label></td>
<td><input type=”text” id=”member_level” name=”member_level” size=”20″ value=”<?php echo $_POST;?>” class=”eMember_text_input eMember_required” readonly /></td>
</tr>
–>
Just wanted to post an update on how I got this done, since it seems there were significant code changes in the past year.
In eMember_registration_utils.php comment out this in lines 605-608
<!– <tr>
<td><label for=”wp_emember_member_level” class=”eMember_label”> <?php echo EMEMBER_MEMBERSHIP_LEVEL;?>: </label></td>
<td><input type=”text” id=”wp_emember_member_level” name=”wp_emember_member_level” size=”20″ value=”<?php echo $_POST;?>” class=”validate[required] eMember_text_input” readonly /></td>
</tr> –>