Page 1 of 1

Simple walk-through on expected flow of member site?

PostPosted: July 25th, 2011, 2:44 pm
by rwilki
I hope someone can help. I've posted some other similar questions and I have spent almost 16 hours trying to figure this out, to no avail. I have watched many videos and have been through the forums but I can't seem to get a handle on a few "simple things".

Can someone explain to me, what to expect when:
1] A previous free subscriber, clicks on a level #0 post? Shouldn't it take them to their login page? My site keeps going to the member signup page, which requires another click to go to Registration, and yet another to login.
2] It was also my assumption, that by entering in the correct login credentials, this previous subscriber would be redirected to the post they have access to rather than back to the Members Welcome page.
3] I expect a similar flow when a previous paid subscriber clicks on a level #1 post?

Can someone please help? Maybe this is well beyond the plugin, but I can't tell.

Thanks,
Bob

Re: Simple walk-through on expected flow of member site?

PostPosted: July 26th, 2011, 2:42 am
by Cristián Lávaque
I replied about the Membership Options Page earlier in your other thread, as well as using the Membership Options Page variables to customize returning the user to the page he was trying to access.

I'm replying here to add a comment on the extra step of having the person login after registration. Here's a hack that'll log the person in automatically after creating the account: viewtopic.php?f=4&t=14211#p29101

I hope that helps. :)

Re: Simple walk-through on expected flow of member site?

PostPosted: July 26th, 2011, 8:05 am
by rwilki
this is the kind of thing I was looking for. Sorry I was having trouble explaining it. Funny thing is, the way the email notifications work with your forum is exactly how I thought the plugin would work.

I get an email from the forum viewtopic.php?f=xx=xxxxxxxx&p=xxxx&e=xxxx then if I'm not logged in it takes me to my forum login, once successfully submitted, I'm directed to the link. If I'm logged in, it goes directly to the link.

Thanks,
Bob

Re: Simple walk-through on expected flow of member site?

PostPosted: July 26th, 2011, 11:25 pm
by Cristián Lávaque
You're welcome. :)

We will try to improve the redirection after login. In the meantime you can try working with the Membership Options Page variables to get the person back to the page he was trying to view when he was bounced because he wasn't logged in. WP Admin -> s2Member -> API / Scripting -> Membership Options Page / Variables

Re: Simple walk-through on expected flow of member site?

PostPosted: July 26th, 2011, 11:29 pm
by rwilki
thank you Crisitan! That's about the only page, I can't figure out what to do with. Can you just provide one basic example?

Thanks,
Bob

Re: Simple walk-through on expected flow of member site?

PostPosted: July 26th, 2011, 11:46 pm
by Cristián Lávaque
Sure.

Say you have a post protected at Level 1 and a visitor tries to view it, he'd be sent to the Membership Options Page. There you could explain to him that he'd need to become a Level 1 member to view that content, to please register clicking the PayPal button. Or, tell him that if he already is a member, to please login so he can be shown the post he wanted to read.

Does that example help?

Re: Simple walk-through on expected flow of member site?

PostPosted: July 26th, 2011, 11:51 pm
by rwilki
Thanks I understand how to explain this to people, I was hoping for a MOP Variable example. : )
I have a free subscriber level and a paid access level, and people don't know by clicking on the link of the protected post from the home page which level protection the post is. And, registering or logging in still doesn't answer the question of redirecting the visitor to the protected post. I'm sorry for not being clear, I thought that's what we were talking about with the MOP Variables...

Re: Simple walk-through on expected flow of member site?

PostPosted: July 27th, 2011, 2:48 am
by Cristián Lávaque
Yeah, we were talking about MOP vars, I just got confused with another one and replied too soon. The example for MOP vars in the other thread covers that viewtopic.php?f=4&t=14242&p=29268#p29246

Still, you'll need to save these MOP vars somewhere that'll last so you can use it later after the registration with some customization. You could save them in the $_SESSION or in a cookie. That way, for example, if you use the hack to log the person in automatically after creating his account, you could use the MOP var to redirect him there.

If the problem is login, then add ?redirect_to=/?p=123 at the end of the login URL, i.e. /wp-login?redirect_to=/?p=123. You can get the post/page ID from the MOP vars to create this link dynamically.

Does that help?

Re: Simple walk-through on expected flow of member site?

PostPosted: July 27th, 2011, 3:06 am
by rwilki
i wish I knew how to start on this? i understand everything you're saying but have no idea where to begin...

Re: Simple walk-through on expected flow of member site?

PostPosted: July 27th, 2011, 3:20 am
by Cristián Lávaque
You may want to get help from a developer. You can look in freelance websites like jobs.wordpress.net, oDesk.com or eLance.com.