We have two user types for Community Builder registration and they each require a different Registration Pending Approval email, but Community Builder allows for only a single mail for all registrations (as specified under the registration tab in CB configuration).
I've seen the posting about how to create the multiple emails.
The problem that I'm having is how to require the email confirmation using AutoActions.
I've set Require Email Confirmation in Community Builder configuration to No.
I've created an AutoAction to set the confirmed field to false.
But when the user registers they are confirmed, approved and enabled.
What do I need to do in AutoActions to require an email confirmation?
How are you determining user type? If it's by a CB field then you don't need CB Auto Actions for this at all. You can just use IF substitutions in your Pending/Welcome emails to change what the message should say. Example as follows.
[cb:if cb_type="Teacher"]Text to send to the Teacher type.[/cb:if]
[cb:if cb_type="Student"]Text to send to the Student type.[/cb:if]
More information on substitutions can be found in the below tutorial.
If still going to use CB Auto Actions then the below triggers should work for the various situations.
onAfterUserRegistration = After user has registered
onAfterUserApproval = After user has been approved by an Admin.
onAfterUserConfirm = After user has confirmed their email address.
onBeforeUserActive = Before user has become completely active (confirmed, approved, and enabled)
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.