Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Thread Title Coloring Details »»
Thread Title Coloring
Version: 1.05, by Kirk Y Kirk Y is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 06-01-2006 Last Update: 08-03-2006 Installs: 75
Uses Plugins
 
No support by the author.

Thread Title Coloring

What does this do?
Creates an AdminCP Option to customize the color of your Closed, Moderated, Polled, and Stickied 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 - Added new option to remove the 'Sticky' prefix, switched 'font' tags to 'span' tags, and removed the yes/no for coloring stickies.
1.02 - Added new options to color both Moderated and Polled Threads and Added Option to Add/Remove the "Closed", "Moderated", and "Poll" Prefixes.
1.03 - Added new option to color Hot threads and ability to Add a "Hot" prefix and new capability to extend title coloring settings to search results.
1.04 - Now colors Announcements
1.05 - Fixed Bug that colored Moved Threads as Poll Threads, Added HTML Markup Support

Check out the Screenshot if you need a visual.
* Updated to Reflect New Changes. *

Feel free to post any suggestions or request additions.
Note:
This works on 3.5.5 as well.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 06-29-2006, 08:55 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by murdo
How do you do this for the Announcement threads?! Any ideas?
I figured it'd be redundant for Announcements as they're above the rest of the threads, but I can add an option for it.

Quote:
Originally Posted by camuca
installed works well thanks!
Good to hear, thank you.

-------------------------------------------

As per Murdo's request, I've updated the hack to now include support for announcements. Unfortunately, I couldn't include an option to remove/color the announcement prefixes as it would mean performing a template edit, and I'm trying to keep the hack plugin only.

Version 1.04 - (6/29/06)
  • [ADDED] - Capability to color Announcement titles
Reply With Quote
  #43  
Old 06-30-2006, 10:18 AM
murdo murdo is offline
 
Join Date: Jun 2006
Location: Scotland, UK
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot man, great help!
Reply With Quote
  #44  
Old 06-30-2006, 10:31 AM
devilrulez devilrulez is offline
 
Join Date: Feb 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

kewl mod...........****Installed****

thx acidburn........can u add option for having thread title as bold and closed thread title should be striked out?
Reply With Quote
  #45  
Old 06-30-2006, 08:35 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by devilrulez
kewl mod...........****Installed****

thx acidburn........can u add option for having thread title as bold and closed thread title should be striked out?
It's already in the works.
Reply With Quote
  #46  
Old 07-28-2006, 04:56 PM
Nxs's Avatar
Nxs Nxs is offline
 
Join Date: May 2004
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed (but could use a change)

Could you add a feature to set an "other" or "normal" thread colour ? Always wanted a different colour for threads over url-links and this has the added bonus of different colour sticky/poll/closed/hot. Great plugin - thank you.

edit : hacked the code a little to do what I needed, sloppy but it works for now awaiting your professional magic fingers
Reply With Quote
  #47  
Old 07-28-2006, 06:42 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure exactly what you mean, could you explain a little better?
Reply With Quote
  #48  
Old 07-29-2006, 01:08 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We have no use for this as it sits, BUT if you could add a feature where [RESOLVED] or [ANSWERED] threads could be a different color, now that would be really cool
Reply With Quote
  #49  
Old 07-29-2006, 02:06 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The hack is based off conditions, unless there is a "resolved" or "answered" condition -- that wouldn't work, at least, not without extensive hacking.
Reply With Quote
  #50  
Old 07-29-2006, 03:29 AM
LILMORA4 LILMORA4 is offline
 
Join Date: Feb 2006
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Click Install --thanx
Reply With Quote
  #51  
Old 07-29-2006, 07:13 AM
Nxs's Avatar
Nxs Nxs is offline
 
Join Date: May 2004
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by acidburn0520
Not sure exactly what you mean, could you explain a little better?
Ok normal threads get their colour from the CSS style, but that colour is also used in many other places. I want my normal threads to be 'white' but a:link to be set on the CSS style sheet.

Maybe the (messy) change I made will explain

Quote:
Originally Posted by changelog
Thread Title Coloring
https://vborg.vbsupport.ru/showthread.php?t=117445

Quote:
In the XML product look for the end of the phpcode section for 'search_results_threadbit' and add before the closing braces
Code:
$thread['threadtitle'] = '<span style="color:#FFFFFF">' . $thread['threadtitle'] . '</span>';
Repeat this for 'threadbit_display' php code section
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:51 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.09214 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete