Skip to Content Skip to Menu

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

Auto action with a link performing an action

  • sbonta
  • sbonta
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
11 years 3 months ago #230174 by sbonta
Hi,
I would like to have an auto action that sends an email to a specific person that the user chooses when he edits this profile (so far no problem).

The body of the email request access to a specific group. I would like the body to have 2 links, Approve and the other decline.
In case the recipient knows the person making the request, I would like him to click the Approve link and this should add the user to a group.

Who should I write the link so when it is clicked it performs this action?

Thanks for your help.
Regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago #230256 by krileon
Replied by krileon on topic Auto action with a link performing an action
You can't, CB Auto Actions simply performs the specific action at the specified trigger; it can send the email for you, but that's about it. It does not implement endpoints or anything of the sort. You would need to develop a plugin that you'd supply the URL to that would add the user to a group based off the URLs variables.


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.

  • sbonta
  • sbonta
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
11 years 3 months ago #231007 by sbonta
Thanks Kyle

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago #231015 by krileon
Replied by krileon on topic Auto action with a link performing an action
This is possible now with the latest release. There are 2 new internal triggers called "Internal General" and "Internal Users". "Internal General" will apply the action to an empty user object so it's good for doing general tasks like some global database queries, etc.. "Internal Users" will apply the action to every user 1 by 1 so this can be pretty heavy. Both are triggered using the URLs provided within CB Auto Actions > Config > Internal, which can be used to manually navigate to or in CRON for example.


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.

  • sbonta
  • sbonta
  • OFFLINE
  • Posts: 4
  • Thanks: 0
  • Karma: 0
11 years 3 months ago #231228 by sbonta
Hi Kylle

This is great!

When you mention the latest version do you mean 1.9 or other?
I wasn't able to find it in version 9.

Regards

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 3 months ago #231230 by krileon
Replied by krileon on topic Auto action with a link performing an action
Latest release of CB Auto Actions, not CB (although it does require CB 1.9). Latest release is 5.1.2.


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