Page 1 of 1

USers unable to register unless open registration checked

PostPosted: March 30th, 2011, 7:42 pm
by moses5407
..and then they are able to register without buying a membership.

So, my choices are:
No membership purchase and registration OR
Free registration.

My goal was to have a site with Read-only free and paid memberships to post, reply, rate, and vote.
If I have open registration turned on, new users can register without being directed to the Membership options page UNLESS they hit the PErmalink.

It's a Catch-22. If i want to limit the site I have to turn open registration off ..but then unregistered users who have read access as desired are directed to a Login screen which either does not have a "register option" or which has a message saying "user registration is not currently allowed", so they have no cue to join and can't anyway unless they hit the permalink OR open the membership options page.. Clicking on the permalink DOES take them to the Membership options page.

Can I set specific links to redirect to the Membership Options page versus a standard login page?
This woule let me

Thanks. I'm frozen until I can find this answer....

Re: USers unable to register unless open registration checke

PostPosted: March 31st, 2011, 12:55 am
by Cristián Lávaque
Let me see if I can help you. I'm not sure I understood your whole problem, but I'll try to give you some tips that should help start sorting this out. :)

It sounds like you're probably just using Level 0 to limit access to the content. Level 0 is the equivalent to Free Subscriber for s2Member, someone who registered an account without having to pay.

You could protect content requiring at least Level 1, which would send Level 0 accounts to the Membership Options Page, while letting Level 1 users (paid members) have access.

Membership Levels provide incremental access:

* A Member with Level 4 access, will also be able to access Levels 0, 1, 2 & 3.
* A Member with Level 3 access, will also be able to access Levels 0, 1 & 2.
* A Member with Level 2 access, will also be able to access Levels 0 & 1.
* A Member with Level 1 access, will also be able to access Level 0.
* A Subscriber with Level 0 access, will ONLY be able to access Level 0.

* WordPress® Subscribers are at Membership Level 0. If you're allowing Open Registration, Subscribers will be at Level 0 ( a Free Subscriber ). WordPress® Administrators, Editors, Authors, and Contributors have Level 4 access, with respect to s2Member. All of their other Roles/Capabilities are left untouched.


If you need to customize the Membership Options Page, you can use variables available for it. You can read about them here WP Admin -> s2Member -> API / Scripting -> Membership Options Page / Variables.

Let me know if this helps you in any way and what else you need. :)

Re: USers unable to register unless open registration checke

PostPosted: March 31st, 2011, 5:19 am
by moses5407
Thanks for your response, Cristian .. but I do have all posts protected for Level 1.

To clarify, the main issue is that unless I have Open Registration selected in S2 a visitor sees a message over the login box saying "user registration is not currently allowed", giving them only an option to login versus becoming a member. In other words, they are NOT directed to the Membership options page.

If I DO have Open Registration allowed .. then visitors are given the option to register and receive their password by email ... again without directing them to the Membership Options page.

They are then able to login and post replies or vote and rate without restriction.
Only the permalink is protected.

The desired behavior is to either disallow OPen Registration without also blocking ALL registration ..
OR to allow open registration in response, for example, to a "login to reply" link but push the user to the Membership options page.

Since the permalink is modified to redirect users to the Membership Options page, it seem sthat other links might be modifiable to do the same as well.

As things are, unless I'm missing something or there's a bug, it's either open the whole site to free members OR disallow ALL registration to anyone by clicking the no open registration option.

This would be unworkable for my needs and I'm hoping there is a solution that will let me engage membership protection more flexibly.

Thanks again for your response.

Re: USers unable to register unless open registration checke

PostPosted: March 31st, 2011, 7:18 am
by prooffairy
I am having exactly the same problem and hope someone can help!

I am hoping to use S2 for forum membership - I want anyone accessing the site to be able to read the posts, but then be directed to the registration page if they want to reply. At the moment I have my site set to level 0 open registration - the link to the forum is not public yet and we want to let trusted people in to get some conversations going. However, soon we want to make a membership level with a small fee. We still want people to view the forum, but be directed to the member options page if they try to post.

I tried turning off open registration but the register option then disappears from the forum - members can only log in if they already have an account - but there's no way of getting one if they haven't! I haven't actually set up paypal yet as the client is sorting out their bank - but I can't see that it would mkae a difference.

please help!

Re: USers unable to register unless open registration checke

PostPosted: March 31st, 2011, 4:25 pm
by Cristián Lávaque
prooffairy

Have you tried this? Go to WP Admin -> Settings -> Discussion, check the settings Users must be registered and logged in to comment and save.

That should solve your problem for now. :)

Re: USers unable to register unless open registration checke

PostPosted: March 31st, 2011, 4:31 pm
by Cristián Lávaque
moses5407

In addition to the above reply, I'd suggest you take a look at using the login page's bottom space WP Admin -> s2Member -> General Options -> Login/Registration Design -> Footer Design (i.e. Bottom) to add the registration buttons and use that to place your buttons for members to register or upgrade.

Requires WP 3.1+. This field accepts raw HTML (and/or PHP) code.


Let me know if these sort out your problem and what else I could try to help you with. :)