Skip to Content Skip to Menu

[#3104] CB Auto Action ?

  • GTvB
  • GTvB
  • OFFLINE
  • Posts: 109
  • Thanks: 4
  • Karma: 1
12 years 11 months ago - 12 years 11 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
Last edit: 12 years 11 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
12 years 11 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 or Create an account to join the conversation.

  • GTvB
  • GTvB
  • OFFLINE
  • Posts: 109
  • Thanks: 4
  • Karma: 1
12 years 11 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 or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
12 years 11 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 or Create an account to join the conversation.

  • GTvB
  • GTvB
  • OFFLINE
  • Posts: 109
  • Thanks: 4
  • Karma: 1
12 years 11 months ago - 12 years 11 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
Last edit: 12 years 11 months ago by GTvB.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48536
  • Thanks: 8290
  • Karma: 1445
12 years 11 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum