Skip to Content Skip to Menu

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

CB Auto Actions help

  • enventive
  • enventive
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
11 years 4 months ago #229367 by enventive
CB Auto Actions help was created by enventive
I've been trying since purchase of the module to get it configured for a fairly simple task with no luck. Please advise:

I'm using Joomla 2.5, with CB v 1.9, and auto actions v 3.1.3

The goal is to allow users, upon registration --OR-- registered and confirmed users, upon editing their profiles...to supply a password that will automatically add a ACL access group to their account allowing them access to premium membership downloads.

I configured an additional field in the field manager for cb_accesskey, type text, attached it to registration and their profile and published it.
Next, I created an new auto action type UserGroup, with triggers"onAfterUserRegistration,onAfterUserUpdate,onAfterUserConfirm", type "User", allowed public and registered access, set the conditions to cb_accesskey = string, set mode add Usergroups to "premium members".

Upon registering or after editing the profile and supplying the correct string...nothing happens!

Please help

Steve
steve.adams@enventive.com

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 4 months ago #229371 by nant
Replied by nant on topic CB Auto Actions help

enventive wrote: I've been trying since purchase of the module to get it configured for a fairly simple task with no luck. Please advise:

I'm using Joomla 2.5, with CB v 1.9, and auto actions v 3.1.3


Please upgrade to latest CB Auto Actions 4.0 found in the Professional download area.

The goal is to allow users, upon registration --OR-- registered and confirmed users, upon editing their profiles...to supply a password that will automatically add a ACL access group to their account allowing them access to premium membership downloads.

I configured an additional field in the field manager for cb_accesskey, type text, attached it to registration and their profile and published it.
Next, I created an new auto action type UserGroup, with triggers"onAfterUserRegistration,onAfterUserUpdate,onAfterUserConfirm", type "User", allowed public and registered access, set the conditions to cb_accesskey = string, set mode add Usergroups to "premium members".

Upon registering or after editing the profile and supplying the correct string...nothing happens!

Please help

Steve
steve.adams@enventive.com


Take a look at the following tutorial/resources:

www.joomlapolis.com/support/tutorials/107-use-cases/18219-changing-approval-workflow-based-on-cb-field-value

www.joomlapolis.com/support/tutorials/107-use-cases/18237-assigning-usergroup-based-on-cb-field-value

www.joomlapolis.com/news/18363-cb-auto-actions-40-released

jandbeyond.org/program/sessions/implementation-without-coding-using-community-buil.html

www.slideshare.net/cbteam/implementation-without-coding-using-community-builder-framework-tools

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

  • enventive
  • enventive
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
11 years 4 months ago #229591 by enventive
Replied by enventive on topic CB Auto Actions help
Nick,
I've reviewed the tutorials you've suggested, updated the plugin to version 4.0, and simplified my test case with one action as follows:

Type: Usergroup
Trigger: onAfterUserUpdate
User: Automatic
Access: Registered
Conditional: [cb_accesskey] Equal To TEXT-STRING
Mode: Add Usergroups
Groups: Paid Member

I've tested this by registering a new user, confirming the registration, logging in, editing the profile by adding the TEXT-STRING to the registration enabled field and updating the profile...still nothing...no user group added...please advise

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229597 by krileon
Replied by krileon on topic CB Auto Actions help
Remove the conditional then see if it works. If not set Access to default Everybody and then see if it works. If not then ensure your action is published and CB Auto Actions is enabled within CB > Plugin Management.


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.

  • enventive
  • enventive
  • OFFLINE
  • Posts: 7
  • Thanks: 0
  • Karma: 0
11 years 4 months ago #229600 by enventive
Replied by enventive on topic CB Auto Actions help
Many Many Thanks, krileon!
removing the conditional, saving the action and re-instating the conditional did the trick!

Now...I want to add the same function of adding groups to user's profiles upon registration...can I just add a trigger? or should I make a separate action?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
11 years 4 months ago #229603 by krileon
Replied by krileon on topic CB Auto Actions help
Just add the after registration trigger to your existing action and it should work. Latest release has a search feature for the trigger dropdown so should be pretty easy to find by typing "reg" or some other similar keywords.


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