Welcome to Geeklog Thursday, September 19 2019 @ 03:34 pm EDT

Geeklog Forums

avatar in comments


Status: offline

koalasoft

Forum User
Full Member
Registered: 09/03/05
Posts: 242
Location:Mexico
as I can put avatar of a user in the block of commentaries? osea, when it puts a commentary that to a flank shows avatar of this member. add the lines in comment.thml:
PHP Formatted Code
{user_photo} and
{contributedby_photo}


for example:

PHP Formatted Code
<div class="comment" style="padding-left: {indent}px">
  <div class="commenttitle">{title}</div>
  <div>{lang_authoredby} {start_author_anchortag}{author}{end_author_anchortag} {lang_on}
{date}</div>
  <div style="vertical-align: top">{user_photo}{comments}</div>
  <div>
   <span {hide_if_preview}>
    [ <a href="{reply_link}">{lang_replytothis}</a> {parent_link} {delete_option} | <a href="{site_url}/comment.php?mode=view&amp;cid={cid}" rel="self bookmark" title="{lang_permlink}">#</a> ]
  </span>
  </div>
</div>


and it does not show anything, some other idea?

Grettings!! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece ** ::Geeklog support in Spanish::

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
The variable is {author_photo}

bye, Dirk

Status: offline

koalasoft

Forum User
Full Member
Registered: 09/03/05
Posts: 242
Location:Mexico
working excelent !! thank's !!

Grettings!! Mr. Green
**Cuando el Alumno esta listo, el Maestro Aparece ** ::Geeklog support in Spanish::

All times are EDT. The time is now 03:34 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content