1
bloodloss
Adding user avatars to a news item.
  • 2006/7/15 18:48

  • bloodloss

  • Just popping in

  • Posts: 5

  • Since: 2006/7/15


So I have this in my template code under news_item

<div class="itemInfo">
<span class="itemPoster"><{$lang_postedby}> <{$story.poster}></span> <span class="itemPostDate"><{$lang_on}> <{$story.posttime}></span> (<span class="itemStats"><{$story.hits}> <{$lang_reads}></span>)
</div>

Would I reference a user avatar with:

<img class="comUserImg" src="<{$xoops_upload_url}>/<{$story.poster.avatar}>" alt="" /><div class="comUserStat"> ?

I stole that code from the comment template code.

When I do that, it doesn't seem to work. Any hints?

Thanks!
Frank

Login

Who's Online

222 user(s) are online (148 user(s) are browsing Support Forums)


Members: 0


Guests: 222


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits