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 - Threadbit Coloring Based on Thread Status (https://vborg.vbsupport.ru/showthread.php?t=142857)

NaughtyStud 03-31-2007 03:00 AM

This looks like a very useful hack, Thank you so much and clicked Install. ;)

Stickers 04-09-2007 09:22 PM

can someone delete my post?

Singularity 05-03-2007 02:12 PM

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.?

coffee 05-04-2007 06:04 AM

Well done Kirk!

chiwexa 07-08-2007 10:23 AM

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.:confused:

greetz :)

Kirk Y 07-12-2007 06:11 PM

Quote:

Originally Posted by chiwexa (Post 1285721)
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.:confused:

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>


Stickers 08-03-2007 05:45 PM

thanks...

wtrk 09-23-2007 02:10 AM

hey, it doesnt work for me.

Fire112 10-04-2007 10:37 PM

I have this divide with me also installed, however, it does not go. See appendix

jGas 03-12-2008 07:34 PM

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

i will try it on 3.7!


All times are GMT. The time now is 01:04 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.01129 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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