Skip to Content Skip to Menu

Approval via Auto Action

  • jccpp
  • jccpp
  • OFFLINE
  • Posts: 18
  • Thanks: 0
  • Karma: 0
9 years 7 months ago #260306 by jccpp
Approval via Auto Action was created by jccpp
Hi,

first of all: Thank you very much for the "Changing approval workflow based on CB field value" Tutorial.


It works almost perfect - unfortunately for me users are not enabled - but approved in the backend and the status do not appear in the workflow module.

And there is also a Auto Action (email) if the user is approved. Which is not triggered by the "enable/diable" function.


Any idea how to change this?

I use:

After user confirm
(Trigger set to a special field for freelancers)
Query:

UPDATE `#__comprofiler` SET `approved`= '0' WHERE `user_id` = '[user_id]'

UPDATE `#__users` SET `block`= '1' WHERE `id`= '[user_id]'


Thank you in advance!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48479
  • Thanks: 8282
  • Karma: 1443
9 years 7 months ago #260341 by krileon
Replied by krileon on topic Approval via Auto Action
That usage sets the user as requiring approval directly through database queries. This means no moderator email is sent and no pending approval triggers will fire. They also don't become pending approval until their email address has been confirmed (as it's acting on the after confirmation trigger). The workflows module also won't show users pending approval unless admin approval is enabled in CB > Configuration > Registration. They however should show as pending in CB > User 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.

Moderators: beatnantkrileon
Powered by Kunena Forum