| 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...
|