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.

Setting up for independent courses using tags

Home Forums Community Forum Setting up for independent courses using tags

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

Topic Author Topic
Posted: Sunday Apr 21st, 2013 at 5:54 am #48027
Peggy Sax
Username: MargaretS

I have a wordpress site 3.5 using canvas theme. It has about 200 pages on it. No posts. S2MemberPro unlimited site is installed.

The aim is to offer “courses” of about twenty pages each.

There are six courses.

Each member (which is set up by the admin) can enrol in any of the six courses and any number of them. Course enrolment is independent i.e. if doing course 1, 2, 4 s/he won’t be doing 3, 5, 6 (unless s/he chooses to do so later) so the inbuilt hierarchical levels are not immediately useful here.

After going through the S2Member documentation, it appears that Custom Capabilities lis the best fit to achieve what is needed here.

This suggests that is user A enrols in say Course 1 then s/he gets access to all twenty pages with the course 1 tag for example. Or perhaps the course 1 category.

For certain reasons we prefer the tag instead of the category.

Can you advise if this looks ok and an example of the code to use?

Thank you.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Monday Apr 22nd, 2013 at 8:10 am #48092

The tag and category access restrictions work with Levels. [hilite path]Dashboard -› s2Member® -› Restriction Options[/hilite]

You could have a hack that checks the category/tag in combination with the custom capabilities, though. Knowledge Base » Hacking s2Member® Via Hooks/Filters

Of course you can have conditionals in the posts/pages themselves. Video » s2Member (Advanced Conditionals)

Have you watched this video? Video » s2Member (Custom Capabilities)

Viewing 1 replies (of 1 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.