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 2 of 8«123478»
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: Online
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...
 
MetalstormDate: Monday, 2009-02-23, 4:00 Pm | Message # 16
Newbie
Group: Users
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
maybe by "Add url" you mean http://src.ucoz.com/img/fr/moder.gif ?? or maybe it's something which i has not noticed
(any link or something other ) ?? i found nothing please help me with this one .

and what about http://src.ucoz.com/img/fr/moder.gif then it's not answer to my question , becouse it's a
moderator's icon , but what if logged in i ?? it will show moderator's icon right ?

Code
Group: <a title="USER_GROUP"><img src="http://src.ucoz.com/img/fr/moder.gif "></a>

but what if i will try this one

Code
<?if('$USER_GROUP$="Administrators"')?><a title="$USER_GROUP$"><img src="http://s101.ucoz.net/img/fr/admin.gif"></a><?else?><?if('$USER_GROUP$="Moderators"')?><a title="$USER_GROUP$"><img src="http://src.ucoz.com/img/fr/moder.gif"></a>
<?else?>$USER_GROUP$<?endif?><?endif?>

now i try use it and hope it will work dry

Added (2009-02-23, 4:00 Pm)
---------------------------------------------
no , it is not work , it shows only a admins icon for all groups sad what mistakes I have made?


Saint Trinity exists everywhere ... even in an atomic structure ...

Message edited by Metalstorm - Monday, 2009-02-23, 3:58 Pm
 
iLeeDate: Monday, 2009-02-23, 4:21 Pm | Message # 17
Constant
Group: Checked
Messages: 197
Awards: 0
Reputation: 0
Status: Offline
Quote (Metalstorm)
<?if('$USER_GROUP$="Administrators"')?><a title="$USER_GROUP$"><img src="http://s101.ucoz.net/img/fr/admin.gif"></a><?else?><?if('$USER_GROUP$="Moderators"')?><a title="$USER_GROUP$"><img src="http://src.ucoz.com/img/fr/moder.gif"></a>
<?else?>$USER_GROUP$<?endif?><?endif?>

You want to use the

Quote

<?if($GROUP_ID$="1")?><a title="$USER_GROUP$"><img src="Link to image for group 1"></a><?endif?><?if($GROUP_ID$="2")?><a title="$USER_GROUP$"><img src="Link to image for group 2"></a><?endif?><?if($GROUP_ID$="3")?><a title="$USER_GROUP$"><img src="Link to image for group 3"></a><?endif?><?if($GROUP_ID$="4")?><a title="$USER_GROUP$"><img src="Link to image for group 4"></a><?endif?><?if($GROUP_ID$="5")?><a title="$USER_GROUP$"><img src="Link to image for group 5"></a><?endif?>

Notice the <?if($GROUP_ID$="1")?>

This finds out if the User is in Group 1, If the user is in that group it will show the image you set for that group... Understand now?


Use your brain before you post ~Lee
Please use search, ~Lee


Message edited by iLee - Monday, 2009-02-23, 4:22 Pm
 
shemiDate: Wednesday, 2009-03-04, 2:00 Pm | Message # 18
Newbie
Group: Users
Messages: 3
Awards: 0
Reputation: 0
Status: Offline
How can I forbid the users to add entries on main page? pls HELP!

RAPERR!!
 
PilotDate: Wednesday, 2009-03-04, 2:07 Pm | Message # 19
Experienced
Group: Checked
Messages: 683
Awards: 29
Reputation: 77
Status: Offline
CP > Users > User groups > choose the group you want to edit and click on the icon > Site news > uncheck the box that says "Add new entries".

 
fakerosDate: Thursday, 2009-03-05, 9:56 Pm | Message # 20
Constant
Group: Checked
Messages: 155
Awards: 13
Reputation: 13
Status: Offline
cry How to give permission to usergroup in site news section they can use HTML code pane bcz in Main » Users » User groups » Set permissions for all groups this option is not available for checking. bcz it is not visible.

A common mistake that people make when trying to make something completely foolproof is to underestimate the ingenuity of complete fools...
 
SunnyDate: Friday, 2009-03-06, 2:50 Am | Message # 21
Haunter
Group: Administrators
Messages: 2016
Awards: 121
Reputation: 139
Status: Online

It can be enabled for moderators and administrators only. Be attentive with this permission and give it to the users you trust!

Attachments: 0790567.png(5Kb)


I'm not "man", "sir" or whatever. I'm female!
About signatures, screenshots etc...
 
TeamV2Date: Sunday, 2009-04-12, 1:00 Am | Message # 22
Newbie
Group: Users
Messages: 3
Awards: 0
Reputation: 0
Status: Offline
Quote (Sunny)
Username colors in posts
Save the template, go to "Style sheet (CSS)", and add the following lines there:
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

and so on for each group (if you have more than four groups).
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 do not understand that part. I only get my groups colored in forum is viewed by box. They don't get colored in in the post. How do i get them to color up the group in the post? And how do i change the color of the names within those groups. I think the quoted part explained it, but i dun get it. please help thx.

I just put
/* User Group Marks */
a.groupModer:link,a.groupModer:visited,a.groupModer:hover {color:#088A08;}
a.groupAdmin:link,a.groupAdmin:visited,a.groupAdmin:hover {color:#0000FF;}
a.groupVerify:link,a.groupVerify:visited,a.groupVerify:hover {color:#DF0101;}
a.groupOther1:link,a.groupOther1:visited,a.groupOther1:hover {color:#FFFF00;}
a.groupOther2:link,a.groupOther2:visited,a.groupOther2:hover {color:#33FF00;}
a.postUser1 {color:#FFFF00;} – 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
a.postUser4 {color:#FFFF00;} - color of group 4
/* ---------------- */

in the CSS and

Quote (Sunny)
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('$USERNAME$,');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('$USERNAME$,');return false;"><span class="forum_nik$UID$">$USERNAME$</span></a></td>

I did that. Please help! Thank you!

Message edited by TeamV2 - Sunday, 2009-04-12, 1:17 Am
 
ArmarosDate: Sunday, 2009-04-12, 5:14 Am | Message # 23
Haunter
Group: Checked
Status: Offline
Quote (TeamV2)
I did that. Please help! Thank you!
Everything works fine. Now, make sure you didn't add "- color of group 1-4 " in CSS.

Also be sure you replace code properly. If you deleted whole row, you deleted the row
not the cell which you had. Make sure you replace only till this part, look below:

Quote (Only this)
<tr><td width="23%" class="postTdTop" align="center"><a class="postUser" href="javascript://" onClick="emoticon('$USERNAME$,');return false;">$USERNAME$</a></td>

Quote (If you deleted row, than this code, which is too much)
<tr><td width="23%" class="postTdTop" align="center"><a class="postUser" href="javascript://" onClick="emoticon('$USERNAME$,');return false;">$USERNAME$</a></td><td class="postTdTop"><?if($AWARDS_DO_URL$ && $USER_LOGGED_IN$ && $CUR_USER_ID$!=$UID$)?><div style="float:right"><a href="javascript://" onclick="new _uWnd('AwD','Give award',380,200,{autosize:1,maxh:300},{url:'/index/55-$UID$-28-forum-$FID$_$TID$_$ID$_16_$TIMESTAMP$'}); return false;"><img src="http://s102.ucoz.net/img/icon/thumbu.png" width="13" border="0" title="Good post"></a> <a href="javascript://" onclick="new _uWnd('AwD','Give award',380,200,{autosize:1,maxh:300},{url:'/index/55-$UID$-47-forum-$FID$_$TID$_$ID$_16_$TIMESTAMP$'}); return false;"><img src="http://s102.ucoz.net/img/icon/thumbd.png" width="13" border="0" title="Bad post"></a></div><?endif?>Date: $WDAY$, $DATE$, $TIME$ | Message # $NUMBER$</td></tr>

And again, replace 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>

To 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>
TeamV2Date: Sunday, 2009-04-12, 11:10 Am | Message # 24
Newbie
Group: Users
Messages: 3
Awards: 0
Reputation: 0
Status: Offline
I did all that, but it did not fix my problem sad It wont change color on the member page and the topic starter and etc..
 
ArmarosDate: Sunday, 2009-04-12, 11:54 Am | Message # 25
Haunter
Group: Checked
Status: Offline
Quote (TeamV2)
It wont change color on the member page and the topic starter and etc..
Of course it wont. Top topic starters is made via informer which means you must modify informer. And member page is under body, which means you can't modify it.
TeamV2Date: Sunday, 2009-04-12, 12:15 Pm | Message # 26
Newbie
Group: Users
Messages: 3
Awards: 0
Reputation: 0
Status: Offline
Quote (Armaros)
Of course it wont. Top topic starters is made via informer which means you must modify informer. And member page is under body, which means you can't modify it.

so i can't change the color of groups and ID in site page also? But it wont change group color in forum post as well. I can't modifty that too? I made my own member page using informer, not the one in the forums.

Message edited by TeamV2 - Sunday, 2009-04-12, 12:16 Pm
 
SunnyDate: Monday, 2009-04-13, 3:19 Am | Message # 27
Haunter
Group: Administrators
Messages: 2016
Awards: 121
Reputation: 139
Status: Online
Quote (TeamV2)
so i can't change the color of groups and ID in site page also?

You can't change IDs. As for colors - it's not clear where exactly you want to change them. Screenshots will help.


I'm not "man", "sir" or whatever. I'm female!
About signatures, screenshots etc...
 
ArmarosDate: Thursday, 2009-04-16, 2:34 Pm | Message # 28
Haunter
Group: Checked
Status: Offline
Question: The User Groups has the default groups of:
Users
Checked
Moderators
Administrators
Friends
Blocked
Guests
They all leave me the option to edit them but I can not remove either of them. Is there a way to?
Answer: No.
BrazenDate: Friday, 2009-04-17, 11:36 Pm | Message # 29
Constant
Group: Checked
Messages: 125
Awards: 8
Reputation: 23
Status: Offline
Question: Is there anyway to increase the number of groups the forum can hold cause I need like 50 different groups and the max I can get right now is like 10.
Answer: No, I don't think you can, so you have to work with what you got.


If I helped you give me respect.

 
PurpleBischDate: Sunday, 2009-04-26, 10:55 Am | Message # 30
Curious
Group: Checked
Messages: 39
Awards: 0
Reputation: 0
Status: Offline
What is the user group icon pixel dimmension?
 
uCoz Community » uCoz System management and tuning » Site Users » User groups (group colors, how to change a user group, access permissions)
Page 2 of 8«123478»
Search: