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™

Multiple membership option pages

s2Member Plugin. A Membership plugin for WordPress®.

Multiple membership option pages

Postby ohadga » September 28th, 2010, 5:03 pm

Hi,
We recently implemented and are very happy with s2member plugin!

One issue that we are trying to solve though. We have a membership option page to which non registered user arrive when trying to enter a restricted page.

Now i have another button in my site, and i want to distinguish betweem members to non members.
If non members (and let assume i have only level 1 and i do not allow free registration) click on this page that will be routed to page A, if members click on this page they will be routed to page B.

Is this request avaiable with s2member?

Thanks!
Ohad
http://www.myhobbymaster.com
User avatar
ohadga
Registered User
Registered User
 
Posts: 7
Joined: August 26, 2010

Re: Multiple membership option pages

Postby Elizabeth » September 29th, 2010, 10:59 am

Hi,

Yes, this is covered under Advanced Conditionals
DashBoard -> s2Member -> API Scripting -> Using Advanced Conditionals

Following your example:
Code: Select all
<?php if (current_user_can("access_s2member_level1")){ ?>
    Some content from Page B
<?php } else { ?>
    Some content from Page A
<?php } ?>
User avatar
Elizabeth
Moderator
Moderator
 
Posts: 160
Joined: May 12, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron