vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Thread Title Coloring (https://vborg.vbsupport.ru/showthread.php?t=121449)

Kirk Y 07-17-2006 10:00 PM

Thread Title Coloring
 
What does this do?
Creates an AdminCP Option to customize the color of your Closed, Moderated, Polled, Stickied, and Announcement Thread Titles.

Installation:
1. Go into your AdminCP -> Product Manager -> Add/Import Products.
2. Import the product -- that's it!

3. To use, go to vBulletin Options -> Thread Coloring.
IF YOU'RE UPGRADING -- BE SURE TO SET OVERWRITE TO YES WHEN IMPORTING THE NEW XML FILE.
Version History:
1.00 - Original Release
1.01 - Now compatible 3.6 Gold, HTML Markup Capability Added, Fixed bug that colored Moved Threads the same as Poll Threads
1.02 - Added Version Check (Upgrade Not Necessary)

Check out the Screenshot if you need a visual. ;)

Feel free to post any suggestions or request additions.

Michael_Tree 07-17-2006 11:45 PM

<font color="Red">Member did not provide screenie.</font>

Kirk Y 07-17-2006 11:48 PM

Must have been updating the thread when you posted. They're in there now.

Member has a name too... lol.

MGM 07-18-2006 03:59 AM

This looks like its in the vBulletin Options... wouldnt this work better if it was in the Style Manager so that you can customize the colors per style?

MGM out

jluerken 07-18-2006 05:09 AM

Its a good idea but it should work on a per style basis.

Example. Making hot thread appear in red can look extremly good in one style but could be readable in another. :-(

MGM 07-18-2006 05:31 AM

What I would reccomend doing is changing all the:

PHP Code:

<span style="color:' . $vbulletin->options['BLAH'] . '"

in the product file to:

PHP Code:

<span class="nameOfClass"

With nameOfClass being things like hotThreadColor, closedThreadColor, etc.

Then, add:

Code:

.nameOfClass {
  color: #fff;
}

to the Additional CSS Definitions in the All Style Options under the Style Manager. That way, all the admin has to do is edit the All Style Options' Additional CSS Definitions to what colors they want and it will only affect the colors for that one style...

That would be one simple, easy way to do it. But the best way would be if you could add a new field altogether for the All Style Options that works like the Table Footer or Table Header sections... where you can choose color, font, background, etc. But that might require more work than you would want to put in (I'm not sure how much work exactly, because I haven't played with the plugin system too much personally).

MGM out

Snake 07-18-2006 11:28 AM

Very nice indeed! :)

fuzionpoker 07-18-2006 12:18 PM

JoRd likes very much!!

Thanks a lot acid :D

JoRd

rob30UK 07-18-2006 12:26 PM

I was looking for something that would actually color the background of the table row itself.....

I dont think that is possible with this mod is it?

MGM 07-18-2006 04:27 PM

You'd have to change some of the coding to do that... Instead of: <span style="color: ...

It'd have to be something like: <span style="background: ...

... Actually, it might need to be added to the table cell itself from the templates...

MGM out


All times are GMT. The time now is 11:21 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.01113 seconds
  • Memory Usage 1,736KB
  • 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)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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