Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Threadbit Coloring Based on Thread Status Details »»
Threadbit Coloring Based on Thread Status
Version: 1.01, by Kirk Y Kirk Y is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.5 Rating:
Released: 03-22-2007 Last Update: 03-25-2007 Installs: 63
Uses Plugins Template Edits
 
No support by the author.

Threadbit Coloring
thread color threadbit background coloring

What does it do?
This modification will color the threadbit of your threads relative to their status, ie: closed, popular, read, unread. It's my version of the system currently in place here on vBulletin.org.

Installation
1. Upload the attached Product XML file.
2. Follow the instructions in the readme file.
3. Look at the post just below this one for information on customizing the modification.

Screenshots
As I said, this is my take on vB.org's System - so they're fairly similar, but I've attached screenshots because I know people are going to want them anyway.

Donations
As always, this modification is released to you, the community, to do with as you please at no charge - should you, however, feel compelled to donate funds to me - you may click the "Support Author" button on the panel to the right to do so; it's much appreciated.

Execute this SQL Query to Enable this Option for all your Members
Code:
UPDATE userfield SET fieldX = 'Yes, enable.'
Note: Remember to add into the SQL Query your Table Prefix if you use one.
Don't forget to Change the X to your Field Number.

If You're Using this Modification
Please Click
Install
Feel free to Nominate it for MOTM if you'd like as well.

Show Your Support

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

Comments
  #2  
Old 03-22-2007, 10:22 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

Modification Updates

Update: 1.01
  • Added the ability to Enable/Disable this Modification
  • Added a Coloring Legend on the Forumdisplay page
Upgrade Instructions
1. Upload the new Product XML File and set Overwrite to "Yes".
2. Replace all instances in your "threadbit" template of: (Don't forget to add in your Field Number!
Code:
<if condition="$bbuserinfo['fieldX'] == 'Yes, enable.' AND $status">
With:
Code:
<if condition="$bbuserinfo['fieldX'] == 'Yes, enable.' AND $status AND $enable">
3. Find in your "forumdisplay" template:
Code:
$forumjump
Add above:
Code:
<div class="smallfont" align="left"><strong>$vbphrase[legend]</strong></div>
		<table cellpadding="4" cellspacing="1" border="0" width="300" class="tborder" style="table-layout:fixed">
			<tr>
				<td class="alt1_unread" align="center"><span class="smallfont">$vbphrase[tb_new]</span></td>
				<td class="alt1_uposted" align="center"><span class="smallfont">$vbphrase[tb_posted]</span></td>

				<td class="alt1_popular" align="center"><span class="smallfont">$vbphrase[tb_popular]</span></td>
				<td class="alt1_closed" align="center"><span class="smallfont">$vbphrase[tb_closed]</span></td>
			</tr>
		</table>
Update: 1.01 (Con'td.)
(As this is just a simple change, I didn't change the Modification's Version #.)
  • Fixed CSS to improve Browser Compliancy
Upgrade Instructions
1. Replace all instances in your Main CSS - Additional Styling of:
Code:
color: #000
With:
Code:
color: inherit;
Reply With Quote
  #3  
Old 03-22-2007, 11:02 PM
bacanze bacanze is offline
 
Join Date: Mar 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could be very useful, is it easy to modify the colours?
Reply With Quote
  #4  
Old 03-22-2007, 11:13 PM
projectego's Avatar
projectego projectego is offline
 
Join Date: Feb 2006
Location: UK
Posts: 724
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this, acidburn0520.
Reply With Quote
  #5  
Old 03-22-2007, 11:15 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 bacanze View Post
Could be very useful, is it easy to modify the colours?
Yes, very - there are instructions on doing so in the readme file.

Quote:
Originally Posted by projectego View Post
Thanks for this, acidburn0520.
You're welcome.
Reply With Quote
  #6  
Old 03-23-2007, 06:25 AM
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Location: Italy
Posts: 426
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey man, can you make the only one for Threadbit only for who have subscribed the thread?
Reply With Quote
  #7  
Old 03-23-2007, 09:19 AM
ninjamaster's Avatar
ninjamaster ninjamaster is offline
 
Join Date: Oct 2006
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks m8 nice work
Reply With Quote
  #8  
Old 03-23-2007, 03:19 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 Masiello View Post
Hey man, can you make the only one for Threadbit only for who have subscribed the thread?
Sure, I'll make an option for this with the next version.
Reply With Quote
  #9  
Old 03-23-2007, 03:59 PM
Rickeo's Avatar
Rickeo Rickeo is offline
 
Join Date: Jan 2007
Location: Manchester
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet been looking for something like this for ages

Thanks mate

~Rick~
Reply With Quote
  #10  
Old 03-24-2007, 02:37 AM
obmob obmob is offline
 
Join Date: Nov 2001
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Users can choose if they want or not to display colors? oo
Reply With Quote
Reply

Thread Tools

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 07:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10840 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (7)bbcode_code
  • (3)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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