Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › How can I add more fields to registration/profile forms?
Tagged: eMember, estore, profile form, profile image, registration form
- This topic has 8 replies, 3 voices, and was last updated 14 years, 4 months ago by acekin.
-
AuthorPosts
-
July 5, 2010 at 8:05 pm #1458acekinParticipant
Would it be possible to add a few more fields to the member profile form and make the registration form to be the same? I would like to show their current membership level, when they started it and when will it end. I would like to put that from above the purchase membership options as shown in the picture below:
[http://keptlight.com/tipstricks/buy%20test%20product.png]
Ideally, the membership renewal or start page will look like that with the form being empty unless they log in (an ajax login there would be really cool) and will populate with their current information as they login. If it shows as free at the beginning, it would change to the membership level they purchase after payment. This will allow me to use a single page for registration, renewal, profile edit, new membership purchase. How cool is that?
I will settle for just being able to show the fields I mentioned above in the profile, and the entire form like that for the initial registration rather than the very short form.
One last question, there is a profile image implied, even an “Upload” box exists but there is no functionality there. Am I missing a step to make it possible?
July 10, 2010 at 2:14 am #22242amin007Participant“Would it be possible to add a few more fields to the member profile form” – yes it’s possible but it requires code modification so I don’t really suggest it unless you absolutely need it.
“I would like to show their current membership level, when they started it and when will it end” – You simply have to place the login form usign the following shortcode on that page and it will display all those information when the member is logged in:
[wp_eMember_login_form:end]
You won’t be able to have one form for registration and profile edit as they do different work internally so keep the registration or the edit profile page different.
So to sum it up I would have two pages. The one you currently have can have the registration form the membership purchase buttons. I would then create another page and place the login form and the edit profile form.
The upload button lets the member upload a profile picture. Is this not happening in your installation?
July 10, 2010 at 1:04 pm #22243acekinParticipantThanks Amin for getting back to me, better late than never. First, the “Upload” does not even appear as a button, it is a gray rectangle with “Upload” on it. There is no clickable part.
I understand your explanations and plan to implement it as follows, please correct me or tell me that I am on the right track:
1. Buying membership first does not create login ID and password, so the user must first join and create login credentials
2. Therefore, I will place the membership purchase page visible to logged in users to make sure they have login credentials
3. Then when they purchase membership it simply changes their membership status
Is this a reasonable process?
Also, if I want all the memberships to end at a certain date, say June 1, 2011 is it possible to affect that in the eMember?
When the membership of a user expires, they can purchase it again without registering I am presuming, is this correct?
Thanks
July 11, 2010 at 2:03 am #22244amin007ParticipantYes, that is a very reasonable process. To take it one step further you can also check the “Only Logged In Members Can Checkout” option from the “AddOn Settings” menu of eStore. This will make it so the visitor can’t checkout unless he/she is logged into eMember as a member of the site.
“if I want all the memberships to end at a certain date, say June 1, 2011 is it possible” – I don’t know how to handle this one. usually membership are for a certain period or an ongoing thing.
“When the membership of a user expires, they can purchase it again without registering I am presuming, is this correct?” – Yep… they just need to log in using their existing credentials and repurchase the membership they want and the account will get activated to the recently purchased membership level.
July 11, 2010 at 5:41 pm #22245acekinParticipantThanks Amin, I am proceeding as planned and will look at the option you mention in “AddOn Settings”. However, I am running into another problem, I am sure a minor one. Here’s what I have done:
1. Enabled “More support” to present text before the More tag
2. Added general protection to “Join or Renew” page
3. Then I allowed members to access that page
Two issues. First, no text shows up even that before the WordPress “More”. I really would like to present some text there to give them some direction. Second, is there a way to identify “any member” without allowing each member type access to the content?
I think I am close to finalizing the system, thank you for your help. We can live with a running membership period for a given period, but you may want to add an option to control the expiration date as many professional or hobby organizations run their membership for fixed periods. This will actually increase the value of the software and add more potential users to your market.
July 12, 2010 at 1:23 am #22246amin007ParticipantNo text shows up even that before the WordPress “More” – Unfortunately WordPress do not allow more tag support for pages (more tag works for posts). This is something you will have to take up with WordPress
http://codex.wordpress.org/Customizing_the_Read_More#How_to_use_Read_More_in_Pages
But it’s not the end of the world. You can still achieve the same result using section protection of eMember. So make your page normally then use the section protection technique to protect the content that is after the more tag. This article will explain the rest:
http://www.tipsandtricks-hq.com/wordpress-membership/how-to-protect-a-section-of-a-post-or-page-88
July 12, 2010 at 1:59 am #22247acekinParticipantAh, this is very nice. Thank you.
If we can resolve the issue of member profile image upload not working I will not bug your for a while, promise!
In that page, I see the place holder generic image and a gray rectangle with “Upload” in it. But there is no button functionality. I looked at the HTML source as rendered in the browser, there is nothing besides a div with a class. Inside that is the text “Upload”.
July 12, 2010 at 11:03 am #22248IvyMemberHi, We will need to take a closer look at your site. I will send you a site access request via email. Please let me know if you do not receive this email.
July 12, 2010 at 8:46 pm #22249acekinParticipantI got your mail and filled out the site access request form.
-
AuthorPosts
- You must be logged in to reply to this topic.