Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

Bug in Auto-Actions Plug-in?

  • cheryl123
  • cheryl123
  • OFFLINE
  • Posts: 10
  • Thanks: 1
  • Karma: 0
11 years 7 months ago #227594 by cheryl123
Bug in Auto-Actions Plug-in? was created by cheryl123
Dear all,
There seem to be bug(s) in the Auto-Action script that I installed on my live site.
Please indulge me as I list all the issues with it here:

1) When user retrieves Username/Password, an auto email that I created to send after a Profile update gets sent.
Qns: Why is the Forgot Login user details retrieval treated as a profile update and triggers the auto-action configured?


2) Supposedly there is a re-direction auto-action to be created, where it would take users to an article displaying payment instructions. But if this is turned on, the user will see this page when they use the Forgot Login function.

There seems to be some scripting issue as far as I can see.

How the intended process should be with using the Auto-Action triggers:
1. Forgot Login function should send user the login details.
2. User logins
2. User verifies/updates profile
3. Update/Submit is clicked
4. Admin and user gets email notification [triggered by auto-action script]
5. Redirection to payment instructions with thank you message displayed[triggered by auto-action script]

The actions are turned on during a membership renewal exercise, and then switched off when it is not active.

Could one of the developer enlighten me on how to ensure the auto-action triggers are working as how it should be intended.
Would appreciate if I get an answer within a day or 2.

Thank you.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 7 months ago #227617 by krileon
Replied by krileon on topic Bug in Auto-Actions Plug-in?

1) When user retrieves Username/Password, an auto email that I created to send after a Profile update gets sent.
Qns: Why is the Forgot Login user details retrieval treated as a profile update and triggers the auto-action configured?

Because it is a profile update. CB and Joomla profile update triggers should and need to fire when a password changes. CB fires profile update triggers on password change. So your action acting on this is completely normal.

2) Supposedly there is a re-direction auto-action to be created, where it would take users to an article displaying payment instructions. But if this is turned on, the user will see this page when they use the Forgot Login function

If you redirect after profile update, then yes.

Could one of the developer enlighten me on how to ensure the auto-action triggers are working as how it should be intended.

It is working perfectly fine. It's acting on the trigger being fired as it's designed to. CB Auto Actions just performs an action on the trigger specified.

If you want to exclude forgot login profile update trigger usage then just add a conditional to your action to ensure they're at profile edit specifically as quite a few things will fire the after profile update trigger (everything that changes profile values should). Example conditional as follows.

[post_task] Equal To saveUserEdit


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.

  • cheryl123
  • cheryl123
  • OFFLINE
  • Posts: 10
  • Thanks: 1
  • Karma: 0
11 years 7 months ago #227899 by cheryl123
Replied by cheryl123 on topic Bug in Auto-Actions Plug-in?
Hi Krileon.
I added the [post_task] condition and tested on Saturday it worked and triggered the notifications.

I just got my colleagues to try the same, but no notifications were received.
Except for the Profile Logger.

I had a go too, but also no notifications received.

Any idea what could it be that caused the missing notification to trigger?!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 7 months ago #227945 by krileon
Replied by krileon on topic Bug in Auto-Actions Plug-in?
I've no idea, again CB Auto Actions just performs the action on the triggers you supply. It doesn't do anything beyond that. Conditionals thrown in becomes tricky and you need to test them thoroughly. Remove the conditional and see if your action is then working.


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.

  • cheryl123
  • cheryl123
  • OFFLINE
  • Posts: 10
  • Thanks: 1
  • Karma: 0
11 years 7 months ago - 11 years 7 months ago #227991 by cheryl123
Replied by cheryl123 on topic Bug in Auto-Actions Plug-in?
But, if the conditions are removed, then the triggers will not be functioning as how it should be.
Hmm...

It is quite frustrating to know it sometimes work, and sometimes it doesn't.

Any better work around for this?

Or at least educate how should the conditional queries be used in my trigger.

How should the condition be if the profile has a drop down list selection to pick?
THe trigger should fire only after this drop down list selection is completed.

[field name] Equal To ?


Please advise. Thanks.
Last edit: 11 years 7 months ago by cheryl123.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 7 months ago #228019 by krileon
Replied by krileon on topic Bug in Auto-Actions Plug-in?

But, if the conditions are removed, then the triggers will not be functioning as how it should be.
Hmm...

It's just a test to make sure your action is working in profile edit for your other users to see if the conditional was the problem. It could also be due to the access parameter if not set to Everybody, etc..

It is quite frustrating to know it sometimes work, and sometimes it doesn't.

The only reason for this is if the conditional didn't match or the access permission didn't match for the user you're using.

How should the condition be if the profile has a drop down list selection to pick?

If a dropdown field changed or if the dropdown field has a value at all? Below examples cover both situations.

Has Value:
[fieldname] Not Empty

Value Changed:
[var1_fieldname] Not Equal To [var3_fieldname]


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