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™

Unregistered users redirect

s2Member Plugin. A Membership plugin for WordPress®.

Unregistered users redirect

Postby peopleu4 » October 20th, 2010, 3:30 pm

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?
User avatar
peopleu4
Registered User
Registered User
 
Posts: 5
Joined: October 20, 2010

Re: Unregistered users redirect

Postby Jason Caldwell » October 22nd, 2010, 1:35 pm

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.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Unregistered users redirect

Postby peopleu4 » October 23rd, 2010, 11:12 am

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
User avatar
peopleu4
Registered User
Registered User
 
Posts: 5
Joined: October 20, 2010

Re: Unregistered users redirect

Postby Jason Caldwell » October 24th, 2010, 12:01 am

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/
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Unregistered users redirect

Postby peopleu4 » October 25th, 2010, 5:35 pm

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
User avatar
peopleu4
Registered User
Registered User
 
Posts: 5
Joined: October 20, 2010

Re: Unregistered users redirect

Postby Jason Caldwell » October 25th, 2010, 11:09 pm

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) -> Registration


2. 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.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Unregistered users redirect

Postby peopleu4 » October 26th, 2010, 6:47 pm

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?
User avatar
peopleu4
Registered User
Registered User
 
Posts: 5
Joined: October 20, 2010

Re: Unregistered users redirect

Postby arwyl » October 26th, 2010, 7:04 pm

@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!
In theory, theory and practice are the same; in practice they aren't.
User avatar
arwyl
Experienced User
Experienced User
 
Posts: 6
Joined: October 26, 2010

Re: Unregistered users redirect

Postby Jason Caldwell » October 27th, 2010, 3:25 am

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> 
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Unregistered users redirect

Postby peopleu4 » October 27th, 2010, 1:11 pm

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.
User avatar
peopleu4
Registered User
Registered User
 
Posts: 5
Joined: October 20, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest

cron