uCoz Community uCoz Modules Site Users Avatars |
Avatars |
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:
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.
|
NightLon, this was a sample code for one of the designs. You must change the code in accordance with the design you use. The parts in red are to be changed:
Quote <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$)?> I'm not active on the forum anymore. Please contact other forum staff.
|
Is there a way to edit user uploaded images? Not only for avatars, but forums, etc. so that way I can delete used pictures taking up space.
|
Actually, I found kxcore's, method of resizing the image quiet useful to your design/ucoz limitations.
Thanks example: Code encase your avatar in parent element and however many child elements you want or need #parent .child .child-avatar img {width:100%;height:auto;} So by doing this, you can however have the maximum size avatar available and use this on the forum too and you're solid. Post edited by heysupp - Friday, 2009-02-06, 1:36 AM
|
Well, I searched for it and found it and did what Jackass said to do but it didn't go onto it.
Code <table class="$CLASS$" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td style="width: 110px; text-align: left; vertical-align: top; letter-spacing: 0pt; word-spacing: 0pt;" valign="top"><?if($USER_AVATAR_URL$)?><img alt="" src="$USER_AVATAR_URL$" align="" border="0" height="110" width="110"><?else?><img alt="http://cyber-paradise.ucoz.com/Default.png" src="http://cyber-paradise.ucoz.com/Default.png" align="" border="0" height="110" width="110"><?endif?><br></td><td style="padding: 3px; text-align: left; vertical-align: top; letter-spacing: 0pt; word-spacing: 0pt;"> <div class="cDate" style="float: right;"><span title="$TIME$">$DATE$</span> $MODER_PANEL$</div> <div class="cTop" style="text-align: left;"><span style="width: 18px;"><b>$NUMBER$</b>.</span> <b>$NAME$</b> <?if($USERNAME$)?>(<a href="$PROFILE_URL$">$USERNAME$</a>)<?endif?> <?if($EMAIL$)?><?endif?> <?if($SITE$)?><?endif?> <!--ENDIF--> </div> <div class="cMessage" style="text-align: left; clear: both; padding-top: 2px; padding-bottom: 2px;">$MESSAGE$</div> <?if($ANSWER$)?><div class="cAnswer" style="text-align: left; clear: both;"><b>Answer</b>: $ANSWER$</div><?endif?> </td></tr></tbody></table><br> Attachments:
0383859.jpg
(16.9 Kb)
Use your brain before you post ~Lee
Please use search, ~Lee Post edited by iLee - Friday, 2009-02-06, 9:18 PM
|
Hi please I need ur help.Well when my users gonna upload avatars on my web (http://th-team.ucoz.com) they can't upload own avatar because they see that error
Avatar dimensions cannot exceed, pls can You help me guys? Added (2008-03-09, 12:37 Pm) |
hmmm go to Control Panel -> User -> Module Settings -> then scroll down ypu will find this (Below)
Maximal length of user's signature: <-- This is the Length of the signature of each member Maximal size (Kbytes) for uploaded avatars: <-- this is the Max size were your members able to Upload avatar Maximal dimension (Pixels) for uploaded avatars: <---- This is the Dimenson Area Example 150x150 |
| |||