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
8 years 7 months ago - 7 years 11 months ago #279914 by AchLive
Hi, I have some questions on the user profile page.
1) How can you have a profile page visible even to users not registered with the site.
2) I would like to customize the title of the profile page with "+ Name + Last Name + Site Name" or "Formatted Name + Site Name"
3) I would like to customize the SEF url that contains "Name + Last Name" displayed user.
Thanks for the support
Last edit: 7 years 11 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

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

1) How can you have a profile page visible even to users not registered with the site.

Adjust the profile view access level within CB > Configuration > User Profile.

2) I would like to customize the title of the profile page with "+ Name + Last Name + Site Name" or "Formatted Name + Site Name"

Edit the "User Profile Page Title" tab within CB > Tab Management and adjust "User Profile Title text" as needed (supports substitutions) or its default language string _UE_PROFILE_TITLE_TEXT.

3) I would like to customize the SEF url that contains "Name + Last Name" displayed user.

Currently you can't without modifying the router.php.

I recommend reading the CB 2.0 Primer Book carefully and maybe watching a few of our videos below to become more familiar with CB.

www.youtube.com/playlist?list=PLp0puRITgC7PuyzPsMUECDI46VE7IFSAX


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
8 years 7 months ago - 8 years 7 months ago #279963 by AchLive
Replied by AchLive on topic User profile page - Url and Custom Title
Question 1) Thanks for reminding me, my question was silly :)
Question 2) With your suggestions I can change the title of image canvas.
I want to change the page title tag <title> ......... </ title>.
If I leave blank the Title field page in the menu item to "Profile" then appears in the <title> tag FormatName </ title> set in CB general configuration.
If I write Page title in the menu entry for the "Profile" then appears in the <title> My Text </ title> and I lose FormatName value.
I would create a <title> FormatName + MyText </ title>
Question 3)At the moment I do not know how to properly change the file router.php

Do you have a suggestion for the change to do to router.php files to have the same value in the URL set in CB General Configuration field FormatName?

Thanks for the support
Last edit: 8 years 7 months ago by AchLive.

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

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

Question 2) With your suggestions I can change the title of image canvas.
I want to change the page title tag <title> ......... </ title>.
If I leave blank the Title field page in the menu item to "Profile" then appears in the <title> tag FormatName </ title> set in CB general configuration.
If I write Page title in the menu entry for the "Profile" then appears in the <title> My Text </ title> and I lose FormatName value.
I would create a <title> FormatName + MyText </ title>

The profile page title will adjust to whatever "Name Format" is set to within CB > Configuration > General. Only other way to change it is using CB Auto Actions acting on onAfterUserProfileDisplay with a Code action and Method set to "Page Title".

Question 3)At the moment I do not know how to properly change the file router.php

Do you have a suggestion for the change to do to router.php files to have the same value in the URL set in CB General Configuration field FormatName?

We can not help you with core edits. Name is not unique; so no it will not use that setting and will be username or user id. In a later release we'll be providing functionality to customize the profile SEF URL.


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 #287830 by AchLive
Replied by AchLive on topic User profile page - Url and Custom Title

Question 3)At the moment I do not know how to properly change the file router.php

Do you have a suggestion for the change to do to router.php files to have the same value in the URL set in CB General Configuration field FormatName?

We can not help you with core edits. Name is not unique; so no it will not use that setting and will be username or user id. In a later release we'll be providing functionality to customize the profile SEF URL.[/quote]

Hi krileon
I read this blog post , it seems that my request now can be performed with the router upgrade.
I would like to know if there is a manual where to figure out how to set the sef url customized with the addition of fields (such as first name).
I also read this forge.joomlapolis.com/issues/5747 but do not understand how to proceed.
In my installation (CB 2.0.15 + build.2016.11.14.14.09.35.fac6068a1) I get a url to the user profile like this / account / 337-username where 337 is the user id
Can you tell me how to have a url type / account /name-lastname?
Thanks for the support

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 #287836 by krileon
Replied by krileon on topic User profile page - Url and Custom Title
Custom profile URLs are not yet possible. That feature has not been merged and released yet. It is still being reviewed and adjusted as needed. Regarding your question once this is implemented you'd need to update the soon to be added Profile URL (alias) field with CB Auto Actions, but as I've already explained name is not unique and that will never work. The idea of that feature ticket is it adds a new field to a users profile edit page where they can supply a custom profile url name.


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