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 3 of 8«1234578»
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...
 
ArmarosDate: Sunday, 2009-04-26, 1:50 Pm | Message # 31
Haunter
Group: Checked
Status: Offline
Quote (PurpleBisch)
What is the user group icon pixel dimmension?
Right click on any image:

Attachments: 5740290.png(65Kb)
Sir_Cr4pDate: Wednesday, 2009-04-29, 2:59 Pm | Message # 32
Curious
Group: Checked
Messages: 33
Awards: 2
Reputation: 6
Status: Offline
This is what i've done:

/* User Group Marks */
a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:midnightblue;}
a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:indigo;}
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:olive;}
a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:darkgoldenrod;}
a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:darkviolet;}
a.postUser1 {color:#EBBCB1;}
a.postUser2 {color:olive;}
a.postUser3 {color:midnightblue;}
a.postUser4 {color:indigo;}
a.postUser5 {color:darkgoldenrod;}
a.postUser6 {color:darkviolet;}
/* ---------------- */

Questions:

1) If there are 4 default groups (ID1, ID2, ID3, ID4), and I added 2 other groups (ID5 ; ID6) - do i have to define colors for all 6 groups?

2) If so do I have to add the line a.groupUser:link,a.groupUser:visited,a.groupUser:hover {color:#EBBCB1;} also?

I tried in many different ways but names arent colored.


USE Windows Notepad. Knowledge? Practice.
 
ArmarosDate: Wednesday, 2009-04-29, 3:22 Pm | Message # 33
Haunter
Group: Checked
Status: Offline
Quote (Sir_Cr4p)
do i have to define colors for all 6 groups?
No.

Quote (Sir_Cr4p)
I tried in many different ways but names arent colored.
Use HTML colour codes not "darkgoldenrod" etc. Link
Sir_Cr4pDate: Wednesday, 2009-04-29, 4:38 Pm | Message # 34
Curious
Group: Checked
Messages: 33
Awards: 2
Reputation: 6
Status: Offline
/* User Group Marks */
a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:#191970;}
a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:#FFFF00;}
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:#808000;}
a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:#B8860B;}
a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:#9400D3;}
a.postUser1 {color:#808000;}
a.postUser2 {color:#191970;}
a.postUser3 {color:#FFFF00;}
a.postUser4 {color:#B8860B;}
a.postUser5 {color:#9400D3;}
/* ---------------- */

ID1 user
ID2 member
ID3 moderator
ID4 administrator
ID5 groupOther1
ID6 groupOther2

lol man, im not sure about the sequence. i guess thats why its not working.


USE Windows Notepad. Knowledge? Practice.

Message edited by Sir_Cr4p - Wednesday, 2009-04-29, 4:42 Pm
 
SunnyDate: Thursday, 2009-04-30, 3:26 Am | Message # 35
Haunter
Group: Administrators
Messages: 2016
Awards: 121
Reputation: 139
Status: Offline
Sir_Cr4p, add the second part of the code (a.postUser) under /* Posts View */ -> .postUser {font-weight:bold;}

I'm not "man", "sir" or whatever. I'm female!
About signatures, screenshots etc...
 
ArmarosDate: Thursday, 2009-04-30, 5:23 Am | Message # 36
Haunter
Group: Checked
Status: Offline
Do as Sunny said + leave colours in HTML code or they wont work properly.
Sir_Cr4pDate: Friday, 2009-05-01, 5:35 Am | Message # 37
Curious
Group: Checked
Messages: 33
Awards: 2
Reputation: 6
Status: Offline
right, i've already said, i tried in many different ways. refreshment is really slow so i cant just simply check it works or not. otherwise i would never post on here coz i alwise find everythin i need by myself.
anyways, i've read i have to mod the informer if i want names to be colored....how and where (this is the right question i bet)?

here are sum pics:

1. general forum view
http://img13.imageshack.us/img13/995/forumview.jpg
names arent colored but its bcoz of informer, right?

2. section view
http://img70.imageshack.us/img70/6422/forumsection.jpg
names arent colored

3. post
http://img114.imageshack.us/img114/8617/postp.jpg
name is colored, but its not bold as it should be. why? (<tr><td width="23%" class="postTdTop" align="center"><a class="postUser$GROUP_ID$" href="javascript://" onClick="emoticon('$USERNAME$,');return false;"><span class="forum_nik$UID$">$USERNAME$</span></a></td> → [b][/b] has been removed as it has no effect anyway)


USE Windows Notepad. Knowledge? Practice.

Message edited by Sir_Cr4p - Friday, 2009-05-01, 6:00 Am
 
ArmarosDate: Friday, 2009-05-01, 6:06 Am | Message # 38
Haunter
Group: Checked
Status: Offline
Quote (Sir_Cr4p)
[b][/b] has been removed as it has no effect anyway)
You must use HTML because it's source page and uses HTML panel not BBC.

Code
<b> </b>

Quote (Sir_Cr4p)
anyways, i've read i have to mod the informer if i want names to be colored....how and where (this is the right question i bet)?
Colour name where exactly?
Sir_Cr4pDate: Friday, 2009-05-01, 7:44 Am | Message # 39
Curious
Group: Checked
Messages: 33
Awards: 2
Reputation: 6
Status: Offline
i tried both bb and html. same effect.

exactly here

Quote (Sir_Cr4p)
2. section view
http://img70.imageshack.us/img70/6422/forumsection.jpg
names arent colored

or here

Quote (Sir_Cr4p)
1. general forum view
http://img13.imageshack.us/img13/995/forumview.jpg

is it possible to have it there? i mean im not a coder so if thats to difficult for me, np.

Added (2009-05-01, 7:44 Am)
---------------------------------------------
btw i moded ur given code
<tr><td width="23%" class="postTdTop" align="center"><a class="postUser$GROUP_ID$" href="javascript://" onClick="emoticon('$USERNAME$,');return false;"><span class="forum_nik$UID$">$USERNAME$</span></a></td>

to this
<tr><td width="23%" class="postTdTop" align="center"><a class="postUser$GROUP_ID$" href="javascript://" onClick="emoticon('$USERNAME$,');return false;"><span class="forum_nik$UID$"><b>$USERNAME$</b></span></a></td><

so name is bold now, but its not colored as i removed .forum_nik1 {color:#F6F6F6;} .
all colors are set
.lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold}
a.postUser1 {color:#EBBCB1;}
a.postUser2 {color:#808000;}
a.postUser3 {color:#191970;}
a.postUser4 {color:#4B0082;}
a.postUser5 {color:#B8860B;}
a.postUser6 {color:#9400D3;}


USE Windows Notepad. Knowledge? Practice.

Message edited by Sir_Cr4p - Friday, 2009-05-01, 7:56 Am
 
ArmarosDate: Friday, 2009-05-01, 2:34 Pm | Message # 40
Haunter
Group: Checked
Status: Offline
Quote (Sir_Cr4p)
so name is bold now, but its not colored as i removed .forum_nik1 {color:#F6F6F6;} .
a.postUser1 {color:#EBBCB1;}
a.postUser2 {color:#808000;}
a.postUser3 {color:#191970;}
a.postUser4 {color:#4B0082;}
a.postUser5 {color:#B8860B;}
a.postUser6 {color:#9400D3;}
# It works just fine. Put it under: /* User Group Marks */
# Add nothing extra to entry page. No: .forum_nik1 {color:#F6F6F6;}
# Remember Administrator groups ID is 4 not 1.

Quote (Sir_Cr4p)
.lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold}
What's with this?
Sir_Cr4pDate: Saturday, 2009-05-02, 5:27 Am | Message # 41
Curious
Group: Checked
Messages: 33
Awards: 2
Reputation: 6
Status: Offline
Quote (Armaros)
Quote (Sir_Cr4p)
.lastPostGuest,.lastPostUser,.threadAuthor {font-weight:bold}
What's with this?

oh dont pay attention, a wrong quote.

i did as u said, till that takes an effect, i have few more questions:

1. can names of moderators be shown in a diff color i.e. #191970? wot i have to mod?
2. can names of members who are viewing forums be bolded?
3. can user groups be shown in "Additional information" regarding to the color is set to each group, like an explanation? for example:
member - EDIS
group - ADMINISTRATORS

http://img201.imageshack.us/img201/3013/modj.jpg


USE Windows Notepad. Knowledge? Practice.

Message edited by Sir_Cr4p - Saturday, 2009-05-02, 5:29 Am
 
ArmarosDate: Sunday, 2009-05-03, 5:38 Am | Message # 42
Haunter
Group: Checked
Status: Offline
Quote (Sir_Cr4p)
1. can names of moderators be shown in a diff color i.e. #191970? wot i have to mod?
If I understood you correct: CP -> Customize Design -> CSS.

Find: forumModer
Change: "color:" part.

Quote (Sir_Cr4p)
2. can names of members who are viewing forums be bolded?
Yes but also "Forum is being viewed by:" part will be bold.

CP -> Customize Design -> CSS -> F3 -> Paste: .forumOnlineBar -> F3.

Add: font-weight:bold;
Before: color:#E4FAFD;

Quote (Sir_Cr4p)
3. can user groups be shown in "Additional information" regarding to the color is set to each group, like an explanation? for example:
Aren't those group colours? They already show like you set them in CSS.
Sir_Cr4pDate: Sunday, 2009-05-03, 6:42 Am | Message # 43
Curious
Group: Checked
Messages: 33
Awards: 2
Reputation: 6
Status: Offline
thanks, names are bold smile

Quote (Armaros)
Quote (Sir_Cr4p)
1. can names of moderators be shown in a diff color i.e. #191970? wot i have to mod?
If I understood you correct: CP -> Customize Design -> CSS.

no m8, i've added this link to screenshot http://img201.imageshack.us/img201/3013/modj.jpg Forum moderator: EDIS

Quote (Armaros)
Quote (Sir_Cr4p)
3. can user groups be shown in "Additional information" regarding to the color is set to each group, like an explanation? for example:
Aren't those group colours? They already show like you set them in CSS.

no and yes but no.
no - group color isnt shown in forum posts, i meant its not working.
yes - those are group collors, but its not wot i ment. for example ur group is Moderators, so i want the word "Moderators" to be shown on the bottom of this forum main page in the same color as your name- Armaros.


USE Windows Notepad. Knowledge? Practice.

Message edited by Sir_Cr4p - Sunday, 2009-05-03, 6:52 Am
 
ArmarosDate: Wednesday, 2009-05-06, 6:03 Pm | Message # 44
Haunter
Group: Checked
Status: Offline
Quote (Sir_Cr4p)
no m8, i've added this link to screenshot http://img201.imageshack.us/img201/3013/modj.jpg Forum moderator: EDIS
You need a coding knowledge for this and it's not uCoz's job to teach people coding.
But as you're very good user and didn't broke rules - I'm willing to explain you this.


Location: CP -> Customize Design -> CSS

Find: .forumDescr,.forumModer {color:#888888;font-size:7pt;}

Replace with:
.forumDescr {color:#888888;font-size:7pt;}
.forumModer {color:#888888;font-size:7pt;}
.forumModer:link {color:#FF0000;}
.forumModer:visited {color:#FF0000;}
.forumModer:hover {color:#0000FF;}
.forumModer:active {color:#0000FF;}

Red - Link/User display colour.
Green - When mouse touches link/user.
Info: HTML Colour Codes

Quote (Sir_Cr4p)
no and yes but no.
no - group color isnt shown in forum posts, i meant its not working.
yes - those are group collors, but its not wot i ment. for example ur group is Moderators, so i want the word "Moderators" to be shown on the bottom of this forum main page in the same color as your name- Armaros.
You mean Colour Legends ?
ArmarosDate: Thursday, 2009-05-07, 5:39 Am | Message # 45
Haunter
Group: Checked
Status: Offline
uCoz default groups have names not IDs in CSS. And they have grey
cross which means those groups aren't possible to delete - In Green

New groups will be listed by creation time, the group which have ID 5 in the user list is first created custom group. Group with ID 6 is second custom group. (In purple/red/blue) First custom group have ID 1 in the CSS because the default groups have names not IDs. And that's why:

o User List oo CSS ID o
51
62
73
84
95
106
117
128
139
1410
1511

Attachments: 8975646.png(17Kb)
uCoz Community » uCoz System management and tuning » Site Users » User groups (group colors, how to change a user group, access permissions)
Page 3 of 8«1234578»
Search: