Skip to Content Skip to Menu

[SOLVED] How to see CB profile page of author with Events Booking

  • lio220
  • lio220
  • ONLINE
  • Posts: 22
  • Thanks: 3
  • Karma: 0
23 hours 55 minutes ago #344194 by lio220
Hello Krileon, 

I have another question, the dev of Events Booking's extensions asks me  "Do you know the format of the link to CB profile page of a given user ?" in order to create a link from their template to the CB profile page of an author in every event's page.

Can you help me to know the format of the link to a CB profile page ?
I've tried with what what i've found : mywebsite.com/index.php?option=com_comprofiler&task=userProfile&user=[ID]

But I can't check if it is the good format because I am unable to see a CB profile page on my website with that adress.

Meanwhile I set in Configuration / Profile / Access profile : Public 

I also activated short URL, does that change the format of the link ?

Thank you, 
Lionel 
 

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50551
  • Thanks: 8656
  • Karma: 1473
23 hours 51 minutes ago #344195 by krileon
Profile URLs are as follows.

index.php?option=com_comprofiler&view=userprofile&user=USER_ID_HERE

Note if the link is to the users own profile &user should be omitted.


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: lio220

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

  • lio220
  • lio220
  • ONLINE
  • Posts: 22
  • Thanks: 3
  • Karma: 0
21 hours 59 minutes ago - 21 hours 34 minutes ago #344197 by lio220
Thank you Krileon for that fast answer, 

I've tried this URL on the cbdemo website and it works perfectly to see a profile user, but I'm really unable to see profile on my website, no mater if I'm logged or not with the URL I am on like my homepage but with nothing else than header and footer, no content to see profile.
The only way I 've found is to see the connected profile by using the "view profile" button, but not any other profiles with the direct URL.

I have used the demo website as an admin to see parameters but I can't find any of them different from my configuration.

I set Community Builder / Configuration / Profile / View access profile : Public 

Any idea what could be wrong ?

Thank you, 
Lionel
Last edit: 21 hours 34 minutes ago by lio220.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50551
  • Thanks: 8656
  • Karma: 1473
20 hours 28 minutes ago #344200 by krileon
The above URL takes you to your homepage? That shouldn't be possible. The below for example should take you to your own profile if logged in.

index.php?option=com_comprofiler&view=userprofile

If you've a specific menu item associated with CB then you should append that to the URL as well via &Itemid. Example as follows.

index.php?option=com_comprofiler&view=userprofile&user=USER_ID_HERE&Itemid=MENU_ID_HERE


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: lio220

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

  • lio220
  • lio220
  • ONLINE
  • Posts: 22
  • Thanks: 3
  • Karma: 0
19 hours 44 minutes ago - 19 hours 14 minutes ago #344203 by lio220
No you are right it doesn't bring me to my homepage, it brings me to an empty page with just header and footer but no profile content.
It does that when I take : index.php?option=com_comprofiler&view=userprofile

When I try the second link with the Item menu associated, it works as expected and brings me to the profile page.

index.php?option=com_comprofiler&view=userprofile&user=USER_ID_HERE&Itemid=MENU_ID_HERE

I can let the text "MENU_ID_HERE" or put any number and it will works fine, MENU_ID just can't be empty.

Should I keep the Itemid, or should I do modification so that it’s no longer needed in the URL?

Thank you Krileon, 
Lionel
 
Last edit: 19 hours 14 minutes ago by lio220.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50551
  • Thanks: 8656
  • Karma: 1473
17 hours 45 minutes ago #344207 by krileon
Ideally you should set the &Itemid to whatever your Joomla menu item is to CBs profile page. It's just the id under the id column in Joomla's menu manager.


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: lio220

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

Moderators: beatnantkrileon
Powered by Kunena Forum