Page 11 of 12«129101112»
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.
Paradox
Posts: 3230
Reputation: 145
Message # 151 | 9:17 AM
carloscompu, this will work anywhere. Of course you may need to adjust the code as appropriate depending on the template and your preferences in width, etc.

<div class="avtrBlock">$_AVATAR$</div>


.avtrBlock img {max-width:200px;}

On an indefinite leave of absence.
carloscompu
Posts: 246
Reputation: 1
Message # 152 | 6:54 AM
Do i Put this code in the personal page ?

Cause the avatar code dont work on the norlam template
Paradox
Posts: 3230
Reputation: 145
Message # 153 | 7:18 AM
(Paradox)
Of course you may need to adjust the code as appropriate depending on the template


There are numerous different codes depending on what template you are in. What template exactly are you trying to edit?

On an indefinite leave of absence.
carloscompu
Posts: 246
Reputation: 1
Message # 154 | 9:40 AM
How do I add the users avatar to birthday
My webpage shows the users avatar on the normal template but the birthday code is a cusum code and cant be modify
Is there a script for this

Im also reminding that i have sent some Questions on the comment forum and there have been no answers
I wonder why nobody answers?
Paradox
Posts: 3230
Reputation: 145
Message # 155 | 10:45 AM
(carloscompu)
normal template bu


(carloscompu)
birthday code


Which exact template(s) are you referring to by this.

(carloscompu)
Im also reminding that i have sent some Questions on the comment forum and there have been no answers
I wonder why nobody answers?


Have you posted them here in the forums? If so please provide the URL to the threads. smile

On an indefinite leave of absence.
carloscompu
Posts: 246
Reputation: 1
Message # 156 | 12:05 PM
normal template bu

This is just a comment that I have all the profile info on the webpage itself in a small block

The birthday code ($BIRTHDAY$)
I want to add the users avatar as well beside the the users name.That all I would like

Comment link with no replyhttp://forum.ucoz.com/forum/5-13478-1#77580

Added (2012-12-23, 6:05 AM)
---------------------------------------------
This one is old too
http://forum.ucoz.com/forum/7-52-11#97081

Sunny
Posts: 9296
Reputation: 456
Message # 157 | 4:59 PM
(carloscompu)
The birthday code ($BIRTHDAY$)
I want to add the users avatar as well beside the the users name.That all I would like


Unfortunately that's not possible.

I'm not active on the forum anymore. Please contact other forum staff.
UndisPuted1982
Posts: 34
Reputation: 0
Message # 158 | 1:59 PM
Hello Admins.

I have a question about the Avatars on the site. Are all the avatars on Ucoz legall? Its not copied from other sites?
Just asking so we dot get problems when they are registrated at our site that we make here. if you know what i mean?

Best Regards
Paradox
Posts: 3230
Reputation: 145
Message # 159 | 3:31 PM
UndisPuted1982, all avatars on the uCoz avatar selector by default are legal. smile
On an indefinite leave of absence.
UndisPuted1982
Posts: 34
Reputation: 0
Message # 160 | 3:40 PM
thanks Paradox, for your reply
Korijs
Posts: 241
Reputation: 5
Message # 161 | 3:32 PM
Does Maximum dimensions (Pixels) for uploaded avatars makes user personal page avatar in axactly width and height or it's just like written - maximum?

I just need a code for user's personal page @customize design for this one:

Code
<?if($_AVATAR$)?>$_AVATAR$ <br /><br /><?else?><img src="/img/icons/no_avatar.png" width="100" height="100"><br /><br /><?endif?>


how can I set my width and height for:

Code
$_AVATAR$


tried some standard solutions but nothing..
and module settings @Users module just allow to choose MAXIMUM dimensions..

ty
Sunny
Posts: 9296
Reputation: 456
Message # 162 | 3:31 PM
Quote Korijs ()
it's just like written - maximum?


Yes, it's the maximum.

Quote Korijs ()
tried some standard solutions but nothing.


Use $USER_AVATAR_URL$, e.g.

Code
<img src="$USER_AVATAR_URL$" width="100" height="100">

I'm not active on the forum anymore. Please contact other forum staff.
Korijs
Posts: 241
Reputation: 5
Message # 163 | 5:47 PM
Sunny, it was my first idea, BUT with this code all users personal pages are with my avatar - code shows current user avatar not specified - other user personal photo.
Sunny
Posts: 9296
Reputation: 456
Message # 164 | 2:45 PM
Korijs, yes, sorry, my bad. If there is a CSS class assigned to the avatar image (as a rule there is, at least in the standard templates, e.g. .user_avatar img), you can set the parameters for the class.
I'm not active on the forum anymore. Please contact other forum staff.
Ed05
Posts: 556
Reputation: 7
Message # 165 | 7:40 PM
Why we cant put larger avatars than 500 kb, when we change size for maximum uploaded images higher than 500kb the system automaticly change it to 200kb.
Attachments: 9014491.png(3Kb)

!
Post edited by Ed05 - Monday, 2015-05-18, 7:41 PM
uCoz Community » uCoz Modules » Site Users » Avatars
Page 11 of 12«129101112»
Search: