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™

HELP PLease

s2Member Plugin. A Membership plugin for WordPress®.

HELP PLease

Postby hunzaboy » December 4th, 2010, 1:02 pm

Hi everyone

I sell 5 different products.. what i need is Every User subscribed via 5 products should access only specific pages.. how to achieve this? Kindly help.. i am totally Stuck!

Should i use levels as there are only 4 levels? And i think level 4 user can access lower levels stuff ! Right! :roll:

Please help me out!
User avatar
hunzaboy
Registered User
Registered User
 
Posts: 11
Joined: December 3, 2010

Re: HELP PLease

Postby madsem » December 5th, 2010, 12:37 am

You have to use simple conditionals in your wordpress pages & posts. Go in your admin s2member--->API/Scripting--->Simple Conditionals. There are a lot of examples that will do exactly what you want.
User avatar
madsem
Registered User
Registered User
 
Posts: 26
Joined: October 26, 2010

Re: HELP PLease

Postby madsem » December 5th, 2010, 12:41 am

P.S: take a look espcially at:
Example #5: Using multiple Conditionals together, and even nesting other Shortcodes.

[s2If current_user_can(access_s2member_ccap_free_gift)]
Display free gift here. This Member has access to a Custom Capability that supplies a free gift.
[/s2If]

You should use custom capabilities for your 5products, then check in every page what custom capabilities the user has, when you generate a paypal button you can assign custom capabilities and name them however you want... ie product1, product2 etc.

A user who has bought all 5 products would then have all 5 custom capabilites assigned
User avatar
madsem
Registered User
Registered User
 
Posts: 26
Joined: October 26, 2010

Re: HELP PLease

Postby hunzaboy » December 5th, 2010, 2:33 am

thanks for the replies.. really helped!!
User avatar
hunzaboy
Registered User
Registered User
 
Posts: 11
Joined: December 3, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

cron