Skip to Content Skip to Menu

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

ACL/Groupjive moderators

  • LineMine
  • LineMine
  • OFFLINE
  • Posts: 160
  • Thanks: 22
  • Karma: 6
8 years 5 months ago #281198 by LineMine
ACL/Groupjive moderators was created by LineMine
Hi
I don't suppose there is any way of tying moderators/admin in Groupjive groups (not owners, which I know you can do) to Joomla's ACL?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 5 months ago #281200 by krileon
Replied by krileon on topic ACL/Groupjive moderators
GJ Group moderators and admins have nothing to do with ACL and are unique to each group. If you just want to give them a usergroup based off them being a moderator or admin in at least 1 group that's possible using CB Auto Actions. Aside from that you'll need to clarify further what you're wanting to do.


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.

  • LineMine
  • LineMine
  • OFFLINE
  • Posts: 160
  • Thanks: 22
  • Karma: 6
8 years 5 months ago - 8 years 5 months ago #281203 by LineMine
Replied by LineMine on topic ACL/Groupjive moderators
Thanks.
Okay, my ideal scenario as follows;
there are two user groups, lets call them diners and cooks. To become a cook, a diner has to pay a subscription. Once the user is a cook, if they join a group owned by Admin, they automatically become a moderator, but not if they join any groups owned by diners. If diners join the group they are not moderators, and there fore cannot create events in the group, which is the crucial thing here. If the cooks subscription expires they become a diner again and are no longer moderators.
Last edit: 8 years 5 months ago by LineMine.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 5 months ago #281207 by krileon
Replied by krileon on topic ACL/Groupjive moderators
That maybe possible, but it's going to be complicated to configure and require stringing a couple plugins together.

First you need a CB Query Field to query the _cbsubs_subscriptions table to see if they've an active subscription to the cook plan. Next in CB Auto Actions you need to act on gj_onAfterJoinGroup and condition the query field to ensure they've an active subscription. What action you use to make them an moderators is up to you (could be a code action using gj user table or a query on _groupjive_users). You'd need to use CBSubs SQL Actions to change their status on plan expiration using a query against _groupjive_users.


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: LineMine

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

Moderators: beatnantkrileon
Powered by Kunena Forum