PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Adding Custom Registration Fields

s2Member Plugin. A Membership plugin for WordPress®.

Adding Custom Registration Fields

Postby schutzsmith » September 29th, 2011, 1:52 pm

First off, S2 is awesome! Only one thing thats really frustrating me. I've searched the forums and the documentation and can't find this.

Is there a specific section besides the cumbersome s2 Member -> General Options -> Custom Registration to add a bunch of fields? Its literally gonna take me 8+ hours if this is the only way to add them.

Essentially I have over 100+ options that members can add to their profile. Most are drop downs. Am I missing something? Is there an easier way?

I'm using Wordpress 3.2.1.

Thanks!
User avatar
schutzsmith
Registered User
Registered User
 
Posts: 4
Joined: September 29, 2011

Re: Adding Custom Registration Fields

Postby Cristián Lávaque » October 1st, 2011, 4:27 am

Yeah, that'd be what you use to add new fields to the registration/profile. If they are drop-downs, you can select the Form Field Type "Select Menu (multi-option)" and there you'd enter into Option Configuration all the options to give the user for that field.

After creating the new fields, don't forget to save the changes at the bottom of the General Options page. ;)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Adding Custom Registration Fields

Postby schutzsmith » October 3rd, 2011, 1:45 pm

Thanks Cristian! Looks like I have my work cut out for me then.

It would be great if in the future the custom fields could be added as a separate admin section so if you have more than just a few it doesn't become so time consuming.

Best,
daniel
User avatar
schutzsmith
Registered User
Registered User
 
Posts: 4
Joined: September 29, 2011

Re: Adding Custom Registration Fields

Postby Cristián Lávaque » October 4th, 2011, 2:32 am

You're welcome. :)

What do you mean by a separate admin section? How would that make that faster? I'm not sure I understand.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Adding Custom Registration Fields

Postby schutzsmith » October 4th, 2011, 3:00 am

Ive got about 75 different profile custom fields for users, and most are menus, so doing it this way is very cumbersome and ive already lost entries twice by not saving the whole form soon enough before the safari browser crashes from so many ajax calls. If its a section, and each field is saved automagically, then predicaments like this wouldnt be an issue.
User avatar
schutzsmith
Registered User
Registered User
 
Posts: 4
Joined: September 29, 2011

Re: Adding Custom Registration Fields

Postby Cristián Lávaque » October 4th, 2011, 11:06 pm

Ah, got it.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Adding Custom Registration Fields

Postby Jason Caldwell » October 8th, 2011, 10:08 pm

Thanks for your feedback. I'll see what we can do about this in a future release.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Adding Custom Registration Fields

Postby knowlesy27 » January 2nd, 2012, 9:15 am

Hi there, i am trying to add custom registration/profile fields to my members profile page but it will not save, i have tried the simple form field type = select menu(drop-down) and in the option configuration file
US|United States|default
CA|Canada
VI|Virgin Islands (U.S.)
but it wont save, when i try and add all the countires with the short name as above, can you tell me what i am doing wrong also how do you use the select option(multi-option) function as i would like to offer my members a option to select an item and when they do that it offers then another eg below

aircraft type: boeing this would give the option of model
aircraft model: 747 then this would give a option of flight hours
fight hours: 300

so on there profile page it would show
aircraft type: boeing
aircraft model: 747
flight hours: 300

finally is there a plugin i can use that will let me search my members profile page, as in an advanced search page that will allow user to search the profile for a match to there critia, cheers. i now it is a lot of questions but i am in a learning process and this is all that is stopping me from completing my site which i have to say s2member has been a hugh help. thanks again.
User avatar
knowlesy27
Registered User
Registered User
 
Posts: 10
Joined: October 2, 2011

Re: Adding Custom Registration Fields

Postby Jason Caldwell » January 2nd, 2012, 9:56 pm

US|United States|default
CA|Canada
VI|Virgin Islands (U.S.)
but it wont save, when i try and add all the countires with the short name as above
Sorry, what is happening exactly? I'm not sure what the problem is yet. Is there a particular error message? If not, please attach screenshots that may help us understand better.

select option(multi-option) function as i would like to offer my members a option to select an item and when they do that it offers then another eg below

aircraft type: boeing this would give the option of model
aircraft model: 747 then this would give a option of flight hours
fight hours: 300
A multi-option select field allows a user to choose more than one value from a select menu (i.e. it's a multi-option select menu, still just one field though). See: http://www.w3schools.com/TAGS/att_select_multiple.asp

so on there profile page it would show
aircraft type: boeing
aircraft model: 747
flight hours: 300
You will need three different fields, one for each of these values you're collecting.

finally is there a plugin i can use that will let me search my members profile page
If you're trying to build a social network, I recommend BuddyPress. See: http://buddypress.org/
s2Member is compatible with BuddyPress.

If you're just looking for a simple plugin, you might take a look at this:
http://wordpress.org/extend/plugins/members-list/

It is also possible to build one of your own using the WordPress get_users() function. See: http://codex.wordpress.org/Function_Reference/get_users
http://codex.wordpress.org/Function_Reference/get_users
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Adding Custom Registration Fields

Postby knowlesy27 » January 3rd, 2012, 5:03 am

Hi,
thanks for the reply, in relation to the question below, when i go to save the details it just times out all the time and then goes to a page that says page can not be found. it has been like that on the previous 3 new releases. if you need anymore info please let me know cheers.

US|United States|default
CA|Canada
VI|Virgin Islands (U.S.)
but it wont save, when i try and add all the countires with the short name as above

Sorry, what is happening exactly? I'm not sure what the problem is yet. Is there a particular error message? If not, please attach screenshots that may help us understand better.
User avatar
knowlesy27
Registered User
Registered User
 
Posts: 10
Joined: October 2, 2011

Re: Adding Custom Registration Fields

Postby Cristián Lávaque » January 4th, 2012, 12:40 am

Maybe you have a JavaScript problem. Watch this video and see if it helps: http://www.s2member.com/options-page-di ... ing-video/ It's not about your problem exactly, but it explains how to deal with JS conflicts.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Adding Custom Registration Fields

Postby knowlesy27 » January 9th, 2012, 5:25 am

Hi,

No that video did not help, i disabled all of my plugin and try it again. still the same, there is no errors on the page it just times out any suggestions?
User avatar
knowlesy27
Registered User
Registered User
 
Posts: 10
Joined: October 2, 2011

Re: Adding Custom Registration Fields

Postby Jason Caldwell » January 14th, 2012, 11:19 pm

Thanks for the heads up on this thread. If this problem persists, please send us a Dashboard login so we can make an attempt to reproduce this on your installation. At this point I think we're all stumped, so access to your Dashboard is probably the next best move. If you'd like to do that, please submit those details privately through this contact form for us: http://www.s2member.com/contact/
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Adding Custom Registration Fields

Postby Tim Lund » January 15th, 2012, 11:56 am

I'm also trying to add a new custom Registration/Profile fields, and, with any field type, I get no response when I hit the 'Create Registration Field' button bottom right the first time, then if I try again I get a box popping up saying that Field ID already exists. I get the same message the first time if I quit trying to add new fields, and then go back using the same Field ID, so something is getting stored in the MySQL database - just I'm not seeing anything where I want it.
User avatar
Tim Lund
Registered User
Registered User
 
Posts: 5
Joined: January 15, 2012

Re: Adding Custom Registration Fields

Postby Jason Caldwell » January 15th, 2012, 12:10 pm

Thanks for reporting this important issue.
What browser and browser version are you using please?
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Adding Custom Registration Fields

Postby Tim Lund » January 15th, 2012, 12:24 pm

I'm using Chrome 16.0.912.75 m.

But I don't think that's the issue, since I've just tried the same with an installation on another ISP (an account I control, and can see what's going on in the MySQL), and it seems fine. With another WP plug in (Duplicator) I also hit a problem with this account, but in that case I did get taken to a link which performed a server check and highlighted what the problem was. Maybe something you could do? Other than that, as a S2Membership newbie, I'm happy enough :)
User avatar
Tim Lund
Registered User
Registered User
 
Posts: 5
Joined: January 15, 2012

Re: Adding Custom Registration Fields

Postby Jason Caldwell » January 15th, 2012, 12:34 pm

I can confirm that it's not a problem in the s2Member core related to Chrome. At least, I've been unable to reproduce this on a clean installation of s2Member running in Chrome and/or other webkit-based browsers.

At this point, it sounds to me like you may have a JavaScript conflict between plugins inside your Dashboard. Please try disabling all other plugins and use the default theme for WordPress. If this problem still exists for you on a clean installation, please report back and we'll take a closer look for you.

Otherwise, I would recommend checking your browser for any JavaScript error notices, which may lead you to finding the underlying conflict that is causing this problem for s2Member's Custom Registration/Profile field generator. I've done a video covering this topic here which may assist you. http://www.s2member.com/options-page-di ... ing-video/
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Adding Custom Registration Fields

Postby knowlesy27 » January 15th, 2012, 12:48 pm

Jason Caldwell wrote:Thanks for the heads up on this thread. If this problem persists, please send us a Dashboard login so we can make an attempt to reproduce this on your installation. At this point I think we're all stumped, so access to your Dashboard is probably the next best move. If you'd like to do that, please submit those details privately through this contact form for us: http://www.s2member.com/contact/

Hi Jason, i sent on my detals through the contact form looking forward to finding out the problem cheers.
User avatar
knowlesy27
Registered User
Registered User
 
Posts: 10
Joined: October 2, 2011

Re: Adding Custom Registration Fields

Postby Jason Caldwell » January 15th, 2012, 12:55 pm

Details received. Thank you.
~Investigating now.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Adding Custom Registration Fields

Postby Tim Lund » January 15th, 2012, 1:34 pm

Here's what I get in my Firefox Error console

Image

Want to see the Javascript I get when I click that link?
User avatar
Tim Lund
Registered User
Registered User
 
Posts: 5
Joined: January 15, 2012

Re: Adding Custom Registration Fields

Postby Eduan » January 15th, 2012, 2:00 pm

@Tim Lund:
Could you try making a compatibility test with the other plugins and themes?

Just disable each plugin one by one (without including s2Member) until the problem goes away. If you can't make the changes site-wide because you already have users or somethings like that, you can use the Plugin Organizer plugin if you want in order to only disable the plugin on the page with the problem.

Also could you please try changing the theme to the default one (TwentyEleven)? And see if it works after that. Again, if you can't disable the theme in a site-wide manner you can use the Page Theme plugin in order to change the theme to the default theme in a specific page.

You should try one at a time in order to make sure you find the correct problem.

Another fast way is to deactivate all the plugins (not s2Member) and change back to the default theme (TwentyEleven), and then clear your browser's cache. See if the problem goes away, if it does, then activate each plugin one per one until the problem appears again, then the theme you were using, that should show up the criminal.

If you find the criminal, could you please tell me which plugin/theme was causing the problems? Thanks.

Please tell me how it goes and I hope this helps. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Adding Custom Registration Fields

Postby Tim Lund » January 15th, 2012, 2:15 pm

@Eduan - I got the same problem with s2Member as the sole activated add in
User avatar
Tim Lund
Registered User
Registered User
 
Posts: 5
Joined: January 15, 2012

Re: Adding Custom Registration Fields

Postby Eduan » January 15th, 2012, 2:16 pm

Did any results come from changing the theme to the default theme?
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Adding Custom Registration Fields

Postby Tim Lund » January 15th, 2012, 2:28 pm

No - same error
User avatar
Tim Lund
Registered User
Registered User
 
Posts: 5
Joined: January 15, 2012

Re: Adding Custom Registration Fields

Postby Jason Caldwell » January 15th, 2012, 5:50 pm

Tim Lund wrote:Here's what I get in my Firefox Error console

Image

Want to see the Javascript I get when I click that link?
This error would indicate to me that s2Member's JSON library for JavaScript is not loading in your Dashboard for some reason. If you right-click and view the source of the page for any s2Member administration panel, you should find reference to : /wp-content/plugins/s2member/includes/jquery/jquery.json-ps/jquery.json-ps-min.js. If this file is not loading for some reason (i.e. a corrupted installation perhaps), that would result in the error you reported.

If problems persist, please feel free to submit a Dashboard login for us privately and I'll take a look for you. If you decide to go that route, please use this private contact form.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Next

Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 2 guests