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)

Lindsey 05-18-2008 03:18 AM

Stable? Works on Stable?

flipstyle 05-20-2008 11:52 PM

Quote:

Originally Posted by wolfstream (Post 1522180)
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.

xorex 05-28-2008 04:03 AM

Great hack !! thanx

I have one problem:

Does not work Thread Thumbnail where it is used Listing Background Colors Any suggestion?

goddess_dix 05-28-2008 11:21 PM

Quote:

Originally Posted by Lindsey (Post 1523099)
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.

Aurore 05-31-2008 03:51 AM

Nice but needs improvements :)

Mike-D 05-31-2008 09:16 AM

Quote:

Originally Posted by wolfstream (Post 1522180)
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 :)

PGAmerica 06-15-2008 10:04 PM

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.

Captain Tycoon 06-16-2008 03:24 PM

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.

PGAmerica 06-16-2008 05:29 PM

Goto the usergrop manager and edit the "Unregistered" group. It is at the bottom

Captain Tycoon 06-17-2008 08:07 AM

Quote:

Originally Posted by PGAmerica (Post 1550998)
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.


All times are GMT. The time now is 01:04 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.01072 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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