Page 1 of 1

Awesome Plugin, with one Problem?

PostPosted: July 22nd, 2011, 1:07 pm
by rwilki
After testing and reviewing many similar plugins, I've found this one to be the best! It's configured perfectly with one hiccup. I only have 2 levels. Level #0 is free registration, and Level #1 is paid with Paypal.

The paid level button is working great.

The problem is that when clicking on a protected post, it just takes me to the Membership page with 1 paypal button. It never takes me to the login or register page. Is something wrong with my setup? I have a login welcome page and member option pages setup and configured right (I think) and I have open registration turned on.

Can someone please help?

Thanks,
Bob

Re: Awesome Plugin, with one Problem?

PostPosted: July 22nd, 2011, 1:56 pm
by rwilki
OK after watching 4 videos, I found out how to get people to the registration page. I see that I have to put a link to the reg form on the Member Options page and for level #1 folks, once they pay through paypal, they get a cookie, that I guess will always redirect them to the login form?

Re: Awesome Plugin, with one Problem?

PostPosted: July 22nd, 2011, 9:56 pm
by Cristián Lávaque
Hi Bob! Thanks for the kudos. I'm glad you're liking s2Member. :)

You're correct, if the user is logged in to an account when he clicks the PayPal button for Level 1, his account will be upgraded after checkout. If he's not logged in, he'll be taken to te registration page after checkout and the new account will be at Level 1.

Re: Awesome Plugin, with one Problem?

PostPosted: July 23rd, 2011, 4:47 pm
by rwilki
Thank you Cristian. Does the cookie work the same or similar for level #0 users who have already signed up for a free account? Does it redirect them to their login page?

Re: Awesome Plugin, with one Problem?

PostPosted: July 25th, 2011, 6:37 pm
by Cristián Lávaque
If they weren't logged in when they clicked the purchase button, they'll be taken to the registration form rather than then login one. If upgrading an exisiting account, the user should be logged in when it happens to avoid trouble.

Does that help?

Re: Awesome Plugin, with one Problem?

PostPosted: July 25th, 2011, 7:22 pm
by rwilki
Thanks Christian. I understand that, what I'm trying to get a feel for is once someone has an account, (whether free or paid) if clicking on a protected article takes them to the login form or do they have to keep going to the Membership signup form.

My questions are all about navigation flow.

If someone who has signed up already (level #0), but is NOT logged in, clicks on a protected level #0 post, are they redirected to the login form? and upon signing up, are they taken to the protected post?
- and -
If someone who has signed up and paid already (level #1), but is NOT logged in, clicks on a protected level #1 post, are they redirected to the login form? and upon signing up, are they taken to the protected post?

In my opinion, the Membership Signup form should be a onetime action for people.

Right now, my biggest problem is that I have no log files being generated in the plugin folder and my newly purchased s2MemberPro isn't installing properly.

viewtopic.php?f=4&t=14236&p=29082#p29082

Re: Awesome Plugin, with one Problem?

PostPosted: July 25th, 2011, 9:37 pm
by Cristián Lávaque
I see, sorry for not understand your question earlier.

When someone tries to see a restricted page without proper access, be that because of not having it or not being logged in to the account that does, he'll be taken to the Membership Options Page that you configured. WP Admin -> s2Member -> General Options -> Membership Options Page

In that page you can have the message you want, e.g. "if you have an account, log in, otherwise register", and you'd link to the login or registration page. If the person was trying to access paid content, then you can offer him the paid membership with the registration button. You will find the conditionals and some vars helpful for this. WP Admin -> s2Member -> API / Scripting -> Simple/Shortcode Conditionals and Membership Options Page / Variables

I hope that helps. I'll look at the other thread in a moment. :)

Re: Awesome Plugin, with one Problem?

PostPosted: July 25th, 2011, 10:14 pm
by rwilki
OK that's what I thought. I have found some very useful code and examples in your API section. I guess I was hoping that the cookie(s) generated with the registration form whether #0 or #1, would be recalled when the visitor returned for another session and would redirect to the login form and not the Membership Options page. I'm asking this because it requires 3 extra clicks every time someone who has registered, clicks on a protected post on each visit.

Thanks,
Bob

Re: Awesome Plugin, with one Problem?

PostPosted: July 26th, 2011, 1:27 am
by Cristián Lávaque
Ah, I see what you mean. I thought a cookie could be used for that, but there may be a problem if more than one user of the same blog shares a computer.

Re: Awesome Plugin, with one Problem?

PostPosted: July 26th, 2011, 8:17 am
by rwilki
Wow, so a cookie could do this? That would be incredible. I'm not too worried about people sharing a computer for my purposes because that's not going to be an issue AND isn't the cookie also created with user name? Let me know if there's a possibility of this...

Re: Awesome Plugin, with one Problem?

PostPosted: July 26th, 2011, 11:49 pm
by Cristián Lávaque
Well, if the user is not going to be sharing the computer, when he logs in he can just tick the box to keep him logged in to his account, then every time he comes back he'd be logged in and with his paid access.