Use triggers to send email

10 years 11 months ago #148145 by Ducatiklubben
Replied by Ducatiklubben on topic Re:Use triggers to send email
krileon wrote:

What you could do is send the user_id to your script file then query the _users database table with the user_id for the new username, this would give you the desired results IF the username is actually being updated.


yeah, that's a possibility doing it like that. Then we could also have a sleep function in the php script, if we need it. It should not be needed if URL plugin is executed after the SQL action plugin. The username is updated with the SQL action script. That's tested and verified.

Please Log in to join the conversation.

10 years 11 months ago #148246 by krileon
Replied by krileon on topic Re:Use triggers to send email
You could also use the PHP script to update the username AND send the email then you wouldn't have to worry about execution order.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.341 seconds

Facebook Twitter LinkedIn