[#3104] CB Auto Action ?

12 years 4 months ago - 12 years 4 months ago #185666 by GTvB
[#3104] CB Auto Action ? was created by GTvB
I have a question reagarding CB Auto Action.

I want to implement the following : Assign a user (Trigger : after registration, after profile update) to a ACL-Group and remove him, depending on the value of a multiselection box field. My first try is only with one value and one group.

When the user updates his profil and selects the value for my test ..... nothing happens. But when the user does a next update to another field, the first update will be handled by CB auto action. What am I doing wrong ???

GTvB

Joomla: 2.5.6
CB: 1.8.1
GJ: 2.5.3 RC1
Kunena: 2.0.1
Website language: German

Please Log in to join the conversation.

12 years 4 months ago #185673 by krileon
Replied by krileon on topic Re: CB Auto Action ?
Please provide a screenshot of how your action is configured.

If I understand correctly you want to add a user to a usergroup based off a fields value. Then remove a usergroup based off a fields value. Is that correct?


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 to join the conversation.

12 years 4 months ago #185677 by GTvB
Replied by GTvB on topic Re: CB Auto Action ?
yes, correct

Add to user group



Remove from user group



GTvB

Joomla: 2.5.6
CB: 1.8.1
GJ: 2.5.3 RC1
Kunena: 2.0.1
Website language: German
Attachments:

Please Log in to join the conversation.

12 years 4 months ago #185679 by krileon
Replied by krileon on topic Re: CB Auto Action ?
There a reason REGEX is used? Please use the "Does Contain" and "Does Not Contain". What's the issue exactly? Neither of them working? They both appear correct for Frontend, but they will do nothing if you add a user or edit a user from backend.


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 to join the conversation.

12 years 4 months ago - 12 years 4 months ago #185680 by GTvB
Replied by GTvB on topic Re: CB Auto Action ?
I changed to does contain and does not contain.

Its a first test for the frontend.
When editing profile and selecting "Benjamins" for cb_kscmannschaft and saving .... nothing happens.
The I edit profile again, and edit any other field, then save ...... and then user is connected to user group Benjamins. It happens one edit profile too late !!! :evil:

GTvB

Joomla: 2.5.6
CB: 1.8.1
GJ: 2.5.3 RC1
Kunena: 2.0.1
Website language: German

Please Log in to join the conversation.

12 years 4 months ago #185683 by krileon
Replied by krileon on topic Re: CB Auto Action ?
I see, it's working as intended however Joomlas session isn't updating until the subsequent page load. For example save profile then reload the page and it should be changed. Have created a bug ticket to review updating the cache more reliably.

forge.joomlapolis.com/issues/3104


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

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.206 seconds

Facebook Twitter LinkedIn