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.

Allow registered users to increase access

Home Forums Community Forum Allow registered users to increase access

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

Topic Author Topic
Posted: Friday Apr 5th, 2013 at 10:36 am #46707

We have a unique situation and wonder if s2Member can handle it. Here’s how it would need to flow:

— Users cannot register themselves. They can contact us, we vet them, then create their account.

— After that, they have the ability to “request details” (a private page or PDF) about the listings on the site.

— To view those details they need to click and accept an agreement for that page, after which they will automatically be given access to the content.

As such, we can log in and see which pages a particular user has access to and therefore which agreements they’ve viewed and accepted.

Is there any way to make s2Member bend to handle that kind of situation? Thanks!

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Saturday Apr 6th, 2013 at 8:46 am #46740

You could disable Open Registrations and instead have a contact form to request the account. Then you create the account manually from the admin side. WP Admin -> Users -> New User

To do the agreement thing for each content, you’ll have to create a customization. It could consist of a link they click on the page, which will cause him to get a ccap that corresponds to that page (the ccap could be the page’s ID for simplicity).
Knowledge Base » Changing Roles/Capabilities via PHP
Knowledge Base » Hacking s2Member® Via Hooks/Filters
http://adambrown.info/p/wp_hooks/hook/wp_loaded

To see the pages he agree to, you’d just go to his profile and see what ccaps he has. You’d hide or show the content in the page based on the user having that ccap. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Simple/Shortcode Conditionals[/hilite]

I hope that helps!

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.