Page 1 of 1

HELP PLease

PostPosted: December 4th, 2010, 1:02 pm
by hunzaboy
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!

Re: HELP PLease

PostPosted: December 5th, 2010, 12:37 am
by madsem
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.

Re: HELP PLease

PostPosted: December 5th, 2010, 12:41 am
by madsem
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

Re: HELP PLease

PostPosted: December 5th, 2010, 2:33 am
by hunzaboy
thanks for the replies.. really helped!!