Page 1 of 2

Adding Custom Registration Fields

PostPosted: September 29th, 2011, 1:52 pm
by schutzsmith
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!

Re: Adding Custom Registration Fields

PostPosted: October 1st, 2011, 4:27 am
by Cristián Lávaque
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. ;)

Re: Adding Custom Registration Fields

PostPosted: October 3rd, 2011, 1:45 pm
by schutzsmith
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

Re: Adding Custom Registration Fields

PostPosted: October 4th, 2011, 2:32 am
by Cristián Lávaque
You're welcome. :)

What do you mean by a separate admin section? How would that make that faster? I'm not sure I understand.

Re: Adding Custom Registration Fields

PostPosted: October 4th, 2011, 3:00 am
by schutzsmith
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.

Re: Adding Custom Registration Fields

PostPosted: October 4th, 2011, 11:06 pm
by Cristián Lávaque
Ah, got it.

Re: Adding Custom Registration Fields

PostPosted: October 8th, 2011, 10:08 pm
by Jason Caldwell
Thanks for your feedback. I'll see what we can do about this in a future release.

Re: Adding Custom Registration Fields

PostPosted: January 2nd, 2012, 9:15 am
by knowlesy27
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.

Re: Adding Custom Registration Fields

PostPosted: January 2nd, 2012, 9:56 pm
by Jason Caldwell
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

Re: Adding Custom Registration Fields

PostPosted: January 3rd, 2012, 5:03 am
by knowlesy27
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.

Re: Adding Custom Registration Fields

PostPosted: January 4th, 2012, 12:40 am
by Cristián Lávaque
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.

Re: Adding Custom Registration Fields

PostPosted: January 9th, 2012, 5:25 am
by knowlesy27
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?

Re: Adding Custom Registration Fields

PostPosted: January 14th, 2012, 11:19 pm
by Jason Caldwell
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/

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 11:56 am
by Tim Lund
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.

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 12:10 pm
by Jason Caldwell
Thanks for reporting this important issue.
What browser and browser version are you using please?

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 12:24 pm
by Tim Lund
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 :)

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 12:34 pm
by Jason Caldwell
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/

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 12:48 pm
by knowlesy27
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.

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 12:55 pm
by Jason Caldwell
Details received. Thank you.
~Investigating now.

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 1:34 pm
by Tim Lund
Here's what I get in my Firefox Error console

Image

Want to see the Javascript I get when I click that link?

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 2:00 pm
by Eduan
@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. :)

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 2:15 pm
by Tim Lund
@Eduan - I got the same problem with s2Member as the sole activated add in

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 2:16 pm
by Eduan
Did any results come from changing the theme to the default theme?

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 2:28 pm
by Tim Lund
No - same error

Re: Adding Custom Registration Fields

PostPosted: January 15th, 2012, 5:50 pm
by Jason Caldwell
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.