Skip Navigation

[Resolved] Need to restrict information contained in ads to members only

This support ticket is created 7 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Author
Posts
#477545

I built a directory site around the classifieds tutorial to have a framework for a Virtual Assistant directory site.
I need to create a membership structure like this.
Anyone can post an ad in either of two categories jobs and assistants. They must be members at the free level. They can see and modify the details of thier own ads (contact info). They can see the details of the jobs contact level as free members.
They must be paid members to see the details of the assistants.

Is there any documentation on this sort of set up. I read somewhere on your site that you had an upcoming tutorial on a consultant type site. This is unique as I want assistants to post freely but only members can find out how to contact them. It's like a dating site! LOL.

Bradley

#477877

1. Anyone can post an ad in either of two categories jobs and assistants.

This can be done with a simple CRED Form that adds Posts.
https://toolset.com/documentation/user-guides/creating-cred-forms/

2. They must be members at the free level.

This means you need a CRED form that let a user Subscribe (create an account)
I suggest a Custom User Role here so that you can modify their capabilities at free will.
https://toolset.com/documentation/user-guides/cred-user-forms/
https://toolset.com/documentation/user-guides/#access

3. They can see and modify the details of their ads (contact info).

This is possible with Access Plugin as well. The CRED form accessibility settings have one parameter for exact this:
Let them modify only their posts with CRED.
https://toolset.com/documentation/user-guides/access-control-for-cred-forms/

The "See" part can as example be done with HTML Conditional (comparing the Current User and author of the posts)
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/

4. They can see the details of the jobs contact level as free members.
They must be paid members to see the details of the assistants.

This can be done with either Access ShortCodes, wrapping the content that is visible/hidden and comparing the user Role, or as well HTML conditional as above mentioned.
https://toolset.com/documentation/user-guides/access-control-texts-inside-page-content/

I suggest maybe to either use several different User Roles or to differentiate them with some User Fields values perhaps.

5. Is there any documentation on this sort of set up.
Linked above.
Also, we have some generic "Membership DOC" that can help you further:
https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/

Let me know if you need more info... and looking forward to seeing that "dating site" in action 😀

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.