Page 1 of 1

Custom Field - Membership Level 0 Registration Form

PostPosted: May 18th, 2011, 4:20 pm
by mekipstrob
When creating a custom field for membership level 0 registration form it does not show up as a question at the register page (wp-login.php?action=register). It does show up if I type 'all' but not when I type in '0' for the Applicable Membership Levels.

Any suggestions on how I can get this working?

Thank you for the help. Love this plugin!

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: May 18th, 2011, 5:43 pm
by Cristián Lávaque
Hmm... That's odd, since free subscriber is Level 0. Why don't you leave it at "all" then? Do you want this field removed from Level 1s?

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: May 18th, 2011, 7:36 pm
by mekipstrob
yep, it is field only level 0 members should have access too. Level 1 and higher should not have access.

I was thinking about making it not a required field and hiding it with css... but would prefer a solution in php. I tested it on a fresh WP install with the latest version of the plugin. No other plugins installed. Has anyone else tested this?

If anyone knows the location in the source file that creates this function... I could easily modify the source file if I knew where it was located. Any suggestions?

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: May 18th, 2011, 7:40 pm
by mekipstrob
I also tested in a different server, choosing anything but 'all' does not work for membership level 0.

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: May 18th, 2011, 7:55 pm
by mekipstrob
i think I found it in the custom_fields_configured_at_level() function in custom-reg-fields.inc.php line 166 ... but I do not see what is wrong with it.

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: May 19th, 2011, 12:38 am
by Jason Caldwell
Thanks for reporting this.
Were you logged out when you tested this?
~ If you're logged in, s2Member will detect your Level, which is Level 4. Administrators have Level 4 access, with respect to s2Member. Try logging out, then reload your Registration Form. Should work. Please report back though, I'd like to know if there is something we're missing.

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: May 19th, 2011, 8:00 am
by mekipstrob
I can't believe I overlooked that! I was still logged in. Haha.

Your plugin is amazing. Thank you!

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: May 19th, 2011, 8:14 am
by mekipstrob
I think I was kind of thrown off because the login form was viewable when I was logged in.

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: May 19th, 2011, 11:05 am
by Cristián Lávaque
mekipstrob wrote:I think I was kind of thrown off because the login form was viewable when I was logged in.


Yeah, I can perfectly understand that, it's a silly behaviour of WordPress. :roll:

Your plugin is amazing. Thank you!


Thanks for the kudos!

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: July 20th, 2011, 1:04 pm
by bhgcreative
I am having issues with the Applicable Membership Levels of the s2member pro plugin and found this thread. I hope that replying is easier than starting a whole new thread.

I am trying to restrict certain field to the upper levels of registration. When I remove all or the level 0 from the comma seperated values entry of the Applicable Membership Levels I cannot see or edit the field even though I have 1,2,3,4 designated in the field.

Any ideas? I have tried deactivating plugins that may have been conflicting and have searched your forums and other forums for any and all ideas but am stuck.

I really need this function to work so that my free members do not see certain fields only reserved for paying members to fill out.

Thanks for any suggestions and let me know if you have any questions.

Brian
BHG Creative

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: July 20th, 2011, 1:08 pm
by bhgcreative
I should also mention that I am using the theme-my-profile plugin. Could this not be correctly pulling the permissions from the s2member fields? I shall do some quick testing a report back.

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: July 20th, 2011, 1:11 pm
by bhgcreative
Not the issue. Put in the shortcode for the s2member profile modification and my test field that has membership levels set to 1,2,3,4 does not show up for any levels above the free 0 level. The only way to get it to appear is to set the settings to all or to include the 0 level with the rest.

Thoughts?

Brian

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: July 20th, 2011, 1:53 pm
by Jason Caldwell
Hi Brian. Thanks for the follow-up.

I've been unable to reproduce this bug in the latest version of s2Member v110710.
How many Membership Levels are you running s2Member with please; four, or more?
Please try clearing your cookies, cache, and logging out. Then test again just to be sure please.

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: July 20th, 2011, 2:07 pm
by bhgcreative
I am running just the default levels for now. Reset my safari browser and logged in as my test user on a separate computer. Custom fields still only appear if set to 0. I remember things working up until the latest upgrade....had to set all custom fields to 0,1,2,3,4 to get contributor level to display fields.

Thanks for the quick response and hope to find a solution soon. I'm loving the plugin and so glad that you all provide such awesome support.

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: July 20th, 2011, 2:26 pm
by Jason Caldwell
Thanks for the follow-up.

Have you done anything special with these Membership Levels? For instance, have you modified them in any way with the User Role Editor plugin, or something similar?

If this problem continues, please send me a Dashboard login through this private contact form and I'll take a quick look for you. http://www.s2member.com/contact/

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: July 20th, 2011, 2:49 pm
by bhgcreative
I had an old plugin that would let me create membership levels and assign them to the level_0 etc....but have since deactivated and no longer use it. Only installed User Role Editor as a test and haven't used it yet. Shall zap you a login so you can take a look.

Thanks again for the superb support and be chatting with you soon.

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: July 22nd, 2011, 6:12 pm
by Jason Caldwell
bhgcreative wrote:I had an old plugin that would let me create membership levels and assign them to the level_0 etc....but have since deactivated and no longer use it. Only installed User Role Editor as a test and haven't used it yet. Shall zap you a login so you can take a look.

Thanks again for the superb support and be chatting with you soon.

Thanks for your patience. I just took a quick look at your installation. Yes, it appears that you have several plugins installed on this site, many of which could cause conflicts with s2Member Roles/Capabilities. I would suggest that you deactivate and then reactivate s2Member to see if that helps. This way s2Member will reset the Roles/Capabilities that it uses. If that does not help, you might need to disable one or more plugins at a time ( those related to Users/Members/Roles ) until the conflict is resolved. In cases where you need MANY plugins running together in harmony ( i.e. 10+ plugins ), I would suggest that you seek assistance from a WordPress/PHP developer as well. When you are running this many "membership related plugins" together at once, you may find that small tweaks are needed to get conflicts ironed out between some of them.

s2Member® / Hot Tip: ( s2Installs.com! )

Recommended by s2Member® Lead Developer (Jason Caldwell). Their rate for a standard installation is $125. They're highly trained. Just request their service!

Need Help? Post A New Job!

It's free. Your Job will appear here, and @ jobs.wordpress.net. It will be displayed for a period of 21 days; or until you take it off, whichever comes first. Good luck!

Re: Custom Field - Membership Level 0 Registration Form

PostPosted: July 27th, 2011, 3:40 pm
by bhgcreative
I went and deactivated and reactivated your plugin. All seems to be better now. I also moved away from some old clunky plugins and transferred settings over to your plugin.

Thanks again for all the help. It totally made me pull out my hair way less. Glad that things are working now!

Also hope that this helps someone else out there.

Brian