|
uCoz Community » uCoz Modules » Web Polls, Guestbook and Tests » Adding Avatars |
Adding Avatars |
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 but that failed. Any other ideas? |
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 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 ;)
|
| |||
| |||