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.
hoangquynhvu
Posts: 5
Reputation: 0

Message # 91 | 10:18 AM
why my ava is too big???

Nick: UnMe

http://ptthcbhungyen.dmon.com/forum/10-13-1#28

Attachments: 0596571.jpg (116.1 Kb)
Post edited by hoangquynhvu - Wednesday, 2010-07-07, 10:22 AM
Sunny
Posts: 9296
Reputation: 456

Message # 92 | 1:41 PM
hoangquynhvu, reduce the image using any graphics editor and check what max dimensions are set in Control Panel -> Users -> Module settings.
I'm not active on the forum anymore. Please contact other forum staff.
Ultra
Posts: 23
Reputation: 1

Message # 93 | 7:39 PM
Is there a way that new users have different automatic avatars based on theirs sex?
Natashko
Posts: 3366
Reputation: 171

Message # 94 | 4:00 PM
Ultra, you can do it with the help of conditional operators (so at registration, depending on the sex, the special set of avatars will be available). This link might be useful http://forum.ucoz.com/forum/37-471-1#36483
Ultra
Posts: 23
Reputation: 1

Message # 95 | 8:28 PM
Will then new users must to choose one picture from avatars set, during registration, or it will be automatic set when they confirm theirs sex's?
Natashko
Posts: 3366
Reputation: 171

Message # 96 | 11:13 AM
Ultra, everything depends on you. The way you set it up (with the help of conditional operators) it will work.
rebelion
Posts: 130
Reputation: 4

Message # 97 | 5:09 AM
I'm trying to add avatars to site news, I've got it except only one line of the post goes to the right side of the avatar. I want it to be so the text goes all around the right side of the pic so no spaces look http://project-implement.com/
project-implement.com join rsps 508/525
CoffeeCone
Posts: 687
Reputation: 41

Message # 98 | 5:15 AM
Quote (rebelion)
I'm trying to add avatars to site news, I've got it except only one line of the post goes to the right side of the avatar. I want it to be so the text goes all around the right side of the pic so no spaces look http://project-implement.com/

On the image tag, include this: (the one in blue text)
Quote
<img src="some image" style="float:left;" border="0" />

"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.


rebelion
Posts: 130
Reputation: 4

Message # 99 | 5:52 AM
shadowslash, thank you that's the exact code I used except I guess it was backwards or something o.O thank you smile
project-implement.com join rsps 508/525
CoffeeCone
Posts: 687
Reputation: 41

Message # 100 | 6:09 AM
Quote (rebelion)
shadowslash, thank you that's the exact code I used except I guess it was backwards or something o.O thank you

You're welcome!

EDIT:
Neat,my 200th post! happy

EDIT 2:
My 200th post and the 100th reply to this thread. tongue


"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.


Post edited by shadowslash - Sunday, 2011-01-16, 6:10 AM
FuriousAngels
Posts: 28
Reputation: 0

Message # 101 | 6:02 AM
I just noticed that my website is not allowing for users to change there avatars. Please login with the provided information to my website and see what I mean.

http://www.furiousreplays.com/index/8-10
Login is: Archetypal
Password is: anubisachilles

I am not sure what the problem is and I hope someone here can explain!

CoffeeCone
Posts: 687
Reputation: 41

Message # 102 | 6:13 AM
FuriousAngels, Perhaps you forgot to include the avatar field in the Registration Form template?

http://www.furiousreplays.com/panel/?a=tmpl;m=4;t=9

That template should have the $AVATAR_SIGN$ and the $AVATAR_FL$ in it..


"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.


FuriousAngels
Posts: 28
Reputation: 0

Message # 103 | 6:33 AM
shadowslash,
Code
<style>
  input, textarea, select {
  background-color : #111;
  color : #DDD;
  border : 1px dashed #333;  
}
  </style>
<table border="0" cellspacing="1" cellpadding="2" width="100%" class="manTable" id="siM63">
<?if($ERROR$)?>
<tr id="siM1"><td colspan="2" align="center" class="manTdError" id="siM2">$ERROR$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($LOGIN_FL$)?>
  <tr id="siM42"><td class="manTd1" id="siM43">Please insert your Battle.net Character Name [ <span class="title"><a href="javascript:;" onclick="bnet();return false;">?</a> </span> ]</td></tr><tr><td class="manTd2" id="siM44">$LOGIN_FL$</td></tr></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($PASSWORD_FL$)?>
  <tr id="siM45"><td class="manTd1" id="siM46">Password for FuriousReplays.com</u></td></tr><tr><td class="manTd2" id="siM47">$PASSWORD_FL$</td></tr></tr>
<?endif?>
<?if($PASSWORD1_FL$)?>
  <tr id="siM48"><td class="manTd1" id="siM49">Confirm password</td></tr><tr><td class="manTd2" id="siM50">$PASSWORD1_FL$</td></tr></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?else?><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($GROUP_FL$)?>
<tr id="siM70"><td class="manTd1" id="siM71">$GROUP_SIGN$</td><td class="manTd2" id="siM72">$GROUP_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($NAME_FL$)?>
  <tr id="siM51"><td class="manTd1" id="siM52">Proper name [ <span class="title"><a href="javascript:;" onclick="proper();return false;">?</a> </span> ]</td></tr><tr><td class="manTd2" id="siM53">$NAME_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($EMAIL_FL$)?>
  <tr id="siM54"><td class="manTd1" id="siM55">Valid e-mail</td></tr><tr><td class="manTd2" id="siM56">$EMAIL_FL$</td></tr></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($WWW_FL$)?>
<tr id="siM3"><td class="manTd1" id="siM4">$WWW_SIGN$</td><td class="manTd2" id="siM5">$WWW_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($ICQ_FL$)?>
<tr id="siM6"><td class="manTd1" id="siM7">$ICQ_SIGN$</td><td class="manTd2" id="siM8">$ICQ_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($AOL_FL$)?>
<tr id="siM9"><td class="manTd1" id="siM10">$AOL_SIGN$</td><td class="manTd2" id="siM11">$AOL_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($MSN_FL$)?>
<tr id="siM12"><td class="manTd1" id="siM13">$MSN_SIGN$</td><td class="manTd2" id="siM14">$MSN_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($YAHOO_FL$)?>
<tr id="siM15"><td class="manTd1" id="siM16">$YAHOO_SIGN$</td><td class="manTd2" id="siM17">$YAHOO_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($BIRTHDAY_FL$)?>
<tr id="siM30"><td class="manTd1" id="siM31">$BIRTHDAY_SIGN$</td><td class="manTd2" id="siM32">$BIRTHDAY_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($GENDER_FL$)?>
<tr id="siM27"><td class="manTd1" id="siM28">$GENDER_SIGN$</td><td class="manTd2" id="siM29">$GENDER_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($COUNTRY_FL$)?>
<tr id="siM18"><td class="manTd1" id="siM19">$COUNTRY_SIGN$</td><td class="manTd2" id="siM20">$COUNTRY_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($STATE_FL$)?>
<tr id="siM21"><td class="manTd1" id="siM22">$STATE_SIGN$</td><td class="manTd2" id="siM23">$STATE_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($CITY_FL$)?>
<tr id="siM24"><td class="manTd1" id="siM25">$CITY_SIGN$</td><td class="manTd2" id="siM26">$CITY_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($AVATAR_FL$)?>
<tr id="siM36"><td class="manTd1" valign="top" id="siM37">$AVATAR_SIGN$</td><td class="manTd2" id="siM38">$AVATAR_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($SIGNATURE_FL$)?>
<tr id="siM33"><td class="manTd1" id="siM34">$SIGNATURE_SIGN$</td><td class="manTd2" id="siM35">$SIGNATURE_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($SUBSCRIPTION_FL$)?>
<tr id="siM39"><td class="manTd1" id="siM40">$SUBSCRIPTION_SIGN$</td><td class="manTd2" id="siM41">$SUBSCRIPTION_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($OPTIONS_FL$)?>
<tr id="siM63"><td class="manTd1" id="siM64">$OPTIONS_SIGN$</td><td class="manTd2" id="siM65">$OPTIONS_FL$</td></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
<?if($SECURITY_CODE_FL$)?>
  <tr id="siM60"><td class="manTd1" id="siM61">CAPTCHA Code</td></tr><tr><td class="manTd2" id="siM62">$SECURITY_CODE_FL$</td></tr></tr><tr><td height="10" class="manTdSep" colspan="2"><hr class="manHr" /></td></tr>
<?endif?>
  <tr id="siM64"><td class="manTdBut" colspan="2" align="center" id="siM65"><div class="readon"><input type="submit" id="siF20" name="sbm" class="button" value="Join Community!" /></div></td></tr>
</table>
CoffeeCone
Posts: 687
Reputation: 41

Message # 104 | 7:20 AM
FuriousAngels, Hmmm... Just a random guess: is the avatar option checked in the user's registration?

Attachments: 0829978.png (12.1 Kb)

"Friends don't let friends use Internet Explorer 6." - Microsoft || Join the cause. Help your friends.


FuriousAngels
Posts: 28
Reputation: 0

Message # 105 | 8:14 AM
shadowslash, THANK YOU THANK YOU THANK YOU biggrin
uCoz Community » uCoz Modules » Site Users » Avatars
Search: