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™

Not Allowing Open Registration Allows Open Registration?

s2Member Plugin. A Membership plugin for WordPress®.

Not Allowing Open Registration Allows Open Registration?

Postby bradjbarton » January 8th, 2012, 12:52 pm

I have set the Allow Open Registration parameter to NO.

Image

However, the login page shows a link to the registration page -

Image

When that register link is clicked, it brings up a registration page -

Image

When someone fills out that registration page, it allows registration at level 0. What other things may be affecting this, so I can eliminate open registration?
User avatar
bradjbarton
Registered User
Registered User
 
Posts: 20
Joined: December 1, 2011

Re: Not Allowing Open Registration Allows Open Registration?

Postby dreamscape » January 8th, 2012, 11:38 pm

Amen. I need to know what file to go in and remark this link out because installation is doing the same thing. I want to offer a Login link on the homepage for members only, but be able to send folks to the registration page after they've paid.
Please advise!
User avatar
dreamscape
Registered User
Registered User
 
Posts: 6
Joined: January 8, 2012

Re: Not Allowing Open Registration Allows Open Registration?

Postby Raam Dev » January 9th, 2012, 11:02 pm

When Open Registration is set to No, you should not see the Register link (s2Member removes it).

Also, attempting to access the Registration page should result in a message that says "User registration is currently not allowed".

Screen shot 2012-01-09 at 23.01.20 .png
Screen shot 2012-01-09 at 23.01.20 .png (64.11 KiB) Viewed 147 times


If that's not what you're seeing, I recommend disabling all your plugins except s2Member to see if there's a conflicting plugin that is causing issues.

Also, if you've used an s2-hacks.php file to make any modifications to s2Member, please post those here so we can look at them.

Finally, I suggest deactivating s2Member and then reactivating it. Be sure to enable Deactivation Safeguards before doing this so that all your current settings are saved (WP Admin -> s2Member -> General Options -> Deactivation Safeguards).
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Not Allowing Open Registration Allows Open Registration?

Postby dreamscape » January 9th, 2012, 11:27 pm

Thank you, Raam! However, I still want people to register on their own, but through from the s2Member 'thank you' page; not through a Register link at the bottom of the login panel. If they arrive at the 'thank you' page, it's presumed they've paid for the membership. If they register through the login panel, they end up gaining Level 0 access which is not a level I plan to use right now.

I did find the following: http://wordpress.org/support/topic/disa ... gistration , however it looks like you have to hack at the WordPress login script every time you run an upgrade. Since WordPress upgrades.. what.. every week? This is impractical.

Finally, I found a plugin that may have done the trick. It's called 'simple-login' and can be found here: http://wordpress.org/extend/plugins/sim ... her_notes/ . It is showing me my login panel just as I had configured it, sans the Register link. I'll roll with this for now.

Thank you!
Matt
User avatar
dreamscape
Registered User
Registered User
 
Posts: 6
Joined: January 8, 2012

Re: Not Allowing Open Registration Allows Open Registration?

Postby Raam Dev » January 9th, 2012, 11:36 pm

Thanks for the update, Matt, and for sharing those plugins! Glad you found a solution. :)
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011

Re: Not Allowing Open Registration Allows Open Registration?

Postby bradjbarton » January 9th, 2012, 11:51 pm

Well, I'm not sure I want an additional plugin to do something that s2Member is doing already.

Instead, I just figured out that I'm an idiot. I normally use Firefox, but working on a separate issue I also had IE open, so I could login with my level 1 test account without logging out as admin in Firefox. When I logged out of the test account in IE I noticed that it did not have the Register link that I showed you above. Further more, when I copied and pasted the the Register URL into the address bar it showed the message that Raam said it would show.

So, I logged out as an admin in my Firefox browser, and guess what, the Register link is not there on the login page. It appears that the only reason that we could see the Register link is because we were logged in as an admin while we were looking at the login and registration pages. Thanks Raam.
User avatar
bradjbarton
Registered User
Registered User
 
Posts: 20
Joined: December 1, 2011

Re: Not Allowing Open Registration Allows Open Registration?

Postby dreamscape » January 10th, 2012, 9:21 am

pfft.. bradjbarton, you're absolutely RIGHT! Logged out of WordPress, refreshed the login panel and sure enough, the Register link went away. Uninstalling that unnecessary plugin right now. GOOD CATCH!
User avatar
dreamscape
Registered User
Registered User
 
Posts: 6
Joined: January 8, 2012

Re: Not Allowing Open Registration Allows Open Registration?

Postby Raam Dev » January 11th, 2012, 12:01 pm

Haha :) Good catch! Glad you figured it out.
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

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

cron