Skip to Content Skip to Menu

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

[SOLVED] User profile page - Url and Custom Title

  • AchLive
  • AchLive
  • OFFLINE
  • Posts: 253
  • Thanks: 14
  • Karma: 3
7 years 11 months ago - 7 years 11 months ago #287844 by AchLive
Replied by AchLive on topic User profile page - Url and Custom Title
Thanks for the reply.
But I do not understand why my links to the profile shows the ID number while on your demo site shows only the username
My links user profile : /account/337-username
Link on your site Demo user profile :/account/username

Attachment not found


[strike]In your demo site you are also displayed the title page with the username[/strike]Solved It depends on whether the title of the menu is blank page then displays the item Name and Last Name
How can I get the same result?
Thank you
Attachments:
Last edit: 7 years 11 months ago by AchLive. Reason: Attachment img

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
7 years 11 months ago #287862 by krileon
Replied by krileon on topic User profile page - Url and Custom Title

But I do not understand why my links to the profile shows the ID number while on your demo site shows only the username

The user id is prefixed if the username is not URL safe. This is mandatory as there's no other way to revert the URL and determine who it belongs to. In this case the below is how it used to look.

OLD: domain/menu-alias/userprofile/userid
NEW: domain/menu-alias/userid-username

How can I get the same result?

Page Title is always the name style you've configured in CB > Configuration > General. You can customize this further using CB Auto Actions and a Code action acting on onAfterUserProfileDisplay trigger with Method set to Page Title.


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.

  • AchLive
  • AchLive
  • OFFLINE
  • Posts: 253
  • Thanks: 14
  • Karma: 3
7 years 11 months ago - 7 years 11 months ago #287952 by AchLive
Replied by AchLive on topic User profile page - Url and Custom Title
Perhaps I did not explain well.
My question is how you got the link to the user profile page without prefix ID on the demo site.
On my site the link to the user profile page is "domain/menu-alias/userprofile/userid-username"
while on your site does not have the ID prefix "domain/menu-alias/userprofile/username" as you see from the picture I attachedin in the previous post
Thank you
Last edit: 7 years 11 months ago by AchLive.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48454
  • Thanks: 8280
  • Karma: 1443
7 years 11 months ago #287971 by krileon
Replied by krileon on topic User profile page - Url and Custom Title

My question is how you got the link to the user profile page without prefix ID on the demo site.

If the username is not URL safe it will prefix it with user id. A username of "demo" or "susan" is just a simple string which is URL safe so it does not need the user id prefix.


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.

  • AchLive
  • AchLive
  • OFFLINE
  • Posts: 253
  • Thanks: 14
  • Karma: 3
7 years 11 months ago #288035 by AchLive
Replied by AchLive on topic User profile page - Url and Custom Title
It seems that the problem is resolved after updating to the latest CB version 2.0.15+build.2016.11.17.23.30.51.00b5b220a while I was using the version 2.0.15+build.2016.10.20.01.58.15.24cb212fa
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum