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.
Sunny
Posts: 9296
Reputation: 456

Message # 46 | 9:27 AM
Rezwan73, other avatar codes are not available for blog so I doubt it will be possible... Give me the link to your blog, I'll have a look.
I'm not active on the forum anymore. Please contact other forum staff.
Rezwan73
Posts: 58
Reputation: -1

Message # 47 | 10:38 AM
Actually, I have not applied the avatar code on the blog section yet as i have not found it. and it is not my site. me and some friends of mine are working for this site, to create a common place for the students of our university. address : http://www.amadermbstu.info/blog
Post edited by Rezwan73 - Friday, 2009-06-26, 11:19 AM
Miss_Stephxx
Posts: 14
Reputation: 5

Message # 48 | 11:54 PM
hi how u customize the block adding his rank init and his ip and pm's and for how long he's registered

help angel


(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

:'( ---> ...

Tommy
Posts: 454
Reputation: 38

Message # 49 | 5:28 AM
Miss_Stephxx,

Its simple Goto CP - Customize design - User Personal page. At the bottom you will see many words like this $USER_REG_DAYS$ . Copy what you want and customize it inisde the block using HTML code. wink


"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
Post edited by Vinothdazzlin - Saturday, 2009-08-22, 7:05 AM
Armaros
Posts: 1424

Message # 50 | 11:16 AM
Quote (sykotek)
about the appearance of comments ???? how to change these codes ? did u have any t.codes
Could you be specific? First you talk about avatar but now something different.

Quote (Vinothdazzlin)
Its simple Goto CP - Customize design - User Personal page. At the bottom you will see many words like this $USER_REG_DAYS$ . Copy what you want and customize it inisde the block using HTML code.
Yes & Conditional Operators: http://forum.ucoz.com/forum/37-471-1

You'll need <?if($USER_LOGGED_IN$)?>

Miss_Stephxx
Posts: 14
Reputation: 5

Message # 51 | 5:45 PM
uhmm my code looks like this now but i wan't it to look at this site

http://www.cokorox.co.cc/

Code
<table border="0" cellpadding="2" cellspacing="1" width="185" style="background-color: #1C1C1C;">  
<tr><td align="center" style="background:#1C1C1C;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$!  
($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"><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s516 4>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s516 4>-->Log out<!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--></a>
<?endif?>  
<?endif?>  
</td></tr>  
</table>

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

:'( ---> ...

Armaros
Posts: 1424

Message # 52 | 5:56 PM
1. It's not quite nice to copy other website.
2. It's coding knowledge, we don't teach.
megalosnikos
Posts: 2
Reputation: 0

Message # 53 | 9:45 AM
ths my with ip
Quote
<table border="0" cellpadding="2" cellspacing="1" width="185" style="background-color: #1C1C1C;">
<tr><td align="center" style="background:#1C1C1C;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$!
($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"><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s516 4>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s5164>--><!--<s516 4>-->Log out<!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--><!--</s>--></a>
<!-- BEGIN geoiptool.com -->
<script language="JavaScript"
src="http://www.geoiptool.com/webjs.php?xl=en&xt=2&xw=180&xh=70"></script>
<noscript><a target="_blank" href="http://www.geoiptool.com/">Geo Web Tool</a></noscript>
<!-- END geoiptool.com -->
<?endif?>
<?endif?>
</td></tr>
</table>

motherboard
Posts: 1
Reputation: 0

Message # 54 | 9:44 AM
I want to show avatars with comments, in site news.

can you halp me?

Sunny
Posts: 9296
Reputation: 456

Message # 55 | 9:55 AM
motherboard, what about reading this thread first? I am sure you will find the answer.

And read these rules - http://forum.ucoz.com/forum/30-3739-1


I'm not active on the forum anymore. Please contact other forum staff.
undead
Posts: 17
Reputation: 1

Message # 56 | 8:33 PM
this is what it says when i try to upload pic or add link for myself or any user....
You are trying to do illegal action! cry
i have set everything right.... pic dimensions, size is also okie....
so what else could be wrong????
im administrator n i have the right to upload n change still this illegal action message comes....

even in this support forum same message is coming....
help plz fast....

Post edited by undead - Sunday, 2009-11-29, 8:37 PM
Sunny
Posts: 9296
Reputation: 456

Message # 57 | 1:39 PM
undead, that's because of your browser or firewall settings. Check the settings, some of them block sending of the data.
I'm not active on the forum anymore. Please contact other forum staff.
kostova
Posts: 97
Reputation: 9

Message # 58 | 9:59 AM
Is it suppose to show a default picture (assuming you have a default) when you've used an external link as an avatar using the $USER_AVATAR_URL$ code?
In certain modules, it shows the posters' picture even if they've used an external link. I was just wondering if it's possible to enable the same effect, except for the universal avatar code.
Sunny
Posts: 9296
Reputation: 456

Message # 59 | 10:35 AM
kostova, I am afraid I didn't get the idea. Can you please be more specific?
I'm not active on the forum anymore. Please contact other forum staff.
kostova
Posts: 97
Reputation: 9

Message # 60 | 11:17 AM
Alright, well say I used this image http://www.visitrenotahoe.com/images/icons/Myspace.png as my avatar. Since it is from a different source, $USER_AVATAR_URL$ doesn't display it. Although if I chosen an avatar from the avatar set or have uploaded one from my computer, it would.
uCoz Community » uCoz Modules » Site Users » Avatars
Search: