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 #267565 by FGSimonis
Replied by FGSimonis on topic CB Moderator Rights
Thanks for this.

I tried it, but it didn't work for my problem.

All I need is to get the group id out of the database.
How can I do that?

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 #267566 by FGSimonis
Replied by FGSimonis on topic CB Moderator Rights
I did it!

But I was not sure about my solution.

There was a hint in the
tutorial .

Global
Triggers: Before Group Tab
Type: Redirect
User: User
Access: All Moderators
Conditions
1. [cb_vsmember] Equal To 0
2. [var2_id] Not Equal To 4
Action
URL: index.php

Now a Moderator cannot open the specific group 4 when his CB field "[cb_vsmember] = 0",
He can open it if his "[cb_vsmember] = 1"

Just one last question to this?
[var2_id] is this depending on
neue-energie-eg.de/cb-groupjive/pluginclass.html?plugin=cbgroupjive&action=groups&func=show&cat=1& grp=5

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 #267583 by krileon
Replied by krileon on topic CB Moderator Rights

Just one last question to this?
[var2_id] is this depending on
neue-energie-eg.de/cb-groupjive/plugincl...ups&func=show&cat=1&grp=5

var2 is the group object. So var2_id is the group id. Yes, the var2_id should be the same as the id in the URL.


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 #267585 by FGSimonis
Replied by FGSimonis on topic CB Moderator Rights
That is nice to know!
There are a lot of possiblities to use this.

Please can you post a list for the variables someone can use in CONDITIONS.
Thanks

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 #267588 by krileon
Replied by krileon on topic CB Moderator Rights
Below is a list of triggers and their variables.

www.joomlapolis.com/support/tutorials/120-api-usage/18358-using-cb-triggers

It's a bit out of date, but the majority of those triggers are still valid.


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: Satchi, 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 #267616 by FGSimonis
Replied by FGSimonis on topic CB Moderator Rights
Thank you!
The following user(s) said Thank You: nant

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

Moderators: beatnantkrileon
Powered by Kunena Forum