Page 1 of 1

Redirections and URI restrictions

PostPosted: August 18th, 2011, 2:51 am
by pepote
I've watched the instruction video over and over again, but I simply can't get s2member to redirect my login welcome pages.
The url for my free members login welcome page is is http://bizoppedia.com/login-welcome-page-0
The url for my premium members (level 1) login welcome page is http://bizoppedia.com/login-welcome-page-1
In the Login Welcome Page settings I left the 1st option as "-select-" and in the Special Redirection URL box I've entered http://bizoppedia.com/login-welcome-page-%%current_user_level%%
I created a dummy account and after logging in I was redirected ONCE. I have never been redirected again after that.

Also I've integrated s2members with WP-affiliates, but I only want the affiliate program to be accessible to Level 1 members, so in the box below URIs That Require Level #1 Or Higher I've tried those different combinations:
/affiliates/
/wp-affiliate-platform/
/wp-affiliate-platform/affiliates/
/wp-content/plugins/wp-affiliate-platform/affiliates/
But no matter what I put in that box, if I clicked on the link as a visitor or a level 0 member, it still takes me to the affiliate program

Re: Redirections and URI restrictions

PostPosted: August 18th, 2011, 3:39 am
by Cristián Lávaque
Could you please show me a screenshot of your Login Welcome Page panel? WP Admin -> s2Member -> General Options -> Login Welcome Page

The URI Restriction works for content served by WordPress. The Affiliates Login page is not served by WordPress, you can see the URL for it is a direct link to the file in the plugin's directory. http://bizoppedia.com/wp-content/plugin ... /login.php

You could try hiding the address a bit, showing the affiliates pages inside a WP page with an iframe. That WP page could be restricted to Level 1 users only, which would get you closer to what you want.

I hope that helps. :)

Re: Redirections and URI restrictions

PostPosted: August 18th, 2011, 4:10 am
by pepote
Here's the screen shot
Capture.PNG

Re: Redirections and URI restrictions

PostPosted: August 19th, 2011, 12:52 am
by Cristián Lávaque
Thanks. That looks fine.

Have you watched this video? http://www.s2member.com/login-welcome-p ... cts-video/