Skip to Content Skip to Menu

CB Auto Actions - Update group when CB field is edited

10 years 8 months ago #241391 by nickbunyan
I have a checkbox CB field on all the users profiles, which can be updated by selected members of the team. When the 'admins' update the field, either ticking on un-ticking, I want to use Auto-actions to add or remove the specified user from a particular Joomla group.

I have set up the Auto-actions using Usergroup as per the attached screenshot, but it does not work as I expect, or indeed at all. I have read all the examples I can find for auto actions but they are of no help.

Can you please try and point me in the right direction or lead me to some working documentation or examples?

I attach a screenshot of the current settings...
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago #241397 by krileon
Using the raw value from the users object is often the best for that trigger and usage in conditionals. Example as follows.

[var1_cb_efamember]

In addition to this you have the User parameter set incorrectly. Setting it to User means the trigger is going to act on the Viewing user (your moderator) and not the user being edited. You need to leave it on Automatic.


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.

10 years 8 months ago #241474 by nickbunyan
Hi Kyle.
Thanks for the prompt response.

Unfortunately I can not give this a try at the moment, as enabling the Auto Actions Plugin is causing a conflict and 'Out of Memory' errors with the site concerned, so I have had to disable it altogether.

What is the best way to find out which module/plugin is conflicting please?

N

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 8 months ago #241485 by krileon
Enable debug mode and maximum error reporting in Joomla global configuration. Once done any errors happening should expose. It's also possible you need to just increase your memory limits. Disable your actions 1 by 1 as well to see if maybe one them is causing problems (can happen easily with Code actions).


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