Skip to Content Skip to Menu

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

After user registration auto action and confirmation email

  • Wirex
  • Wirex
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
8 years 6 months ago #280674 by Wirex
Hi I have created an auto action to login user right after registration:

Triggers: onAfterUserRegistration
Type: Login/Logout
Action: Login
Method: username

I have put it as first action on list. It works as expected but confirmation message (after new user registration) to user and to moderators are not sent now.
When I turned of this action emails are sent again.

Any idea what is the issue?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 6 months ago #280705 by krileon
You don't need to create an auto action. One is built directly into CB Auto Actions as a System Action and just needs to be enabled. Ensure you've latest nightly CB Auto Actions installed as well if the system action is missing.

If you want to use a custom action then I suggest using the below.

Global
Triggers: onAfterUserConfirmation, onAfterSaveUserRegistration
Type: Login/Logout
User: Automatic
Access: Everybody
Conditions
1: [approved] Equal To 1
2: [confirmed] Equal To 1
Action
Mode: Login
Method: Username
Username: [username]
Redirect: index.php


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.

  • Wirex
  • Wirex
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
8 years 6 months ago #280794 by Wirex
Hi Kyle,

Thanks for suggestion. I've used system auto action however it dose not solve issue with sending first email to user and to admin. When I'm turning this action of emails are sent.

I have latest nightly build of auto actions installed. Any idea what can causing this?


Thanks and regards,
Wirex

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

Moderators: beatnantkrileon
Powered by Kunena Forum