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™

Outside link to protected page question

s2Member Plugin. A Membership plugin for WordPress®.

Outside link to protected page question

Postby matwil74 » September 22nd, 2011, 12:28 pm

This is such a cool plugin, can't believe it's free.

My question: I have some forms on protected pages that users fill out. After submitting the form the user receives an autoresponse email that has direct links to some protected pages.

After some days have passed and the user is logged out if he wants to click on that email link to a protected page the member will be directed to my membership signup page, and not a login form to view that page.

Is there a way to have the already signed up member to be directed to a login page that in turn redirects him to that protected page instead of being directed to the member sign up page?

For instance this page link in the user's email http://carcapitalist.com/member-access/help-sections/

is converted to this link when that user is not signed in: http://carcapitalist.com/register/?s2me ... evel_req=1

which shows just the member signup page. This latter link I think should be a login page by default that after logging in the user is redirected to the sought-after page.

Maybe there is an option for this that I cannot find?
User avatar
matwil74
Registered User
Registered User
 
Posts: 4
Joined: September 1, 2011

Re: Outside link to protected page question

Postby Eduan » September 22nd, 2011, 7:06 pm

By default s2Member acts this way...
You can put a login link in the signup page (or a login widget) so that users that are logged out can sign without going to the login page.

As to how to do that here's the link:
http://www.primothemes.com/forums/viewtopic.php?f=36&t=2781

Hope this helps :).
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Outside link to protected page question

Postby Cristián Lávaque » September 25th, 2011, 5:41 pm

Thanks for the kudos! :)

Yes, what Eduan said is correct.

If the user isn't logged in when he wants to view the protected page, he'll always be sent to the Membership Options Page with those variables at the end of the URL. You can either offer him to purchase access to the page or to login if he already has an account with that access.

You can use those variables to customize the message you give him, or to customize where to send him after login. WP Admin -> s2Member -> API / Scripting -> Membership Options Page / Variables
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron