vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Thread Listing Background Colors Like vBulletin.org (https://vborg.vbsupport.ru/showthread.php?t=174973)

Hasann 04-02-2008 10:00 PM

Thread Listing Background Colors Like vBulletin.org
 
Thread Listing Color Status Like vB.Org by Hasann

What does it?:

Thread Listing Color Status: This option allows you to color code threadbits based on specific status of the thread:
  1. New Thread or Post
  2. Sticky Thread
  3. Poll Thread
  4. Posted Thread
  5. Popular Thread
  6. Closed Thread
  7. New Announcement
  8. Normal Old Thread

Currently Feature List:
  • Fully Phrased
  • Compatible with all Styles
  • Compatible with "Modification System" Hack
  • Added Per User Function: this hack does work per selected user
  • The system can be turned on and off.
  • You can set own background colors per threadbits based on specific status of the thread

Install Instructions:

just import product .xml file via product manager that's all it :eek:

Available Languages
  • English
  • T?rkce

Note: this hack replaces the old threadbit template with the new threadbit_bgcolors template also it replaces the templates. If you before made any template edits for threadbit template do it also for threadbit_bgcolors template too

If you like this modification -> Please just clicks install and MOTM buttons

Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked INSTALL.

Hasann 04-02-2008 11:47 PM

First post reserved for new features!

SEOvB 04-03-2008 12:08 AM

Another good hack, thanks Hasann!

asj 04-03-2008 12:15 AM

Plain boat !!

TTG 04-03-2008 12:50 AM

Installed, but had to disable 'cos the forum footer right side graphic disappears !? .. see attached :-

ssslippy 04-03-2008 02:23 AM

I wanna say thanks for this. I think its a freaking awesome system.

MR-2ZZ 04-03-2008 04:38 AM

screws up my footer :(

Hasann 04-03-2008 06:22 AM

Quote:

Originally Posted by TTG (Post 1481542)
Installed, but had to disable 'cos the forum footer right side graphic disappears !? .. see attached :-

Quote:

Originally Posted by MR-2ZZ (Post 1481650)
screws up my footer :(

pm me your site addresses

codershark 04-03-2008 06:23 AM

This Hack create a empty leftside columne :( and delete the background of the footer

Hasann 04-03-2008 06:38 AM

Quote:

Originally Posted by TTG (Post 1481542)
Installed, but had to disable 'cos the forum footer right side graphic disappears !? .. see attached :-

Quote:

Originally Posted by MR-2ZZ (Post 1481650)
screws up my footer :(

Quote:

Originally Posted by codershark (Post 1481713)
This Hack create a empty leftside columne :( and delete the background of the footer

updated and fixed buddies please re-import new xml file overwrite

I hope template bugs fixed now

codershark 04-03-2008 06:50 AM

the new xml dont repair the mistakes.

Hasann 04-03-2008 06:54 AM

Quote:

Originally Posted by codershark (Post 1481721)
the new xml dont repair the mistakes.

Note: this hack replaces the old FORUMDISPLAY template with the new FORUMDISPLAY_BGCOLORS template also it replaces the templates. If you before made any template edits for FORUMDISPLAY template do it also for FORUMDISPLAY_BGCOLORS template too

yilmaz 04-03-2008 07:26 AM

Best thanks to the great thing is you are the best

samet54 04-03-2008 09:19 AM

harıka guzel birşey muhtesem oldu ya elıne saglık

impuLsive 04-03-2008 09:26 AM

MySQL Error : Unknown column 'bgcolorspermissions' in 'field list'

I get that error when trying to update permissions for my admin group, so I uninstalled it for now. Changing permissions in forums works fine though.

Hasann 04-03-2008 09:33 AM

Quote:

Originally Posted by impuLsive (Post 1481808)
MySQL Error : Unknown column 'bgcolorspermissions' in 'field list'

I get that error when trying to update permissions for my admin group, so I uninstalled it for now. Changing permissions in forums works fine though.

updated and fixed please re-import new xml file overwrite

KURTZ 04-03-2008 09:39 AM

*Kurtz watches this hack :D really nice job!

anyway i'm wondering and suggest you a feuature: if i wanna colorize only the Announce or the Sticky (i don't care about the normal threads) can i do that? hope you understand :)

iyihost 04-03-2008 09:53 AM

Good Hasann it's perfect hack

HaYLaZ 04-03-2008 10:37 AM

good job;)

TTG 04-03-2008 10:45 AM

Quote:

Originally Posted by Hasann (Post 1481722)
Note: this hack replaces the old FORUMDISPLAY template with the new FORUMDISPLAY_BGCOLORS template also it replaces the templates. If you before made any template edits for FORUMDISPLAY template do it also for FORUMDISPLAY_BGCOLORS template too

Latest xml still creates footer problems on my site.
Can you omit the footer template edits from the xml and let us do them manually to see if we can solve the problem !?

choccyclaire 04-03-2008 11:40 AM

Why didn't whoever creates the plugins for vbulletin post this? :p

I will try later. :)

Hasann 04-03-2008 11:47 AM

Quote:

Originally Posted by KURTZ (Post 1481819)
*Kurtz watches this hack :D really nice job!

anyway i'm wondering and suggest you a feuature: if i wanna colorize only the Announce or the Sticky (i don't care about the normal threads) can i do that? hope you understand :)

yes I can do this feature
Quote:

Originally Posted by TTG (Post 1481857)
Latest xml still creates footer problems on my site.
Can you omit the footer template edits from the xml and let us do them manually to see if we can solve the problem !?

yes you can make manually template edit

first step is delete the FORUMDISPLAY_BGCOLORS template from this hack
and search in FORUMDISPLAY template this code

HTML Code:

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
than add above this code

HTML Code:

<if condition="$vbulletin->options['enable_thread_listing_color_legend_box'] == 1">
<td align="$stylevar[left]">
<table class="tborder" cellpadding="3" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
<div class="smallfont" align="$stylevar[left]"><strong>$vbphrase[hasann_color_legend]</strong>:</div>
<td class="newpost" align="center"><span class="smallfont">$vbphrase[hasann_new_post]</span></td>
<td class="stickythread" align="center"><span class="smallfont">$vbphrase[hasann_sticky_thread]</span></td>
<td class="pollthread" align="center"><span class="smallfont">$vbphrase[hasann_poll_thread]</span></td>
<td class="postedthread" align="center"><span class="smallfont">$vbphrase[hasann_posted_thread]</span></td>
<td class="popularthread" align="center"><span class="smallfont">$vbphrase[hasann_popular_thread]</span></td>
<td class="closedthread" align="center"><span class="smallfont">$vbphrase[hasann_closed_thread]</span></td>
<td class="announcement" align="center"><span class="smallfont">$vbphrase[hasann_announcement_thread]</span></td>
</tr>
</table>
</td>
</if>

and make this template edit 2 times
Quote:

Originally Posted by choccyclaire (Post 1481876)
Why didn't whoever creates the plugins for vbulletin post this? :p

I will try later. :)

what do you mean ??

TTG 04-03-2008 12:35 PM

Quote:

Originally Posted by Hasann (Post 1481878)
and make this template edit 2 times

Not quite sure where I need to add the template edits "2 times" !?

Hasann 04-03-2008 12:42 PM

Quote:

Originally Posted by TTG (Post 1481926)
Not quite sure where I need to add the template edits "2 times" !?

There are two times this code in forumdisplay template
in FORUMDISPLAY template find

HTML Code:

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
add this code above

HTML Code:

<if condition="$vbulletin->options['enable_thread_listing_color_legend_box'] == 1">
<td align="$stylevar[left]">
<table class="tborder" cellpadding="3" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
<div class="smallfont" align="$stylevar[left]"><strong>$vbphrase[hasann_color_legend]</strong>:</div>
<td class="newpost" align="center"><span class="smallfont">$vbphrase[hasann_new_post]</span></td>
<td class="stickythread" align="center"><span class="smallfont">$vbphrase[hasann_sticky_thread]</span></td>
<td class="pollthread" align="center"><span class="smallfont">$vbphrase[hasann_poll_thread]</span></td>
<td class="postedthread" align="center"><span class="smallfont">$vbphrase[hasann_posted_thread]</span></td>
<td class="popularthread" align="center"><span class="smallfont">$vbphrase[hasann_popular_thread]</span></td>
<td class="closedthread" align="center"><span class="smallfont">$vbphrase[hasann_closed_thread]</span></td>
<td class="announcement" align="center"><span class="smallfont">$vbphrase[hasann_announcement_thread]</span></td>
</tr>
</table>
</td>
</if>


TTG 04-03-2008 12:50 PM

Quote:

Originally Posted by Hasann (Post 1481939)
There are two times this code in forumdisplay template
in FORUMDISPLAY template find

That's what I thought but the code :-

Code:

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
only appears once in my forumdisplay template.
I also noticed that if I re-add the template "FORUMDISPLAY_BGCOLORS" .. the above code only appears once ?

If I add the additional code above the above listed code line in forumdisplay, I get a blank page when trying to access any forum !?

macc 04-03-2008 02:03 PM

hello!

how to delete forumdisplay_bgcolors template (mean in admin cp)?

reg

macc

FleaBag 04-03-2008 08:01 PM

Great hack Hasann. Thank you.

Teşekkür ederim!

Hasann 04-03-2008 08:07 PM

Quote:

Originally Posted by TTG (Post 1481948)
That's what I thought but the code :-

Code:

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
only appears once in my forumdisplay template.
I also noticed that if I re-add the template "FORUMDISPLAY_BGCOLORS" .. the above code only appears once ?

If I add the additional code above the above listed code line in forumdisplay, I get a blank page when trying to access any forum !?

I will fix all bugs until tomorrow and release the new version
Quote:

Originally Posted by macc (Post 1482003)
hello!

how to delete forumdisplay_bgcolors template (mean in admin cp)?

reg

macc

that is in your admincp -> styles manager
Quote:

Originally Posted by FleaBag (Post 1482265)
Great hack Hasann. Thank you.

Teşekk?r ederim!

vauww matthew where you can so good turkish :p

macc 04-03-2008 08:47 PM

hello!

i know that is in styles manager in admin cp ... but how to delete??


reg

macc

Hasann 04-03-2008 08:53 PM

Quote:

Originally Posted by macc (Post 1482300)
hello!

i know that is in styles manager in admin cp ... but how to delete??


reg

macc

wait until tomorrow comes up the new version

macc 04-03-2008 09:00 PM

no problem ..i think just what you said before ...at delete that forumdisplay_bgcolors template and use forumdisplay template and put there code... will just test ...


regards

macc

Reeve of shinra 04-03-2008 09:12 PM

I like the idea, but it just isnt practical for me unless I can select the color I want the background to be while making the thread.

This also breaks my tables :(

Bounce 04-03-2008 09:43 PM

Either I'm doing something wrong or I'm stoopid...

I don't see the difference ?

I've enabled every setting needed but no colours show :eek:

EDIT: To get this to work I had to edit my own user cp

Thread Listing Color Status and set to YES...

Is there a way it could be default yes ?

I'm presuming its this:
# Added Per User Function: this hack does work per selected user

Mike-D 04-03-2008 10:15 PM

It's the same like here: Threadbit Coloring Based on Thread Status

Bounce 04-03-2008 10:24 PM

Quote:

Originally Posted by Mike-D (Post 1482354)

vB Version: 3.6.5 thou mate :up:

Derek Chai 04-04-2008 04:02 AM

Nice! Can you do it where the user can specify the color. In any topic?

ssslippy 04-04-2008 12:13 PM

Is there a query I can use to apply this to all the forums?

KURTZ 04-04-2008 12:14 PM

Quote:

Originally Posted by Hasann (Post 1481878)
yes I can do this feature

OK dude, i'm waiting new develops ... :D

*MOD TAGGED

BuRaCh 04-06-2008 05:21 AM

:up:Superb Friend;)
installed.

Legendery. 04-06-2008 05:08 PM

Good job sir..
Im downloading...
Thanks :)...


All times are GMT. The time now is 05:20 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.02900 seconds
  • Memory Usage 1,846KB
  • 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
  • (4)bbcode_html_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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