PortalParts.com Site

 Forum Index > Geeklog > General Geeklog New Topic Post Reply
 avatar in comments
 |  Printable Version
koalasoft
 January 04 2008 14:35 PM (Read 2060 times)  
Forum Full Poster
Full Poster

Status: offline

Registered: 06/01/05
Posts: 10

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!! :mrgreen:


 
Profile Email Website PM
Quote
fakestar
 May 14 2008 03:37 AM  
Forum Full Poster
Full Poster

Status: offline

Registered: 04/13/08
Posts: 10

use {author_photo} instead of {user_photo}, this works for me.

Hope it helps. :wink:


 
Profile Email PM
Quote
Content generated in: 0.13 seconds
New Topic Post Reply



 All times are CST. The time is now 05:02 AM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content