uCoz Community » uCoz Modules » Site Users » User groups (group colors, how to change a user group) |
User groups |
User Group Colors in Forum If you use the default CSS (CP -> Customize design -> Style sheet (CSS)), then Administrators are red, Moderators are blue, Checked are green and this is set by the following lines: Code /* User Group Marks */ a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:blue;} a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:red;} a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:green;} /* ---------------- */ The Users group is not indicated here and its color is assigned by the first lines of the CSS file, it's the color of the ordinary links on a website. If you want to use your custom color for Users, then add a line for groupUser. Code a.groupUser:link,a.groupUser:visited,a.groupUser:hover {color:#A8C9E2;} A color may be assigned both by an English name and an RGB hex code. Each newly created group has the designation groupOther1, groupOther2 and so on up to groupOther8, as you can add 8 custom groups. Code a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:Yellow;} a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:DarkCyan;} A group number in this case means the order of adding, and not a group ID. groupOther1 is the 1st group you create. E.g. uCoz has Users, Administrators, Moderators and Checked as the default groups. If you create a group other than the default groups then this group will be groupOther1. If you create a second group other than default ones then this group will be groupOther2 Other Color Classes On the Forum main page: 1. Greetings to our new member - class="lastUserLink" (if it is not assigned, then it has the color of an ordinary link) 2. Happy Birthday! - class="userBirthdayLink" (similarly) 3. Forum moderator - class="forumModer" (similarly) 4. Thread author - class="lastPostUserLink" (similarly) The same classes as in p. 3 & 4 apply inside the Forum, on pages with sections and forum boards. On the page with posts: 1. Forum moderator – class="forumModer" 2. User nickname - class="postUser" 3. Group name - class="postUserGroup" - Attention! It’s not a link, but a plain text and the class applies to both words – e.g., group: Moderators. On the website: On the website group names are also determined by the classes groupModer, groupAdmin, groupUser etc. When changing a group color, check whether the page template has the address of the file where you make changes. The following line must be in the template: Code <link type="text/css" rel="StyleSheet" href="http://YOUR_SITE_ADDRESS/_st/my.css" /> Username Colors in Posts How to display the colors, set for certain groups, in thread posts? Go to Customize Design -> Forum -> Appearance of entries, find this: Code <tr><td width="23%" class="postTdTop" align="center"><a class="postUser" href="javascript://" onClick="emoticon('[b]$USERNAME$[/b],');return false;">$USERNAME$</a></td> and change it for this: Code <tr><td width="23%" class="postTdTop" align="center"><a class="postUser$GROUP_ID$" href="javascript://" onClick="emoticon('[b]$USERNAME$[/b],');return false;"><span class="forum_nik$UID$">$USERNAME$</span></a></td> Save the template, go to Style sheet (CSS), and add the following lines there: Quote a.postUser1 {color:#000000;} – color of group 1 a.postUser2 {color:#00FF00;} - color of group 2 a.postUser3 {color:#0000FF;} - color of group 3 a.postUser4 {color:#FF0000;} - color of group 4 and so on for each group (if you have more than four groups). Note: Do not put the text in blue (color of group n)! Then you can also assign a certain username color to a definite user, just add the following to the CSS: Quote .forum_nik1 {color:#F6F6F6;} – username color of the user with ID=1 .forum_nik6 {color:#F7F7F7;} - username color of the user with ID=6 .forum_nik7 {color:#F9F9F9;} - username color of the user with ID=7 .forum_nik4 {color:#A6A6A6;} - username color of the user with ID=4 Thus you can assign colors to each group and at the same time assign personal username colors to certain users. I'm not active on the forum anymore. Please contact other forum staff.
|
HorseIsleSense, and to disable unregistered users to view certain forums, you can go to:
CP > Forum > Management of forums and sections > Choose a certain forum where you want a certain Group to access to > Edit forum properties. Attachments:
4963888.jpg
(20.9 Kb)
·
8574060.jpg
(38.9 Kb)
|
khen, i already mentioned that here:
http://forum.ucoz.com/forum/7-474-70694-16-1298043521 To busy building a passive income online ;)
|
Quote (Natashko) 12a3, Will you kindly rephrase your question for us to be able to help you and answer it. Please, specify what exactly are you interested in. i want to show icon same image : http://cB7.upanh.com/19.940.26798636.fCF0/untitled.png on username , i'm sorry because i speak english very bad Welcome to : http://softvn.mooo.com
|
12a3, as far as I understood you, you want to change the icon for separate groups. To do so go to CP->Users->User groups->select the group and press Change->Group icon (Direct link to the file): Of course, you will have to upload the icon to the File Manager first.
See more about user groups here http://forum.ucoz.com/forum/7-474-1#2345 |
Quote (Natashko) 12a3 , như xa như tôi hiểu bạn, bạn muốn thay đổi biểu tượng cho các nhóm riêng biệt. Để làm như vậy đi đến CP-> Users-> nhóm người dùng-> chọn nhóm và thay đổi-> Group biểu tượng báo chí (trực tiếp liên kết đến tập tin): Tất nhiên, bạn sẽ phải tải lên các biểu tượng cho giám đốc Tập tin đầu tiên. Xem thêm về nhóm người sử dụng ở đây http://forum.ucoz.com/forum/7-474-1 # 2345 oh, no ! i want to change color = image , please view picture : http://cB7.upanh.com/19.940.26798636.fCF0/untitled.png and i have more question, please, help me, thanks you : i have all 8 group: http://cB8.upanh.com/19.995.26855347.gL0/1.png , but website only show 3 color : http://cB0.upanh.com/19.995.26855349.BDn0/2.png and i want to add color different for all group, and i want to change color = image to previous groupname, please view picture : http://cB7.upanh.com/19.940.26798636.fCF0/untitled.png Welcome to : http://softvn.mooo.com
|
12a3, unfortunately this involves allot of scripting to get the colours also appear on the birthday block and we don't provide help with it , you could better ask one of the designers or owners of that website if thy can provide you the script
To busy building a passive income online ;)
|
I want replace the group icons (Admin and moderator) with my own, because my website has a not a white background and the standart icons are not pretty cuted!!!
Also, i ask how to replace them and where! (Where is the code and what is the code...) Somebody can help me??? |
[X-crew]Creator, it is possible to replace a group icon in setup of the necessary group of users (a field "Group icon (Direct link to the file)").
|
Quote (Animorph) 12a3, unfortunately this involves allot of scripting to get the colours also appear on the birthday block and we don't provide help with it , you could better ask one of the designers or owners of that website if thy can provide you the script thanks you! but now, you help me : i have all 8 group: http://cB8.upanh.com/19.995.26855347.gL0/1.png , but website only show 3 color : http://cB0.upanh.com/19.995.26855349.BDn0/2.png help me, add color different for all group Welcome to : http://softvn.mooo.com
|
12a3,
Quote (12a3) i have all 8 group: http://cB8.upanh.com/19.995.26855347.gL0/1.png , but website only show 3 color : http://cB0.upanh.com/19.995.26855349.BDn0/2.png help me, add color different for all group please, read the first post here http://forum.ucoz.com/forum/7-474-1#2345 very carefully. |
My group in my website is:
http://farm3.anhso.net/upload/20110322/00/o/anhso-001604_sshot-6.jpg Please help me -- > view image My Css :
Code /* User Group Marks */ a.groupModer:link,a.groupModer:visited,a.groupModer:hover{color:blue;} a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:red;} a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:green;} a.groupCheck:link,a.groupCheck:visited,a.groupCheck:hover {color:purple;} a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:yellow;} /* ---------------- */ and help me make table [color legend] same [Forum statistics] Welcome to : http://softvn.mooo.com
Post edited by 12a3 - Monday, 2011-03-21, 5:20 PM
|
| |||