1
cynikalone
new members block avatar
  • 2006/1/10 2:46

  • cynikalone

  • Just popping in

  • Posts: 11

  • Since: 2006/1/4 1


Hello. Is there anyway I can have the default avatar (blank.gif) show in this block with a user that hasn't selected an avatar?

Seems to me that something needs to be added here: /system_block_newusers.html

....but I'm clueless.

<table cellspacing="1" class="outer">
  <{foreach 
item=user from=$block.users}>
    <
tr class="<{cycle values="even,odd"}>" valign="middle">
      <
td align="center">
      <{if 
$user.avatar != ""}>
      <
img src="<{$user.avatar}>" alt="" width="32" /><br />
      <{/if}>
      <
a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"><{$user.name}>a>
      td>
      <
td align="center"><{$user.joindate}>td>
    tr>
  <{/foreach}>
table>

Login

Who's Online

328 user(s) are online (274 user(s) are browsing Support Forums)


Members: 0


Guests: 328


more...

Donat-O-Meter

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

Latest GitHub Commits