PDA

View Full Version : JM - Usergroup Legend


John3971
08 Jan 2008, 04:12
This Code fix a Usergroup legend in Forumhome

Go to: Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> FORUMHOME
Find:
</tbody>
<!-- end logged-in users -->
Add Above:
<tr><td class="alt2" colspan="2" align="center">
<span class="smallfont">
<font color="red"><b>Administrators</b></font> -
<font color="green"><b>Super Moderators</b></font> -
<font color="orange"><b>Moderators</b></font> -
<font color="black">Members</font> –
<font color="black"><strike>Banned Users</strike></font>
</span>
</td></tr>

sp0okz
08 Jan 2008, 14:05
Cool thanks ;)

Triky
15 Jan 2008, 10:25
I like this alternative usergroups legend. Nice mod. ;)

Opserty
15 Jan 2008, 20:12
This is only specific to your forum though isn't it?

John3971
15 Jan 2008, 21:39
This is only specific to your forum though isn't it?

what do you mean?

Opserty
15 Jan 2008, 22:10
what do you mean?
Like if someone uses this on their board, their administrators have to be coloured "Red", Moderators "Green" e.t.c. What if someone has Administrators who are colour coded as "Pink" or something?

John3971
16 Jan 2008, 14:29
Like if someone uses this on their board, their administrators have to be coloured "Red", Moderators "Green" e.t.c. What if someone has Administrators who are colour coded as "Pink" or something?

then you just changes this
<font color="red"><b>Administrators</b></font>
To
<font color="pink"><b>Administrators</b></font>

simsimt
17 Jan 2008, 09:43
Nice, but why using the deprecated font element? You could do:


<strong style="color: red;">Administrators</strong> -
<strong style="color: green;">Super Moderators</strong> -
<strong style="color: orange;">Moderators</strong> -
...

wii
17 Jan 2008, 12:49
Nice, how do I place the legend right under the active user list in the same table left aligned ?

Thanks

TigerWare
17 Jan 2008, 20:39
Don΄t forgett to Mark as Installed if you use this code.

Wrong forum. Did you intend to post an article or a modification?

John3971
17 Jan 2008, 20:48
Wrong forum. Did you intend to post an article or a modification?

this was posted in template modification forum at first but somebody moved it. will changes it later.

Declan127
23 Jun 2008, 19:27
Nice mod.

Internetcafe
08 Jul 2008, 01:39
I'd click install if I there was one to click .. nice and simple and no plugins.

TFEX
13 Jul 2008, 22:25
thanks for the info, implemented on my boards without any problems :)

Jase2
16 Jul 2008, 17:58
This is mine:

<tr><td class="alt1 smallfont" colspan="2"><b>Legend:</b> <span class="legadmin">Administrators</span> | <span class="legmod">Community Moderators</span> | <span class="legst">Security Team</span> | <span class="legexp">Modding Experts</span> | <span class="legprem">Members</span></td></tr>

Stops validation errors. Of course, they will need to be changed to match your set-up & you will need to add the classes in the "Additional CSS". :)

-- Jason

the stig
24 Sep 2008, 08:06
I just did this but my user name color isn't changing ... Does anyone here know how I can change the colors of the Admin to red, Moderators to green etc..thanks.

https://www.vbulletin.org/forum/external/2008/09/13.jpg

WwW.2ReHam.CoM
24 Sep 2008, 16:29
tnx dear
i use this
<tr><td class="alt2" colspan="2" align="center">
<font color="#629632"><b>مدیر کل انجمن</b></font> –
<font color="#FF8040"><b>ناظم انجمن</b></font> –
<font color="#B50000"><b>مدیر تالار</b></font> –
<font color="#0033CC"><b>همکار تالار </b></font> –
<font color="#007AD0"><b>شهروند فعال</font> </b> –
<b>شهروند انجمن</b> –
شهروند فعال نشده –
<font color="767676"><strike>شهروند تحریم شده</strike></font>
</td></tr>
nice learn

the stig
24 Sep 2008, 17:13
I just did this but my user name color isn't changing ... Does anyone here know how I can change the colors of the Admin to red, Moderators to green etc..thanks.

https://www.vbulletin.org/forum/external/2008/09/13.jpg

bump for answer.

Lynne
24 Sep 2008, 17:35
bump for answer.
Usergroup Manager > Edit Administrators > Username HTML Markup
Username HTML Markup
The first field is the opening tag. The second field is the closing tag. These tags will be inserted around the user's username like this:

[opening tag]username[closing tag]

Some HTML tags you might want to use here include:

<span style="font-weight: bold;">username</span> = username
<span style="font-style: italic;">username</span> = username
<span style="text-decoration: underline;">username</span> = username
<span style="color: red;">username</span> = username
<span style="font: 20px verdana;">username</span> = username

You can also do combinations by using more than one attribute in the style property:

<span style="font: 20px verdana; color: red;">username</span> = username

the stig
25 Sep 2008, 07:34
html codes

Thanks Lynne. ;)




:)