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

Reply
 
Thread Tools
Thread Listing Background Colors Like vBulletin.org Details »»
Thread Listing Background Colors Like vBulletin.org
Version: 1.0, by Hasann Hasann is offline
Developer Last Online: Jun 2021 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.7.3 Rating:
Released: 04-02-2008 Last Update: 10-18-2008 Installs: 166
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

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

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.

Supporters / CoAuthors

Show Your Support

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

Comments
  #62  
Old 05-18-2008, 03:18 AM
Lindsey Lindsey is offline
 
Join Date: Mar 2008
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Stable? Works on Stable?
Reply With Quote
  #63  
Old 05-20-2008, 11:52 PM
flipstyle flipstyle is offline
 
Join Date: Dec 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream View Post
While in theory this is good, it's not good, simply because of the number of "hoops" that one has to jump through to get it working, and, well, the fact that it just DOESN'T work on 3.7 at all.

Why should an admin have to edit 50+ forums to get this working?
Why should an admin have to edit hundreds of users to get this working?
Why should an admin have to edit numerous usergroups to get this working?

In theory, a good idea. In practice, not so much.
You have a good point. I hope the coder will look into it sometime soon and some of my ideas that I posted before.
Reply With Quote
  #64  
Old 05-28-2008, 04:03 AM
xorex's Avatar
xorex xorex is offline
 
Join Date: Jan 2008
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack !! thanx

I have one problem:

Does not work Thread Thumbnail where it is used Listing Background Colors Any suggestion?
Reply With Quote
  #65  
Old 05-28-2008, 11:21 PM
goddess_dix's Avatar
goddess_dix goddess_dix is offline
 
Join Date: Mar 2007
Location: Kansas
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lindsey View Post
Stable? Works on Stable?
security tokens are missing for mod dropdowns, so i wouldn't install on stable unless you want to compare it to the current template and add them manually.
Reply With Quote
  #66  
Old 05-31-2008, 03:51 AM
Aurore Aurore is offline
 
Join Date: Jan 2002
Location: FRANCE, Wattrelos
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice but needs improvements
Reply With Quote
  #67  
Old 05-31-2008, 09:16 AM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wolfstream View Post
While in theory this is good, it's not good, simply because of the number of "hoops" that one has to jump through to get it working, and, well, the fact that it just DOESN'T work on 3.7 at all.
Exactly! Try using Threadbit Coloring Based on Thread Status. With that Hack I've never got any problems. Especially not in vB 3.7. This hack runs strong without any problems till today
Reply With Quote
  #68  
Old 06-15-2008, 10:04 PM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, it seems that all are agreed that we need to allow for the users to have this option set to "yes" be default. And there are ways to do an sql query to set all current users to "yes", but this does not solve the problem with new users.

OK, I figured it out. If you want to make all the options set to "yes" by default. That is,
  • Enable for this forum category thread listing background colors? (Forum Manager)
  • Can this Usergroup Use the Forumdisplay Thread Listing Background Color? (Usergroup Manager)
  • Thread Listing Background Color Legend (UserCP)
All you have to do is the following:
Step 1:
Edit the "product-thread_listing_bgcolors_english.xml" file
Step 2:
Look for
Code:
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL"); 
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '0 NOT NULL");  
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "usergroup ADD COLUMN bgcolorspermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
and replace it with
Code:
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL"); 
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL");  
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "usergroup ADD COLUMN bgcolorspermissions INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL");
Step 3:
Upload the new product via the "Manage Products" link in your ACP
Step 4:
Enter the "Usergroup Manager" and edit any of the usergroups. This will rebuild the BitFields.

If you have already done this, just uninstall it, make the changes and then reinstall it.

It just worked for me perfectly.
Reply With Quote
  #69  
Old 06-16-2008, 03:24 PM
Captain Tycoon Captain Tycoon is offline
 
Join Date: Jan 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to make it so that guests can also see the background colours on the threads without having to register?

Including, is it possible so members won't have the choice whether they can or cant see the background colours on the threads.
Reply With Quote
  #70  
Old 06-16-2008, 05:29 PM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Goto the usergrop manager and edit the "Unregistered" group. It is at the bottom
Reply With Quote
  #71  
Old 06-17-2008, 08:07 AM
Captain Tycoon Captain Tycoon is offline
 
Join Date: Jan 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PGAmerica View Post
Goto the usergrop manager and edit the "Unregistered" group. It is at the bottom
It doesnt work Does it work for you?
Quote:
Including, is it possible so members won't have the choice whether they can or cant see the background colours on the threads.
How about this? I want the option to be forced so they can't choose not to see the thread listing background colours.
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 09:35 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.05110 seconds
  • Memory Usage 2,312KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (5)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
  • (4)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