|
|
Forum moderator: bigblog |
uCoz Community For Webmasters Design Customization Custom avatars |
Custom avatars |
I see people can select default avatars and I was wondering custom avatars how might I add some default options for people I remember a post from a while back but I can't seem to find it. What folders do I need to create in file manager to add some?
Check Out Rservices & RandomAndroid at: http://http://www.randomness-fun.com/ Hosted by Ucoz also come come check out our official Android IRC chat room at: http://www.randomness-fun.com/index/rservices_irc_chat/0-34
|
Mark-ucoz-co-uk,
To create a collection of your own, follow the next steps: 1) Create a folder (in case it’s missing) named ava in the File Manager (letters in low case) 2) Create another folder with a random name inside the ava folder 3) Upload your avatars into the folder Use the file manager or the FTP–client to upload custom avatars. Each collection must have a separate folder and a name. |
... and to set up a default avatar (no avatar image), upload the avatar in whatever folder you want and then change the avatar url codes in each template where they are present to something like this:
Code <?if($USER_AVATAR_URL$)?> <img src="$USER_AVATAR_URL$" alt="$USERNAME$" /> <?else?> <img src="/path/to/default-avatar" alt="$USERNAME$" /> <?endif?> Note: some templates might have $_USER_AVATAR_URL$ and $_USERNAME$ instead. hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau sometimes i lurk here |
| |||
| |||