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

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
  #32  
Old 03-31-2007, 03:00 AM
NaughtyStud's Avatar
NaughtyStud NaughtyStud is offline
 
Join Date: Jan 2007
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks like a very useful hack, Thank you so much and clicked Install.
Reply With Quote
  #33  
Old 04-09-2007, 09:22 PM
Stickers Stickers is offline
 
Join Date: Mar 2007
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can someone delete my post?
Reply With Quote
  #34  
Old 05-03-2007, 02:12 PM
Singularity Singularity is offline
 
Join Date: Dec 2002
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to modify this hack so that one can use one color per forum?

So that, for instance, with a partition similar to the one here on vbulletin.org, one could have one background color for threads in forums in the mods section, another for threads in forums in the styles section etc.?
Reply With Quote
  #35  
Old 05-04-2007, 06:04 AM
coffee's Avatar
coffee coffee is offline
 
Join Date: Oct 2002
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well done Kirk!
Reply With Quote
  #36  
Old 07-08-2007, 10:23 AM
chiwexa chiwexa is offline
 
Join Date: Jul 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really nice. Is it possible to do not show the color-legend, when a user disabled the hack in the options?

I hope you understood.

greetz
Reply With Quote
  #37  
Old 07-12-2007, 06:11 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 chiwexa View Post
Really nice. Is it possible to do not show the color-legend, when a user disabled the hack in the options?

I hope you understood.

greetz
Yes, that's an easy change.

Find in your "forumdisplay" template:
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>
Replace with (Remember to change "fieldX" to match your Field Number):
Code:
<if condition="$bbuserinfo['fieldX'] == 'Yes, enable.'">
<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>
</if>
Reply With Quote
  #38  
Old 08-03-2007, 05:45 PM
Stickers Stickers is offline
 
Join Date: Mar 2007
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks...
Reply With Quote
  #39  
Old 09-23-2007, 02:10 AM
wtrk wtrk is offline
 
Join Date: Jun 2005
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey, it doesnt work for me.
Reply With Quote
  #40  
Old 10-04-2007, 10:37 PM
Fire112 Fire112 is offline
 
Join Date: Sep 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this divide with me also installed, however, it does not go. See appendix
Reply With Quote
  #41  
Old 03-12-2008, 07:34 PM
jGas jGas is offline
 
Join Date: May 2007
Posts: 172
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot! i was looking for something like this!

i will try it on 3.7!
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 12:25 AM.


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.04347 seconds
  • Memory Usage 2,302KB
  • 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
  • (3)bbcode_code
  • (1)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