vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Color Group Forum Home (https://vborg.vbsupport.ru/showthread.php?t=111014)

Matt Slick 03-24-2006 12:50 AM

Quote:

Originally Posted by bashy
hi

For coloured usergroups...

In the usergroup manager under "Username HTML Markup"

In the 1st box
Code:

<span style="color: orange; font-weight: bold;">
2nd Box
Code:

</span>
Change the colour to suit your needs...
Do this for each group you want a colour for :)

that was just what I needed. Thanks.

dirtycrow 03-26-2006 09:13 PM

anyway to get this to work with secondary groups?

Gizmo5h1t3 04-16-2006 02:38 PM

as mentioned before, if members go and cahnge the colours in the usergroup options, its surely gonna mess up anyones chioces they have purcahsed if they have used the vb plaza??

mebbe it should be mentioned then that any boards using vbplaza might not benefit from this.....

akanevsky 04-23-2006 02:25 PM

Instead of doing:

PHP Code:

$table "color_groups";
if (!
table_exists($table))
{
$vbulletin->db->query("CREATE TABLE `" TABLE_PREFIX "color_groups` (
  `color_id` int(15) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `color` varchar(255) NOT NULL default '',
  `orderid` int(10) NOT NULL default '0',
  PRIMARY KEY  (`color_id`),
  UNIQUE KEY `name` (`name`)
) TYPE=MyISAM;"
);


You should do:

PHP Code:

$vbulletin->db->query_write("CREATE TABLE IF NOT EXISTS `" TABLE_PREFIX "color_groups` (
  `color_id` int(15) NOT NULL auto_increment,
  `name` varchar(255) NOT NULL default '',
  `color` varchar(255) NOT NULL default '',
  `orderid` int(10) NOT NULL default '0',
  PRIMARY KEY  (`color_id`),
  UNIQUE KEY `name` (`name`)
) TYPE=MyISAM"
); 

Besides, I see no reason why you can't use usergroupcache to derive the list of color usergroups.

SweetHome 04-24-2006 09:36 PM

thanks..
teşekk?rler dostum saol.. ;)

JohnBee 04-29-2006 07:37 AM

Great hack! (installed)

I would like to move the legend to the bottom of my WOL listing window instead of above the member names. something like this

************************************************** ****
Currently online (blabla ...)

user1, user2, user3
----------------------------------------------------------
Legend: -Administrators -Personel -Moderators etc etc.
************************************************** ***

How would I go about doing this?

junaid 04-29-2006 10:42 AM

I have same proble, Users name colour is not changed, but group name paears proper colour.
Any body tell what modificatiion i have to done

bashy 04-29-2006 02:24 PM

This does not change the member colours

FLMom 04-29-2006 02:42 PM

Installing it now, thanks :D

FLMom 04-29-2006 03:22 PM

I would also like to know how to get all of this put under the members names instead of over them, with a line seperating them. If you look on my forums page, it has too much of a gap and I don't like that ;)

http://www.myparentconnection.com/forums/index.php


All times are GMT. The time now is 05:02 AM.

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.01145 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete