Skip to Content Skip to Menu

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

[#5422] 'Messages' Tab with Comments Field no avatar display

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
9 years 3 months ago - 9 years 3 months ago #268114 by jpdenny1
Hello CB, I'm running latest everything.

I have a problem with a 'Messages' Tab I have and the display of an Avatar on my Comment Field.

Case: when user logs in they are directed to: index.php?option=com_comprofiler&view=userprofile and attachment 1 is seen i.e. no avatar BUT when they click the Menu Item 'Profile Page' - directed to same url, it shows just fine attachment 2.

Just another point is that when a user that doesn't have this 'Messages' Tab on their profile visits someone that does - attachment 1 applies - no avatar thumbnails.

NB, this is not activity stream but tab with comment field.

Hoping there's a simple solution. Any tips advice?

Kind regards

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9
Attachments:
Last edit: 9 years 3 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #268139 by krileon
Avatar display in CB Activity is entirely based off getFields API response from the avatar field. Ensure it's on a public and published tab and that the avatar field is set to display on profile. Your login redirect URL should also include the Itemid of your existing public and published Joomla menu item to CBs profile page as Joomla could be causing issues with the live site paths to the avatar images.


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.

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
9 years 3 months ago #268147 by jpdenny1
Thanks Kyle. (This is avatar display in comment field not activity)

Portrait tab is public and published. Avatar field is published. I set the 'Messages' tab to public - was registered.

I set CB Activity to Public- was registered. I set the Menu item to Public - was registered. Still doesn't work.

Your login redirect URL should also include the Itemid of your existing public and published Joomla menu item to CBs profile page as Joomla could be causing issues with the live site paths to the avatar images.


If menu id is: 123. What url would I put in instead?

Kind regards

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago - 9 years 3 months ago #268160 by krileon
Press F12 to open the developer console. Now cause your issue and review the Console tab to see if there's a bunch of missing image errors. Seams like the path to the images is missing or broken and can cause what you're experiencing. Ensure live_site in configuration.php of Joomla root is set to '' (empty) as well. If you've caching enabled ensure you've purged the cache.

If menu id is: 123. What url would I put in instead?

Add &Itemid=123 to the 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.
Last edit: 9 years 3 months ago by krileon.

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

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
9 years 3 months ago - 9 years 3 months ago #268166 by jpdenny1
Thanks again Kyle. It is half fixed, the less important half unfortunately. Adding the &Itemid= fixed when the user with this tab logs in - the display is fine. Great thanks :-)

If a regular user logs in (doesn't have this tab, but is connected to the user that does) and visits the profile - with this tab showing, the avatars are broken still.
Url here is: http://mydomain/cb-profile/userprofile/username

Config.php shows: public $live_site = ''; so seems fine.

Console: attachment 1 errors there alright. Site permission a user can view if connected to. No idea what they mean.

Purge cache regularly with useful extension.

Hopefully you have one last bit of magic to throw at the situation!

Kind regards

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9
Attachments:
Last edit: 9 years 3 months ago by jpdenny1. Reason: comma

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
9 years 3 months ago #268198 by krileon
Looks like a fatal error for the jQuery binding of the stream. I don't see how that's possible though as the stream loads the jQuery and binds it on display. Please PM backend super administrator login credentials and will take a look. Please include instructions to duplicate your issue exactly.


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