Is it possible to use CB Auto Actions to automatically populate the username field during registration?
I only use email for authentication on my site. I currently hide the username field from registration and the user profile. Using this method CB automatically creates the username by populating the field with the users fullname. This is problematic because I may have more than one user with the name Jon Smith for instance.
Yes, use the after registration trigger and a field action to change the username to whatever you like (e.g. the users email address). It will initially be set to their fullname, but then immediately be changed. Since it'd immediately be changed there should never be a conflict. CB 2.0 will allow you to specify a username fallback field though making this much easier.
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.
I setup an action based on CB Activity and selected onAfterUserRegistration as the trigger.
Should User be Automatic or Manual?
Do I use the Conditional operator as is REGEX?
Many thanks for your help.
Are there any known issues with upgrading from CB 1.9 to 2.0 with Joomla 2.5? I'm almost in production with my site and I'm hesitant to upgrade at this point.