vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Add Custom Colors to Styles (https://vborg.vbsupport.ru/showthread.php?t=47370)

SpeedStreet 01-03-2003 10:00 PM

Add Custom Colors to Styles
 
This hack will allow you to add additional color selections to your style settings in Admin CP. vBulletin comes with the most common color uses already in our styles. However, for those of us that are hack-heavy, or require more differentiation, the ability to change other colors dynamically is needed.

If you have no idea what the heck I am talking about, check out the screenshot below :)

This hack is VERY easy to install (one code addition, one template addition) and should talk even novices two minutes to finish. If you have any questions, feel free to ask away!

SpeedStreet 01-04-2003 07:15 PM

Screenshot Attached

Logik 01-04-2003 07:28 PM

Nice hack...

Herman 01-04-2003 07:42 PM

<font size="1">Indeed, it's nice, but not needed, what I would like, is a hack that allows you to add more colors to the color dropdown.

-Shift</font>

Dean C 01-04-2003 09:01 PM

Not bad - i just add a replacement for this :)

- miSt

Mystis 01-04-2003 09:04 PM

Great idea :) Though I do what Mist does, this might be a bit smarter. I'll have to take a look.

partang2 01-04-2003 09:05 PM

Yupp, nice.... :)

SpeedStreet 01-04-2003 11:19 PM

Thanks for the compliments, all.

The benefit to using this vs. a simple replacement set is that it is MUCH easier to change things globally on the fly. I've been toying around with different custom sets ideas, and the best one I have come up with is this: If you site has official colors, you could create a few called { sitecolor1 }, { sitecolor2 }, etc. This gives you the abliity to use these colors over and over again.

Just a few ideas... :)


All times are GMT. The time now is 09:54 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.01883 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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