Skip to Content Skip to Menu

Need to have username only in URL and mobile responsive issue

  • plouca
  • plouca
  • OFFLINE
  • Posts: 8
  • Thanks: 1
  • Karma: 0
2 years 8 months ago #328735 by plouca
Thank you, I now understand how to perform the (manual) entry.

If we purchase a subscription for using "CB Auto Actions", is there any documentation on how to achieve for example having the USER_ID or USERNAME in profile URL?


Regards,


Petros

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 8 months ago #328754 by krileon
The below would set the Profile URL field automatically using CB Auto Actions.

Global
Triggers: onAfterUserRegistration, onAfterNewUser, onAfterUpdateUser, onAfterUserUpdate
Type: Field
User: Automatic
Access: Everybody
Action
Field: Profile URL
Operator: Set
Value: [username]

This would set it to username. CB Auto Actions has built in Profile URL field support so it will safely convert it to a URL safe alias and check for duplicates (it will skip updating the field if a duplicate is found, but should never happen since usernames are always unique).


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.

Moderators: beatnantkrileon
Powered by Kunena Forum