Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] CB Moderator Rights

  • FGSimonis
  • FGSimonis
  • OFFLINE
  • Posts: 36
  • Thanks: 5
  • Karma: 0
9 years 3 months ago - 9 years 3 months ago #267281 by FGSimonis
[SOLVED] CB Moderator Rights was created by FGSimonis
Hello, on a sunny day.

Now our Website with CB seams to work.
There are only a few settings, that are not working as we want to.

One thing are the rights of CB Moderators.
There are two Groups that should only be seen by their members. Not even bei CB Moderators.

How can I come to this?

Thank you
Frank
Last edit: 9 years 3 months ago by nant.

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 3 months ago #267295 by nant
Replied by nant on topic CB Moderator Rights

FGSimonis wrote: Hello, on a sunny day.

Now our Website with CB seams to work.
There are only a few settings, that are not working as we want to.

One thing are the rights of CB Moderators.
There are two Groups that should only be seen by their members. Not even bei CB Moderators.

How can I come to this?

Thank you
Frank


What do you mean by "two Groups"?

What Groups? Joomla groups? GroupJive Groups?

What you you mean by "seen by their members"?

Please Log in or Create an account to join the conversation.

  • FGSimonis
  • FGSimonis
  • OFFLINE
  • Posts: 36
  • Thanks: 5
  • Karma: 0
9 years 3 months ago - 9 years 3 months ago #267350 by FGSimonis
Replied by FGSimonis on topic CB Moderator Rights

What do you mean by "two Groups"?

Just two groups each with a special funktion:
1. managing directors
2. directorate

What Groups? Joomla groups? GroupJive Groups?

Booth groups are GroupJive groups and Joomla groups
|— Registered
|—|— Comrades
|—|—|— Directorate
|—|—|— Managing Directors
|—|—|— CB Moderator Group

Access Level Managing Directors
0|— Registered
0|—|— Comrades
0|—|—|— Directorate
0|—|—|— CB Moderator Group
x|—|—|— Managing Directors
0|— Super Users

Access Level Directorate
0|— Registered
0|—|— Comrades
x|—|—|— Directorate
0|—|—|— CB Moderator Group
0|—|—|— Managing Directors
0|— Super Users

In GroupJive both groups do not have a parent.

What you you mean by "seen by their members"?

All information that is published in this groups, should only be seen by their members.


At the moment the CB Moderator Group can also see the information.

Hope now it is better described.
Last edit: 9 years 3 months ago by FGSimonis.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #267367 by krileon
Replied by krileon on topic CB Moderator Rights
CB Moderators more or less can do nearly whatever they want to frontend user content. It's what allows them to manage the userbase.

As for blocking 1 usergroup from seeing the profile of another usergroup you could use CB Privacy and its profile privacy field. Another option is to try using CB Auto Actions and a redirect action on the after profile display trigger to redirect away for specific usergroups if the user id of the displayed and viewing user don't match.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: FGSimonis

Please Log in or Create an account to join the conversation.

  • FGSimonis
  • FGSimonis
  • OFFLINE
  • Posts: 36
  • Thanks: 5
  • Karma: 0
9 years 3 months ago #267468 by FGSimonis
Replied by FGSimonis on topic CB Moderator Rights
Kyle,
I tried CB Auto Action.

First I created a field (cb_vsmember) that indicates that a user is member of group with id 1.

In CB Auto Action I choose in Global the Trigger "Before Group Tab" and set the type to "redirection".

In Conditions I set "[cb_vsmember] equals 0"

But I do not know how to build the right condition for example the group with id 1.
"[???] equals 1"

The aim is that for the group with id 1 all users that have "[cb_vsmember] equals 0" should be redirected.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #267469 by krileon
Replied by krileon on topic CB Moderator Rights
You need to use the "After User Profile Display" trigger. No idea why you're using "Before Group Tab". The substitution will be of the profile users field value. You also need to condition to make sure the viewing user isn't the profile owner as you'd end up redirecting away from a users on profile. So something like the below.

Global
Triggers: After User Profile Display
Type: Redirect
User: Automatic
Access: All Non-Moderators
Conditions
1. [cb_vsmember] Equal To 0
2. [user_id] Not Equal To [cb:userdata field="user_id" user="#me" /]
Action
URL: index.php

With the above if the users cb_vsmember is equal to 0 and the viewing user is not the displayed use it should redirect to your home page. Moderators are not subject to this and the profile owner is not subject to this so be sure to test with another registered user.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum