[SOLVED] Changed Avatar is not displaying

9 years 9 months ago - 9 years 8 months ago #247093 by lexena
Here is my info:
PHP version: 5.3
Latest CB version: 1.9.1
Latest Joomla version: 3.3.2

After numerous CB installations, I have never had an issue like this before and I scoured the forum prior to making this post.

I was testing functionality of the profile and changed my image, which I have set to automatically be approved. I refreshed my browser, cleared cache for the browser (no caching in Joomla and the avatar never changes from the default avatar. I also checked my profile record in User Management and I can see the updated Avatar there! :ohmy:

Please see the attached images and Firebug code below and advise. Thanks in advance! :)
<div class="cb_field">
<div id="cbfv_29">
<img class="cbFullPict" title="Lexe" alt="Lexe" src="http://.../components/com_comprofiler/plugin/templates/luna/images/avatar/pending_n.png">
</div>


Attachments:

Please Log in to join the conversation.

9 years 9 months ago - 9 years 9 months ago #247100 by krileon
Replied by krileon on topic Changed Avatar is not displaying
Disabling image approval doesn't do anything for images already pending approval. Once disabled you can re-upload and it shouldn't need approval or you can approve the pending approval.


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 to join the conversation.

9 years 9 months ago #247127 by lexena
Replied by lexena on topic Changed Avatar is not displaying
Since the Approval function is disabled, there isn't any Approve option available in the User Management drop-down. Plus I removed the image and re-uploaded an image from the User management facility and the avatar still update on the front-end profile. I even updated the avatar from the front-end profile page with a stock gallery avatar and got the same result as stated above. :S

Any other ideas?

Thanks
Lexe

Please Log in to join the conversation.

9 years 9 months ago #247147 by krileon
Replied by krileon on topic Changed Avatar is not displaying
Enable approval, approve the image, then disable approval. Once done see if future uploads still have this issue.


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 to join the conversation.

9 years 9 months ago #247151 by lexena
Replied by lexena on topic Changed Avatar is not displaying

krileon wrote: Enable approval, approve the image, then disable approval. Once done see if future uploads still have this issue.


There was no change so I turned on debugging and here are the errors that appear on the User profile page:
Notice: Undefined property: JUser::$avatar in /home/html/tirehost/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 2843

Notice: Undefined property: JUser::$avatarapproved in /home/html/tirehost/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 2844

Notice: Undefined property: JUser::$avatar in /home/html/tirehost/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 2431

Notice: Undefined property: JUser::$hits in /home/html/tirehost/components/com_comprofiler/plugin/user/plug_cbcore/cb.core.php on line 3249

Please advise. Thanks!

Lexe

Please Log in to join the conversation.

9 years 8 months ago #247283 by krileon
Replied by krileon on topic Changed Avatar is not displaying
That'd be the issue. You've something installed hijacking the $user object and replacing it with a Joomla user object. Disable non-core CB plugins 1 by 1 within CB > Plugin Management until issue goes away. If it doesn't repeat with 3rd party Joomla user/system plugins.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.235 seconds

Facebook Twitter LinkedIn