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.

upgrade page instead of membership reidrect

Home Forums Community Forum upgrade page instead of membership reidrect

This topic contains 3 replies, has 2 voices. Last updated by  Cristián Lávaque 3 years, 6 months ago.

Topic Author Topic
Posted: Thursday Jun 13th, 2013 at 5:08 pm #51901
Mikael Dia
Username: mikaeldia

Hi,

Ok so I am stuck! I’ve been trying to solve this issue for hours with no luck.

Basically I have 3 membership levels that give you access to different pages on the site.

On my membership options page I have 3 prices ($17, 47, 64)

Now this is great for non-members who want to choose their level – but what I can’t figure out is how to configure the redirect for existing members.

For example, say a level 1 member is logged in and wants to upgrade to level 2, it would be silly of me to force him to go to the membership options page with the original pricing.

Instead, I want to send him to an Upgrade page with different prices…

Now so far my research has taken me to API / Scripting > MOP Vars , but from there I have no clue what to do…

I just want Level 1 members that try to access Page ID 106,129,70 (which are restricted by levels 2 and 3) to be redirected to different page, instead of the membership options page

If anyone can help I will be forever grateful :)

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Friday Jun 14th, 2013 at 6:41 am #51944

Well, the restriction redirection will always be to the Membership Options Page. What you can do is change the message there with a conditional using the MOP vars.
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]

For example: (not tested)
[hilite pre_code]

Upgrade message to level 1 users.

Message to new users.

[/hilite]

Posted: Friday Jun 14th, 2013 at 6:43 am #51945
Mikael Dia
Username: mikaeldia

Hi Cristian,

Where do I put this code… im really not “developer” savvy… is there a way to have someone help me with this?

Thanks!

Posted: Saturday Jun 15th, 2013 at 5:22 am #51982

You put that in the content of the page you set as the Membership Options Page.

You’ll also need a PHP execution plugin and use only the text tab of your editor because the visual editor would mess up the code. Here’s one, but there are many other plugins for this too if you want to try others: Knowledge Base » ezPHP Plugin for WordPress®

If you can’t do this and it’s very hard for you, maybe you’d like to get a freelancer to set it up for you. Try sites like jobs.wordpress.net, odesk.com or elance.com.

Viewing 3 replies - 1 through 3 (of 3 total)

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.