User groups
Sunny
Posts: 9296
Reputation: 456

Message # 1 | 10:25 AM
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.
Lionheart
Posts: 2
Reputation: 0

Message # 121 | 9:27 PM
Healer, If i understand correctly yes, you can create a group that can move users groups without going in the control panel, and he/she can not move them into a group with admin abilities so you will not need to worry about that.
Martin
Posts: 3
Reputation: 0

Message # 122 | 5:44 PM
Hello can i do so users on my hompage can apply to be moderators, forum admins? i can only give them if we haw talk but i want that they can press a buton apply to be Moderators. then i will axept them..

Swedish

Hej kan jag göra så anvöndare på min hemsida kan ansöka om att bli moderatorer, forum admins? nu kan jag bara ge dom manualt altså om dom tar kontakt med mig men anna vet ju inte att man kan få moderator behörighet.
Så undrar kan jag göra typ en meny så användare kan ansöka om moderator behörighet osv. Så jag får en ansökning till min maleadress? Tack i förhand.

Dartz
Posts: 1931

Message # 123 | 7:05 PM
There is no such feature.
[... With uCoz since December 2 2007 ...]
Mrpunisher
Posts: 6
Reputation: 0

Message # 124 | 0:48 AM
how about the name of Friends user groups & banned ?
and if I renamed any of them , the name I should ad at the code will need to be changed ?
NTP
Posts: 296
Reputation: 10

Message # 125 | 0:59 AM
Mrpunisher, no, because you're not using thier group name to do this. anyways look here http://forum.ucoz.com/forum/7-474-40482-16-1252446356
Web design and film == my 2 passions.

Genesis Inc. ~ New Horizons, New Beginnings
streetkilln
Posts: 12
Reputation: 0

Message # 126 | 4:46 AM
were do i add

Code
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
Tommy
Posts: 454
Reputation: 38

Message # 127 | 12:13 PM
Add the lines on CSS.
"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
streetkilln
Posts: 12
Reputation: 0

Message # 128 | 5:23 PM
just add them at the bottom?? not any pacific place
Anubis
Posts: 10
Reputation: 0

Message # 129 | 8:27 AM
Hi, I have 3 "other" groups with 3 colours. The problem I'm having is that only one user from green group suddenly had blue colour even though his group was not changed. He was still part of green group and had same permissions but his nickname was blue. Others from the green group had green colours. What could be the problem?
Sunny
Posts: 9296
Reputation: 456

Message # 130 | 11:54 AM
streetkilln, it is useful to read the whole thread before posting - http://forum.ucoz.com/forum/7-474-29297-16-1241079976

Anubis, a screenhot, the url of your website, and the corresponding part of your CSS code would help.


I'm not active on the forum anymore. Please contact other forum staff.
Anubis
Posts: 10
Reputation: 0

Message # 131 | 10:26 PM
@Sunny: Unfortunately, I didn't take a screenshot and it has not happened ever since. I was just curious how was that possible but it doesn't matter anymore. Thanks for the help.
NTP
Posts: 296
Reputation: 10

Message # 132 | 3:22 AM
Anubis, it could be one your admin changing them to another group and then back.
Web design and film == my 2 passions.

Genesis Inc. ~ New Horizons, New Beginnings
Duke8954
Posts: 13
Reputation: 0

Message # 133 | 9:01 AM
hi all, i'm creating a new category for the news module that is only accessible to the users. how can i set that?
Sunny
Posts: 9296
Reputation: 456

Message # 134 | 9:20 AM
Duke8954, Site News categories does not have such option, therefore you should either use another module or conditional operators - http://forum.ucoz.com/forum/37-471-1
I'm not active on the forum anymore. Please contact other forum staff.
nunutu29
Posts: 74
Reputation: 0

Message # 135 | 9:29 PM
how can I delete this ??
Attachments: 3635737.png (88.3 Kb)

www.nunutu29.do.am
Search:
Support
Need help? Contact our support team via the contact form or email us at support@ucoz.com.