Elxis CMS Forum

Support => General => Topic started by: Creo on May 22, 2011, 06:08:20

Title: Не видны аватары. Только альтернативный текст
Post by: Creo on May 22, 2011, 06:08:20
Привет всем  ;)
Я недавно начал пользоваться CMS Elxis, все хорошо, все работает, постепенно разбираюсь. Но возникла одна проблема, - в комментариях не отображаются аватары пользователей, включая административный
Прикрепил скриншот...
Кто в курсе, как это можно решить, - буду благодарен за помощь :)

[attachment deleted by admin]
Title: Re: Не видны аватары. Только альтернативный текст
Post by: datahell on May 23, 2011, 18:09:57
Most probably a files permissions issue.

Right click -> view source -> get the url to the image.
Paste that url to your browser. Is the image showing?
Title: Re: Не видны аватары. Только альтернативный текст
Post by: Creo on May 23, 2011, 19:39:18
Hi, datahell, thanx for response
http://www.humpalumpa.ru/newsflashes/newsflash/extending-elxis.html - problems page ;)
Of  cource, i am copied and saw the url for the image but in path no image.
Attach screenshot
thanx before hand

[attachment deleted by admin]
Title: Re: Не видны аватары. Только альтернативный текст
Post by: datahell on May 23, 2011, 20:00:17
Sorry for the english in the Russian forum but I dont speak Russian.

This is the url to the avatar:
Code: [Select]
<img src="http://www.humpalumpa.ru/images/avatars/" width="50" height="50" alt="Creo" title="Creo" border="0" />
The above is wrong as the image file is missing. Can you please edit your profile and upload an avatar?
Title: Re: Не видны аватары. Только альтернативный текст
Post by: Creo on May 24, 2011, 07:26:06
No problem. I edited my profile ;)
Video:
http://www.youtube.com/watch?v=NBfuQZjkQrg

ps: if u can move this post, we may continue our discussion in English :)
regards..
Title: Bug fix on comments avatars
Post by: datahell on May 24, 2011, 20:32:50
I am checking it right now to see why this happens.
Wait for my reply.

Problem found. You need to do a small fix on a file.
open file components/com_content/content.html.php
go to line 984 (elxis 2009.3)
change this:
$avatar_url = $mainframe->getCfg('ssl_live_site').'/images/avatars/'.$avatar;
to this:
$avatar_url = $mainframe->getCfg('ssl_live_site').'/images/avatars/'.$com->avatar;

Thanks for the bug report!
I updated the elxis 2009.3 release with this fix (the same fix was also applied in eBlog's comments).
Title: Re: Не видны аватары. Только альтернативный текст
Post by: Creo on May 25, 2011, 05:18:47
Thanx for you  ;)
All works is fine now  :)
Good luck!