User groups - Site Users - uCoz System management and tuning - uCoz Community
You logged in as Guest
Username/E-mail:
Recent messages · Members · Forum rules · FAQ · SEARCH Registration · Log in


We are in the second round! Let's keep voting!

Page 5 of 8«12345678»
uCoz Community » uCoz System management and tuning » Site Users » User groups (group colors, how to change a user group, access permissions)
User groups
SunnyDate: Thursday, 2008-03-27, 4:25 Am | Message # 1
Haunter
Group: Administrators
Messages: 2016
Awards: 121
Reputation: 139
Status: Offline
General information.

In forum.

If you use standard style sheet (CP -> Customize design -> Style sheet (CSS)), then Administrators are red, Moderators - blue, Checked 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;}
/* ---------------- */

Users group is not indicated here and its color is assigned by the first lines of the style sheet, i.e. this is the color of common links. If you want to use your own color for Users, then add a line for groupUser.

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.groupUser:link,a.groupUser:visited,a.groupUser:hover {color:#A8C9E2;}
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:green;}
/* ---------------- */

Each new group has the designation groupOther(1-10), as you may add 10 groups.

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.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:Yellow;}
a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:DarkCyan;}
and so on.
/* ---------------- */

A color may be assigned both by an English name and RGB hex code.

Group number in this case means addition order, and not group ID.

Quote
groupOther1 is the 1st group you create. E.g. uCoz has Users, Administrators, Moderators and Checked as groups.

a.groupModer is for Moderators
a.groupAdmin is for Administrators
a.groupVerify is for Checked

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 designations of users.

On forum main page:

1. Greetings to our new member - class="lastUserLink" (if it is not assigned, then has the color of a common link)
2. Happy Birthday! - class="userBirthdayLink" (similarly)
3. Forum moderator - class="forumModer" (similarly)
4. Thread author - class="lastPostUserLink" (similarly)

The same classes of p. 3 & 4 are inside forum, on page of sections and forums.

On page with messages:

1. Forum moderator – the same class="forumModer"
2. User’s 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 website:

On site group names are also determined by the classes groupModer, groupAdmin, groupUser etc.

When changing 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!

Then you can also specify a certain username color to a definite user, just add the following to the CSS:

Code
.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 "man", "sir" or whatever. I'm female!
About signatures, screenshots etc...
 
AltricDate: Saturday, 2009-06-20, 5:51 Pm | Message # 61
Constant
Group: Checked
Messages: 101
Awards: 3
Reputation: -7
Status: Offline
This is the code i have right now.
Code

/* User Group Marks */
a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:Green;}
a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:Red;}
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:#99CCFF;}
/* ---------------- */

But i've made a few more user groups and i wanted to give them there own color, i don't know how to do this and i'm not so skilled with CSS. I was afraid i would mess something up. If anyone can help me or teach me how to add a new user group to it i would greatly appreciate it.


"When you get frustrated, Just ignore it and keep on enjoying life."
~ Altric
 
ArmarosDate: Sunday, 2009-06-21, 10:27 Am | Message # 62
Haunter
Group: Checked
Status: Offline
You read bad. Read whole post. It's clearly written.

a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:Yellow;}
a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:DarkCyan;}

ArmarosDate: Thursday, 2009-08-20, 10:27 Am | Message # 63
Haunter
Group: Checked
Status: Offline
Question: I was wondering if there is a way to move a group of 800+ members to a whole new group without having to do it 1 by 1 ?
Answer: Only if "member" group was by default a "user" group and "new" group was by default "checked" group.
ClydeDate: Friday, 2009-08-21, 6:07 Pm | Message # 64
Curious
Group: Users
Messages: 21
Awards: 0
Reputation: 0
Status: Offline
A few days ago, I created a new group according to the instructions here. It worked fine - I added an "orange" color to the new group. Everybody in the forum that belongs to that group is orange.

The Problem: Everyone I promote to that group does not become orange. So I have members belonging to the same "group" with 2 different colors.
 
SunnyDate: Tuesday, 2009-08-25, 4:58 Am | Message # 65
Haunter
Group: Administrators
Messages: 2016
Awards: 121
Reputation: 139
Status: Offline
Clyde, what about website url?

I'm not "man", "sir" or whatever. I'm female!
About signatures, screenshots etc...
 
Silviu681Date: Tuesday, 2009-09-08, 4:45 Pm | Message # 66
Newbie
Group: Users
Messages: 3
Awards: 0
Reputation: 0
Status: Offline
i tried to change colors of "friends" and "banned" groups but i don't seeem to get it right...
i used 'groupFrien, groupFriends, groupOther251, group251' ... what is the name/id or calling for those groups?

================================
ADDED: I somehow managed to get it to work biggrin

Code

a.groupUser:link,a.groupUser:visited,a.groupUser:hover {color:#ffffff;font-style:italic;} /*-membri*/
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:#ffffff;} /*-veterani*/
a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:#ffa500;} /*-administrator*/
a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:#ff0000;font-weight:bold;} /*-fondator*/
a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:#ffff00;} /*-moderator*/
a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:#00ff00;} /*-tzz*/
a.groupOther3:link,a.groupOther3:visited,a.groupOther3:hover {color:#00ffff;} /*-topograf*/
a.groupOther4:link,a.groupOther4:visited,a.groupOther4:hover {color:#00ff00;} /*-rr-g*/
a.groupOther5:link,a.groupOther5:visited,a.groupOther5:hover {color:#00ff00;} /*-vip*/
a.groupFriends:link,a.groupFriends:visited,a.groupFriends:hover {color:#8a2be2;font-style:italic;} /*-avertizat*/
a.groupBanned:link,a.groupBanned:visited,a.groupBanned:hover {color:blue;font-style:italic;} /*-evacuat*/
a.postUser1 {color:#ffffff;font-weight:bold;font-style:italic;}
a.postUser2 {color:#ffffff;font-weight:bold;}
a.postUser3 {color:#ffa500;font-weight:bold;}
a.postUser4 {color:#ff0000;font-weight:bold;}
a.postUser5 {color:#ffff00;font-weight:bold;}
a.postUser6 {color:#00ff00;font-weight:bold;}
a.postUser7 {color:#00ffff;font-weight:bold;}
a.postUser8 {color:#00ff00;font-weight:bold;}
a.postUser9 {color:#00ff00;font-weight:bold;}
a.postUser14 {color:#8a2be2;font-weight:bold;}
a.postUser15 {color:#00ff00;font-weight:bold;}

it is not too difficult if you read and think... first i made a mistake, which i didn't see it was there!
===================================

Message edited by Silviu681 - Thursday, 2009-09-10, 0:53 Am
 
leonidasDate: Sunday, 2009-10-04, 1:04 Am | Message # 67
Newbie
Group: Users
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
I have those groups :

1 Members
2 Old Members
3 Moderators
4 Administrators
5 Global Moderators
6 Low Bap - TV BOTS
7 Banned
251 Helpers ( Friends )
255 Deleted ( Banned )
- Guests

i have edit the code on css like this :

Code
/* User Group Marks */
a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:green;}
a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:red;}
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:#FBEFEF;}
a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:orange;}
a.groupOther2:link,a.groupOther1:visited,a.groupOther2:hover {color:yellow;}
a.groupOther3:link,a.groupOther1:visited,a.groupOther3:hover {color:gray;}
/* ---------------- */

but its not working .
What i do wrong ???

and i want to colore helpers + deleted can i ???

Thanx for your time


http://lowbap.ucoz.com
 
TommyDate: Monday, 2009-10-05, 2:21 Am | Message # 68
Experienced
Group: Helpers
Messages: 439
Awards: 17
Reputation: 23
Status: Offline
leonidas, Which one is not working for you? If you are talking about helpers(friends) and deleted(Banned). Just see the post above yours. You will get the answer.

"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
 
leonidasDate: Monday, 2009-10-05, 10:37 Am | Message # 69
Newbie
Group: Users
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
nothing works its all f*cked up sad

all are red


http://lowbap.ucoz.com
 
DartzDate: Monday, 2009-10-05, 11:21 Am | Message # 70
Cookie Monster
Group: Head Mod
Messages: 5961
Awards: 61
Status: Offline
leonidas, restore CSS and try again.


*Yawn... drools on Renatus while sleeping...*
leonidasDate: Tuesday, 2009-10-06, 5:04 Pm | Message # 71
Newbie
Group: Users
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
so the code i post is not wrong ???

Added (2009-10-06, 5:04 Pm)
---------------------------------------------
the css restore just change only my other settings . but the colors id not fixed again


http://lowbap.ucoz.com
 
TommyDate: Wednesday, 2009-10-07, 1:02 Am | Message # 72
Experienced
Group: Helpers
Messages: 439
Awards: 17
Reputation: 23
Status: Offline
leonidas,
Quote (leonidas)
a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:orange;}
a.groupOther2:link,a.groupOther1:visited,a.groupOther2:hover {color:yellow;}
a.groupOther3:link,a.groupOther1:visited,a.groupOther3:hover {color:gray;}

You have used Other1 for all groups. You have to enter it like this
Quote
a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:orange;}
a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:yellow;}
a.groupOther3:link,a.groupOther3:visited,a.groupOther3:hover {color:gray;}


"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
 
SunnyDate: Friday, 2009-10-09, 2:08 Am | Message # 73
Haunter
Group: Administrators
Messages: 2016
Awards: 121
Reputation: 139
Status: Offline
Quote (t4club)
i require to know what the original settings were for each original group, how do i find this out so i may change them

To see the default settings you can create a new test website and view the permissions there. Then you can always delete this website.


I'm not "man", "sir" or whatever. I'm female!
About signatures, screenshots etc...
 
leonidasDate: Friday, 2009-10-09, 9:27 Am | Message # 74
Newbie
Group: Users
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
Quote (Tommy)
leonidas,
Quote (leonidas)
a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:orange;}
a.groupOther2:link,a.groupOther1:visited,a.groupOther2:hover {color:yellow;}
a.groupOther3:link,a.groupOther1:visited,a.groupOther3:hover {color:gray;}

You have used Other1 for all groups. You have to enter it like this
Quote
a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:orange;}
a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:yellow;}
a.groupOther3:link,a.groupOther3:visited,a.groupOther3:hover {color:gray;}

i have done this but the probles is with the admin and the moderetors 2
blink


http://lowbap.ucoz.com
 
SunnyDate: Friday, 2009-10-09, 9:42 Am | Message # 75
Haunter
Group: Administrators
Messages: 2016
Awards: 121
Reputation: 139
Status: Offline
leonidas, what is the exact problem? Can you show a screenshot or provide website url? And try to use html color codes.

I'm not "man", "sir" or whatever. I'm female!
About signatures, screenshots etc...
 
uCoz Community » uCoz System management and tuning » Site Users » User groups (group colors, how to change a user group, access permissions)
Page 5 of 8«12345678»
Search: