latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Redirection url allows non members access

Home Forums Community Forum Redirection url allows non members access

This topic contains 0 replies, has 1 voice. Last updated by  Claude Malagoli 3 years, 10 months ago.

Topic Author Topic
Posted: Tuesday Mar 5th, 2013 at 10:34 pm #43825

Ok this is my query.
I have one website where clients can view my product etc. If they decide to purchase and click on the ‘buy now’ buttons in my Membership Options page, they get redirected to my second website to a membership Options page to purchase a Membership via the PayPal buttons. (they cannot access the rest of the site as it is restricted to Members only).
I’ve done this for 2 reasons. 1. because I wanted a separate site for Members (coz it has more perceived value) than having members log in on my products site and 2. if they purchase from the second site, the user ends up in the back end of WordPress/S2members users with all their details and EOT dates.
Now I’ve created an accounts page for each separate client which they land on immediately, which houses their info such as membership purchased, time remaining on membership etc. I used the http://www.example.com/%%current_user_login%%-account-page code you recommended in one of your articles.
This works great as each different user lands on their own personal page and then can view the rest of the site like all other members but their account page is their own. Therefore I have not used the normal ‘welcome to the members area’ login page.
The issue is that if I restrict this account page for each separate user (as I have all other pages on this second membership site), they get redirected to my Membership page. If I un restrict the page, they land on their account page no problems. The issue is that when they expire as a member and attempt to log in, they should be redirected to the Membership options page but they land on their account page because I can’t restrict it! so it makes no sense to have members with expiry dates because they can still access their account page. What’s the fix for this if there is one?
Claude (sorry for long message).

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.