vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin Tips & Tricks (https://vborg.vbsupport.ru/forumdisplay.php?f=239)
-   -   JM - Usergroup Legend (https://vborg.vbsupport.ru/showthread.php?t=167228)

John3971 01-07-2008 10:00 PM

JM - Usergroup Legend
 
1 Attachment(s)
This Code fix a Usergroup legend in Forumhome

Go to: Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Forum Home Templates -> FORUMHOME
Find:
Code:

</tbody>
<!-- end logged-in users -->

Add Above:
Code:

<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 01-08-2008 12:05 PM

Cool thanks ;)

Triky 01-15-2008 08:25 AM

I like this alternative usergroups legend. Nice mod. ;)

Opserty 01-15-2008 06:12 PM

This is only specific to your forum though isn't it?

John3971 01-15-2008 07:39 PM

Quote:

Originally Posted by Opserty (Post 1422035)
This is only specific to your forum though isn't it?

what do you mean?

Opserty 01-15-2008 08:10 PM

Quote:

Originally Posted by John3971 (Post 1422112)
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 01-16-2008 12:29 PM

Quote:

Originally Posted by Opserty (Post 1422132)
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
Code:

<font color="red"><b>Administrators</b></font>
To
Code:

<font color="pink"><b>Administrators</b></font>

simsimt 01-17-2008 07:43 AM

Nice, but why using the deprecated font element? You could do:

HTML Code:

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


wii 01-17-2008 10:49 AM

Nice, how do I place the legend right under the active user list in the same table left aligned ?

Thanks

TigerWare 01-17-2008 06:39 PM

Quote:

Originally Posted by John3971 (Post 1417525)
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 01-17-2008 06:48 PM

Quote:

Originally Posted by TigerWare (Post 1423267)
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 06-23-2008 05:27 PM

Nice mod.

Internetcafe 07-07-2008 11:39 PM

I'd click install if I there was one to click .. nice and simple and no plugins.

TFEX 07-13-2008 08:25 PM

thanks for the info, implemented on my boards without any problems :)

Jase2 07-16-2008 03:58 PM

This is mine:
HTML Code:

<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 09-24-2008 06:06 AM

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://vborg.vbsupport.ru/external/2008/09/13.jpg

WwW.2ReHam.CoM 09-24-2008 02:29 PM

tnx dear
i use this
Quote:

<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 09-24-2008 03:13 PM

Quote:

Originally Posted by the stig (Post 1629065)
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://vborg.vbsupport.ru/external/2008/09/13.jpg

bump for answer.

Lynne 09-24-2008 03:35 PM

Quote:

Originally Posted by the stig (Post 1629306)
bump for answer.

Usergroup Manager > Edit Administrators > Username HTML Markup
Quote:

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 09-25-2008 05:34 AM

Quote:

Originally Posted by Lynne (Post 1629329)
html codes

Thanks Lynne. ;)




:)


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01230 seconds
  • Memory Usage 1,767KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete