Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › eMember – Hiding Registration Fields
Tagged: adding registration fields, eMember, registration
- This topic has 10 replies, 5 voices, and was last updated 10 years, 8 months ago by die_maske.
June 5, 2010 at 1:07 am #1316
I see several posts discussing adding registration fields. However, I would like to do the opposite and hide at least one. The membership level. There are only free levels and the user does not need to select one. I was successful in hiding the field using css but not the label. I also don’t need the salutation line.
What file can I edit to specify better classes for css control of fields?June 5, 2010 at 2:00 am #21341
I also forgot to mention that the after login setting for the membership level doesn’t work either. I’ve tried it with both global and level, just level, and just global page redirects and all dump to sitename.com/members instead of sitename/members/your-profile
I’ve gotten around this by putting all the shortcodes on the same page (members)June 5, 2010 at 3:20 am #21342
Well, that didn’t work. If you aren’t logged in , then the login form doesn’t show if you put all the shortcodes on one page…..
I did manage to solve #1 above by adding headings around the Registration Completed in the language file.
I hate feeling like a pest, but also, it would be nice if the bookmarks and purchase history links would appear in the widget like the secure rss and support links. Just a suggestion.June 5, 2010 at 3:56 am #21343amin007Participant
Look for the following in the “eMember_registration_utils.php” file and comment out the fields that you don’t want to show:
@admin: In later versions, the “eMember_reg_form” function was moved to the “eMember_registration_utils.php”
Any member visible message/text can be customized through the language file (this way you don’t have to tweak the code to customize the messages that gets displayed to the members). This post will explain how to do this:
Did you specify the email address in the “From email address” field under the “Email Settings” tab? Also, don’t forget that you can customize your email name and address by using the following format:
Jon Doe <email@example.com>
For free membership it doesn’t send any “email verification” email.
Do you have the “Enable After login Redirection” checkbox checked in the settings menu of the eMember plugin so the automatic redirection after login can work?June 5, 2010 at 5:06 am #21344
You’re the best – just needed to find where those few things were.
I still have not solved the email issue, yes,the from email is specified as firstname.lastname@example.org. but it comes in as username@boxXXX.bluehost.com. The eStore did not have the same result.
And, again, the autoresponder is setup to email@example.com, but it is adding username@boxXXX.bluehost.com as the subscriber rather than using the member email.June 5, 2010 at 2:33 pm #21345amin007Participant
Lets tackle the issue step by step. First lets get the “From email name” and “from email address” to show up as we want it to.
In the settings menu of WP eMember plugin (the “Email settings” tab) what do you have in the “From Email Address” field? This email address is used for both the registration confirmation and complete emails.
Secondly what do you have in the “From Email Address” field of eStore’s settings menu?
It doesn’t matter which email option you are using (wordpress or the script) if you set the email correctly like the following it will use that email:
Your Name <firstname.lastname@example.org>
First check the header of the email that you receive from the scripts to make sure you are getting the correct email address as the “From Email” address.June 6, 2010 at 9:17 pm #21346
ok, step by step:
email settings tab has the format of Your Name <email@example.com> it comes in as username@boxXXX.bluehost.com – (envelope-sender <username@boxXXX.bluehost.com>)
In eStore, format is firstname.lastname@example.org and comes in as email@example.com. Use wordpress mail function is NOT checked. But the AWeber parser is based on username@boxXXX.bluehost.com as it did not work based on firstname.lastname@example.org
2 parsers are setup in aweber now, one based on username@boxXXX.bluehost.com and the other on email@example.com. Nothing from eMember gets to aweber.February 28, 2012 at 8:05 am #21347Blue OwlSpectator
Just wanted to post an update on how I hid the membership level field in the registration form, since it seems there were significant code changes in the past year.
In eMember_registration_utils.php comment out this in lines 605-608
<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> –>July 24, 2012 at 12:09 pm #21348July 25, 2012 at 1:50 am #21349adminKeymaster
We have recently added an option for this in the plugin too. I have sent you an email with the update so you can try it. After the update, you will be able to go to the eMember settings -> Pages/Forms Settings menu then check the following option:
Hide Membership Level FieldJuly 25, 2012 at 7:03 am #21350die_maskeMember
- You must be logged in to reply to this topic.