• Page 1 of 1
  • 1
uCoz Community » uCoz Modules » Web Polls, Guestbook and Tests » Adding Avatars
Adding Avatars
CrisJako
Posts: 43
Reputation: 1

Message # 1 | 1:48 PM
Hello

I no the guest book is for guests but I want to use it for some where for everybody to post what they like. Im struggling to find out how to add avatars next to the users name when they post.

I tried
$_AVATAR$

but that failed.

Any other ideas?

Animorph
Posts: 2856
Reputation: 189

Message # 2 | 2:26 PM
go to CP ---> Design ---> Design management (templates) ---> guestbook ---> appearance of entries

paste this code before $MESSAGE$

Code
<?if($USER_AVATAR_URL$)?>  <img style="padding-right:13px" align="left" title="$USERNAME$" src="$USER_AVATAR_URL$" width="70" height="70" border="0"><?else?><?if($USER_LOGGED_IN$)?><img style="padding-right:13px" align="left" title="$USERNAME$" src="/noavatrs.gif"  width="70" height="70" border="0"><?else?><img style="padding-right:13px" align="left" title="$USERNAME$" src="/noavatars.gif"  width="70" height="70"  border="0"><?endif?><?endif?>

this should work , and you need to replace the no avatar links with your no avatar image for users that don't have an avatar displayed smile

Note: this might have some spellings mistakes because i'm not home and i wrote it really quickly


To busy building a passive income online ;)
CrisJako
Posts: 43
Reputation: 1

Message # 3 | 2:57 PM
Thank you for your help once again Animorph. Works like a dream.

Added (2011-02-20, 8:57 Am)
---------------------------------------------
One last thing, is it possible to remove the numbering next to each post?

Animorph
Posts: 2856
Reputation: 189

Message # 4 | 5:43 PM
CrisJako, yes just go to CP ---> Design ---> Design management (templates) ---> Guestbook ---> appearance of entries ---->

and remove $NUMBER$


To busy building a passive income online ;)
CrisJako
Posts: 43
Reputation: 1

Message # 5 | 9:07 PM
Once again Thanks biggrin
Imdad
Posts: 1
Reputation: 0

Message # 6 | 4:46 PM
Thanks
uCoz Community » uCoz Modules » Web Polls, Guestbook and Tests » Adding Avatars
  • Page 1 of 1
  • 1
Search: