Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

Joomla Users and Simple Display

  • Spiralmind
  • Spiralmind
  • OFFLINE
  • Posts: 259
  • Thanks: 16
  • Karma: 0
4 years 8 months ago - 4 years 8 months ago #317108 by Spiralmind
Replied by Spiralmind on topic Joomla Users and Simple Display
Not a problem, If I deny access to Users they cannot manage them in CB. However, they can only manage users under their access level so it's all good.

I am trying to figure out if we can make the username and email sync up if they change their email address in their profile? Right now I have their username set to be their email address. If they change their email the username remains the old email address.

Otherwise, I believe it's pretty much working as I hoped! Well done.
Attachments:
Last edit: 4 years 8 months ago by Spiralmind.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48551
  • Thanks: 8291
  • Karma: 1445
4 years 8 months ago #317113 by krileon
Replied by krileon on topic Joomla Users and Simple Display

Not a problem, If I deny access to Users they cannot manage them in CB. However, they can only manage users under their access level so it's all good.

CB inherits from core Joomla users component, but you should be able to change that in CB > User Management > Permissions.

I am trying to figure out if we can make the username and email sync up if they change their email address in their profile? Right now I have their username set to be their email address. If they change their email the username remains the old email address.

Set username to be changeable within CB > Configuration > User Profile. Next set the username field not to display on registration or profile edit in CB > Field Management. It should just use the Username Fallback as configured in CB > Configuration > User Profile, which could be set to Email. This I believe should keep them in sync otherwise you could use CB Auto Actions to push email to username on the after user update and after update user triggers.


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.

  • Spiralmind
  • Spiralmind
  • OFFLINE
  • Posts: 259
  • Thanks: 16
  • Karma: 0
4 years 8 months ago #317186 by Spiralmind
Replied by Spiralmind on topic Joomla Users and Simple Display

Set username to be changeable within CB > Configuration > User Profile. Next set the username field not to display on registration or profile edit in CB > Field Management. It should just use the Username Fallback as configured in CB > Configuration > User Profile, which could be set to Email. This I believe should keep them in sync otherwise you could use CB Auto Actions to push email to username on the after user update and after update user triggers.


Hello, this did indeed work for the first part. If they change their email they can login with it. The username does not update.

Is there any quick instructions on how to set this Auto Action up to do this?

Thank you

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48551
  • Thanks: 8291
  • Karma: 1445
4 years 8 months ago #317187 by krileon
Replied by krileon on topic Joomla Users and Simple Display
The fallback is likely only to apply to registration. To use CB Auto Actions to force them to synchronize you'd just use the below.

Global
Triggers: onAfterUpdateUser, onAfterUserUpdate
Type: Field
User: Automatic
Access: Everybody
Action
Field: Username
Operator: Set
Value:
Code:
[email]

Is there a reason you need them to synchronize? You can optionally just not use the username for display at all. To do this within CB > Configuration > General set "Name Format" to "Name Only". You can also use the layout parameters within the username or formatname fields to override what they display. On that same configuration page adjust "Login Method" so they can login via email address.


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.
The following user(s) said Thank You: Spiralmind

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

Moderators: beatnantkrileon
Powered by Kunena Forum