uCoz Community » uCoz Modules » Site Users » Avatars
Avatars
Sunny
Posts: 9296
Reputation: 456

Message # 1 | 9:55 AM
Quote
An avatar is a computer user's representation of himself/herself or alter ego, whether in the form of a three-dimensional model used in computer games, a two-dimensional icon (picture) used on Internet forums and other communities, or a text construct found on early systems such as MUDs. It is an “object” representing the embodiment of the user.


http://en.wikipedia.org/wiki/Avatar_ (computing)


An avatar reflects user’s personality so when choosing an avatar remember: it will influence the way other users will see you. Some avatars can provoke irritation or rejection, and most people will transfer these emotions on the attitude towards you. So, there are some recommendations:

1. Your avatar must not be too big. The size of more than 150х150 px often corrupts forum design. Optimal size is 100х100.

2. Your avatar must not weigh much, because one forum page may turn to be quite expensive for some users. Optimal weight is 5-10 Kbyte.

3. If your avatar is animated it must not flicker too often. If it is not animated it must not be a mishmash of bright colors.

4. Avoid dirty inscriptions on avatars. Some users think it’s cool but it only shows your childishness and immaturity.

5. Avoid sexual images. If you are not a member of adult forum then this only means that you have problems with sex.


When registering a user can choose an avatar out of more than 20 default sets. If website administrator allowed Users group to Upload own avatars in user group settings, then you can set an avatar from your computer. You can also change max size of uploaded avatars. E.g.:

Maximal size (Kbytes) for uploaded avatars: 150 Kb
Maximal dimensions (Pixels) for uploaded avatars: 140x140Px

In the Control Panel in Users – Avatar Management (Main » Users » Avatars) you can select the default sets from which users will be able to choose their avatars. To disable a set (sets) remove the corresponding checkmarks.



You can also create your own avatar collections. Just follow the steps below:

  • Create a folder named "ava" in the File Manager (letters in low case).
  • Upload folders with avatars to the "ava" folder by means of any FTP client (a separate folder for each set). A set must contain not more than 100 avatars.

Your collections will have the names "Collection 1", "Collection 2", "Collection 3" and so on. You can’t give your own names to the collections.


Quote
How can I do so that Guests have definite avatars in forum (e.g. an image with the inscription "Guest").


Code
<?if($USER_AVATAR_URL$)?><IMG SRC="$USER_AVATAR_URL$" BORDER="0"><?else?> <IMG SRC="/noavatar.gif" BORDER="0"> <?endif?>


Example of a personal block with avatars:

Code

<table border="0" cellpadding="2" cellspacing="1" width="194" style="background-color: #F6A37B;">
<tr><td style="background-image:url('http://s101.ucoz.net/t/161/7.gif'); background-color:#FFC5A9; height: 25px; color:#CC5D28; padding-left:25px;"><b>Personal data</b></td></tr>
<tr><td align="center" style="background:#FFFAF8;padding:7px;">
<?if($LOGIN_FORM$)?>
Welcome, Guest!
<div> </div>
<IMG SRC="http://bridog.co.cc/ava1.gif" BORDER="0">
<div> </div>
$LOGIN_FORM$
<?else?>

<?if($USER_LOGGED_IN$)?>
Welcome, $USERNAME$!
<div> </div>
<?if($USER_AVATAR_URL$)?><IMG SRC="$USER_AVATAR_URL$" BORDER="0">
<?else?> <IMG SRC="http://bridog.co.cc/ava2.gif" BORDER="0"> <?endif?>
<div> </div>
<a href="$PERSONAL_PAGE_LINK$" title="My profile">My profile</a>
<div> </div>
<a href="$LOGOUT_LINK$" title="Log out">Log out</a>
<?endif?>
<?endif?>
</td></tr>
</table>


Here is how it looks:

For a Guest:



For users with avatars:



For users without avatars:






How to display user's avatar in an entry: http://forum.ucoz.com/forum/7-3388-95072-16-1347889854

I'm not active on the forum anymore. Please contact other forum staff.
BigFanJimCarrey
Posts: 4
Reputation: 0

Message # 76 | 5:16 AM
NTP, THANKS that really help me alot xmas

Added (2009-12-24, 11:16 Pm)
---------------------------------------------
NTP, when i put Collection1 it said Name contains illegal characters what does that mean?


I LOVE JIM CARREY I hope you do too. :-) have a good day :-)
warezparadise
Posts: 75
Reputation: 0

Message # 77 | 3:52 AM
I have added a block using builder in my website which shows about profile and other thing..Check this image for better understanding:-
Code
http://i48.tinypic.com/a9ocoi.jpg

And for displaying avatars of users I have used this code:-
<img src="$USER_AVATAR_URL$">
It worked fine..

But I wanted that when any guest visit my website this image should be displayed in that block.

Code
http://i47.tinypic.com/ws2p13.jpg

And for user without avatars this image:-
Code
http://i48.tinypic.com/2qn2l9c.jpg

Please tell me how Can I do so...

And also tell me that in forum how can I display an avatar for guest..

Post edited by warezparadise - Sunday, 2010-01-10, 3:54 AM
Tommy
Posts: 454
Reputation: 38

Message # 78 | 9:28 AM
warezparadise, read this post. It may help http://www.forum.ucoz.com/forum/25-7855-40612-16-1252557754
"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
khunbe
Posts: 1
Reputation: 0

Message # 79 | 3:56 AM
Hi. I have got one question. I can't change the error message to our language. The error messages : that Avatar dimensions cannot exceed 500x500Px and 200KbIncorrect password. Only Latin letters, digits, a hyphen and an underscore are acceptable. Minimum length is 2 characters, maximum - 15. help ME
khunbe
Sunny
Posts: 9296
Reputation: 456

Message # 80 | 9:07 AM
khunbe, probably a script like this - http://forum.ucoz.com/forum/9-4835-1 - could help.
I'm not active on the forum anymore. Please contact other forum staff.
PatrickStar
Posts: 1
Reputation: 0

Message # 81 | 1:41 PM
hi..........Greetings all of my friends...

i wanna ask sumtin...

it is possible to change default avatar size??

cause' i think 140x140 is too small..... cry

thanks before.. biggrin

Tommy
Posts: 454
Reputation: 38

Message # 82 | 1:55 PM
CP - Users - Module settings - change "Maximum dimensions (Pixels) for uploaded avatars:"
"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
y0skata
Posts: 14
Reputation: 0

Message # 83 | 6:33 PM
Hi i read 80% of the replys in this topic but i couldn't make the avatar that i want.i'm using #986.I want samoone to tell me how can i the avatar of all new users to be http://i894.photobucket.com/albums/ac144/y0skata/123.jpg maybe.

http://betscore.ucoz.com/
Post edited by y0skata - Thursday, 2010-03-11, 6:34 PM
NTP
Posts: 296
Reputation: 10

Message # 84 | 10:18 PM
Well all new users, or users without avatars? You can use conditional operators. It's explained in the first post: http://forum.ucoz.com/forum/7-3388-15589-16-1230371729
Web design and film == my 2 passions.

Genesis Inc. ~ New Horizons, New Beginnings
rys3r
Posts: 179
Reputation: 5

Message # 85 | 4:03 PM
need help please:
http://www.forum.ucoz.com/forum/10-9813-1

i tried $USER_AVATAR_URL$ and $AVATAR_URL$ it doesn't work.

Post edited by rys3r - Saturday, 2010-03-13, 4:05 PM
Dartz
Posts: 1931

Message # 86 | 10:30 PM
Where and how you placed?
[... With uCoz since December 2 2007 ...]
rys3r
Posts: 179
Reputation: 5

Message # 87 | 1:51 PM
Quote
How to show the avatar users who added an entry in file catalog?

thx

Sunny
Posts: 9296
Reputation: 456

Message # 88 | 2:10 PM
rys3r, I am not sure the avatar $code$ is available in File Catalog. Try to search it among the codes under the File catalog templates, and then paste it into the necessary place of the template.
I'm not active on the forum anymore. Please contact other forum staff.
rebelion
Posts: 130
Reputation: 4

Message # 89 | 11:29 PM
How do i make the avatar show in site news?
project-implement.com join rsps 508/525
Dartz
Posts: 1931

Message # 90 | 0:05 AM
rebelion, did you read the first post?
[... With uCoz since December 2 2007 ...]
uCoz Community » uCoz Modules » Site Users » Avatars
Search: