Home › Forums › Community Forum › Unofficial Extensions/Hacks › Custom fields on Registration pages?
This topic contains 6 replies, has 2 voices. Last updated by Danny Kim 3 years, 5 months ago.
Topic Author | Topic |
---|---|
Posted: Wednesday Jul 31st, 2013 at 6:39 pm #54539 | |
|
|
i get s2member says ..but is it possible to add custom fields to the registration forms for renewing members? |
List Of Topic Replies
Author | Replies |
---|---|
Author | Replies |
Posted: Thursday Aug 1st, 2013 at 12:32 pm #54608 | |
![]() |
|
No, but what you can do is redirect the customer immediately after renewal to a page that asks for any additional information you’d like to collect (e.g. ask them to update their profile now). Please see: Dashboard -› s2Member® -› PayPal® Pro Forms -› Custom Return URLs Upon Success I would create a page and put the [s2Member-Profile /] shortcode in it; and then redirect the customer to that page after checkout/renewal; asking them to update their profile. |
|
Posted: Tuesday Aug 6th, 2013 at 2:01 pm #55301 | |
|
|
Though this should be fine…my client wants an input field (radio button option) on the checkout page.
Now, how do I connect this to the database so the users ‘radio’ selection gets saved? |
|
Posted: Tuesday Aug 6th, 2013 at 2:30 pm #55308 | |
![]() |
|
Thanks for the follow-up :-)The code to implement this custom modification would need to come from you, and it can go right into that same file (e.g. PHP tags are allowed in this file The best I can do is provide you w/ a general outline below. Getting a User’s array of custom fields.
Addiing a new custom field to this array.
Updating custom fields after array modification.
Putting it all together; it might look something like this.
See also: Knowledge Base » Hacking s2Member® Via Hooks/Filters |
|
Posted: Tuesday Aug 6th, 2013 at 2:47 pm #55311 | |
|
|
what else do i need to add/change?
EDIT |
|
Posted: Tuesday Aug 6th, 2013 at 3:17 pm #55312 | |
![]() |
|
That’s as far as I can go with custom code Danny, I’m sorry.
For clarification on this, please see: s2Member® » Support Policy » Within Scope @Danny Kim I noticed that you’re running s2Member® Pro Forms. Do you have more than one account here at s2Member.com? The account you’ve written in on is listed as a Free Subscriber and not as a paying customer that owns a copy of s2Member® Pro. If you have a paid account, it is best to post under that account please. |
|
Posted: Tuesday Aug 6th, 2013 at 3:18 pm #55313 | |
|
|
The Pro account is under my clients name that I do not have access to.. |
This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.