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.

Cross-Level Permissions – not heirachial

Home Forums Community Forum Cross-Level Permissions – not heirachial

This topic contains 2 replies, has 3 voices. Last updated by  buki 4 years, 8 months ago.

Topic Author Topic
Posted: Sunday May 13th, 2012 at 2:44 am #13333

Hi,
We previously asked a question regarding a network of permissions to enhance level capabilities.

We are wishing to have essentially 3 ‘groups’ of memberships – each with 3 levels (guess we could have 9 ‘levels’ per-se)

The issue is that we need to have posts and/or categories accessible to multiple ‘membership types’ – not in a heirachial fashion…

for example..
We would want to for example give a post access to group 1 – level 2 and group 3 – level 3 at the same time..
How would we do this on the edit screen of the post (by way of custom meta, or custom permissions etc)
Is there a way to give access to various levels/memberships on a ‘per-post’ basis.

Any help will be appreciated..

Thank you.

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Sunday May 13th, 2012 at 4:08 am #13334

Hello Neria.

I’m sorry, I’m not sure I understand. Could explain some more what you are trying to set up, please?

Thanks. :)

Posted: Sunday May 13th, 2012 at 11:48 am #13340
buki
Username: csaba.bukszegi

Hello Neria,

If i understand well, U need separated rights. If Yes, then U can start with 2 ways. ( if i know well… :S )

1. U can to use custom capabilities
U can read about it here: WP admin menu->s2member->API / Scripting->Custom Capabilities)

2. U can use the shortcode conditionals
(copied from Your WP admin menu->s2member->API / Scripting->Simple / Shortcode Conditionals

Example #3: Specific content for each different Member Level.

[s2If current_user_is(s2member_level4)]
    Some premium content for Level 4 Members.
[/s2If]

[s2If current_user_is(s2member_level3)]
    Some premium content for Level 3 Members.
[/s2If]

I hope i can help a bit.
The API / Scripting menu is my most important tresure chest

  • This reply was modified 4 years, 7 months ago by  buki.
Viewing 2 replies - 1 through 2 (of 2 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.