Page 1 of 1
Unregistered users redirect
Posted:
October 20th, 2010, 3:30 pm
by peopleu4
I've read through your forums and can't find an answer to my unique problem. My website in non-profit, will require membership for certain pages. PayPal is used for donations only and is optional. Currently, unregistered users are directed to the membership options page I must created with PayPal buttons. Since donations are optional, I'd like to direct unregistered users (non-members) to register (the meta built into WP) rather than requiring donations through the membership options page. How do I redirect unregistered users to register (sign up) page from restricted pages?
Re: Unregistered users redirect
Posted:
October 22nd, 2010, 1:35 pm
by Jason Caldwell
Hi there. Thanks for your inquiry.
s2Member will redirect users automatically for you. Whenever you restrict access to a Post or Page, if a user in the public attempts to access that area of your site, s2Member will automatically redirect them to your Membership Options Page.
So all you need to do is tell s2Member which Posts/Pages require a donation. Then add those to your s2Member -> General Options -> Post Level Access ( or Page Level Access ). You'll want to place your PayPal Buttons on the Membership Options Page so they'll be available to the user when they're redirected.
If this does not clarify it for you, or if I've totally missed the point of your question.. please let me know.
Re: Unregistered users redirect
Posted:
October 23rd, 2010, 11:12 am
by peopleu4
Jason:
Thanks for your response to my question. My website does not require donations. We don't require memberships. Donations and membership are options.
What I'd like though is restricted pages for members only. If a visitor clicks on a restricted page, I'd like them directed to a page created for member sign up.
Currently, from what I see, S2Member will only do that with a PayPal button on the page. I'd like not to have a button on the member sign up page but a separate page for donations as an option.
When I set a redirect page for non members, it goes to the contact us page.
Thanks,
peopleu4
Re: Unregistered users redirect
Posted:
October 24th, 2010, 12:01 am
by Jason Caldwell
Thanks for the follow-up.
Currently, from what I see, S2Member will only do that with a PayPal button on the page. I'd like not to have a button on the member sign up page but a separate page for donations as an option.
OK. Well this would be your Membership Options Page configured for s2Member in the General Options. See: s2Member -> General Options -> Membership Options Page.
There is no requirement that you must have a PayPal Button on your Membership Options Page. If you'd like to do something more creative on this page, you can do that without issue.
This video may also be helpful.
http://www.s2member.com/video-intro/
Re: Unregistered users redirect
Posted:
October 25th, 2010, 5:35 pm
by peopleu4
Jason:
I think I see what I did wrong. I copied the code from "Member Profile Modifications" and placed on my "Membership Options Page". That caused screw-ups.
My desire is to place page restrictions for non-members. When a visitor goes to a restricted page, S2Member auto directs to Membership Options Page. That works now but the page is blank.
Where do I find the code to insert into membership options page for visitors to sign up? That is the piece I'm missing.
Thanks
Re: Unregistered users redirect
Posted:
October 25th, 2010, 11:09 pm
by Jason Caldwell
Glad to hear that. Thanks for the follow-up.
~ Much appreciated.1. If you're going to offer Free Subscriber access at Level #0, you'll just create a link pointing to:
- Code: Select all
http://yoursite.com/wp-login.php?action=register
The Free Registration Link for your site will be listed under:
s2Member -> General Options -> Open Registration.
On a Multisite install, you'll find it under: s2Member -> Multisite (Config) -> Registration2. If you're going to offer paid Membership Level Access [1-4], you will need to use s2Member's PayPal Button Generator, found under:
s2Member -> PayPal Buttons.
Re: Unregistered users redirect
Posted:
October 26th, 2010, 6:47 pm
by peopleu4
Jason:
Thanks again. I get what you're saying, but this is my disconnect. I've gone to General Options -> Open Registration -> Set for Free Subscribers, Open Registration Level 0. Then to General Options -> Membership Options Page -> and designated a page for membership sign-up.
This is my problem. The page is blank. No sign-up, nothing. Do I insert code on the page? I know you instructed to use this link:
http://www.peoples-party.org/wp-login.p ... n=register. Where do I insert or how is it inserted to the blank page.
Tried changing the permalinks. Didn't work. 'What do I do?
Re: Unregistered users redirect
Posted:
October 26th, 2010, 7:04 pm
by arwyl
@people4u:
The page you designated for your membership options... was it blank to start with? I mean, did you create that page yourself, put some text on it...?
You need to make that page yourself, assign a template to it, and make it display the text you want, for example:
This content is accessible to members only. Please sign up, it's free!
Then you need to place the link on it. You can do this with the editor on the "Edit Page" page of the admin back-end. The easiest is to change to HTML view and type the html code right there, for example:
<a href="http://yoursite.com/wp-login.php?action=register">Sign up now</a>
I hope this helps!
Re: Unregistered users redirect
Posted:
October 27th, 2010, 3:25 am
by Jason Caldwell
Agree:arwyl wrote:You can do this with the editor on the "Edit Page" page of the admin back-end. The easiest is to change to HTML view and type the html code right there, for example:
<a href="http://yoursite.com/wp-login.php?action=register">Sign up now</a>
So in your case, the code would be:
- Code: Select all
<a href="http://www.peoples-party.org/wp-login.php?action=register">Sign up now</a>
Re: Unregistered users redirect
Posted:
October 27th, 2010, 1:11 pm
by peopleu4
Arwyl and Jason:
Talking about a total brain freeze, I get it now. I was thinking that the link was built into the program to auto link to register page.
I've inserted the link with appropriate language. It looks good and works fine.
I think its obvious that I'm self educating on web design. Thanks again for your assistance and patience.