The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Selective Forum Filter Details »» | |||||||||||||||||||||||||
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.
/*================================================= =====================*\ || Selective Forum Filter || || Author : Anton Kanevsky || Co-Author(s) : Andreas || Works on : vBulletin 3.5.x - 3.8.x || Released : May 31, 2009 || || Time required to install: 30 seconds || Difficulty: easy \*================================================ ======================*/ DESCRIPTION Ever came across large boards with a huge number of sub forums? Couldn't find your info? Wanted to run away from that huge load of stupid threads? This hack is intended to save your users from having such a horrible experience. It provides them with an opportunity to exclude any number of forums from the forums list (as well as from "get new"/"get daily" searches), which still letting them to access those forums directly and search within them, too. STATISTICS Products to Install: 1 INTRODUCTION To enable "can be excluded" in all forums, run this query: UPDATE PFXforum SET excludable = 1 To disable "can be excluded" in all forums, run this query: UPDATE PFXforum SET excludable = 0 In both cases, PFX must be replaced with the actual table prefix that you have defined in config.php. If you have not defined a prefix, remove PFX from the queries. After you run either one of these queries, you must then open and save any one forum for the forum cache to be updated. VERSION HISTORY 1.1.0 [+] The hack is now compatible with vBulletin 3.5.x - 3.8.x. [+] Eliminated all template edits. 1.0.2 [+] The hack is now compatible with vBulletin 3.6. [+] Corrected a couple of mistakes in the installation manual. 1.0.1 [+] Added option to set forums as excludable. By default, excludability of all forums is disabled. 1.0.0 First Public Release The installation manual is contained within the attached file. IF YOU LIKE MY HACK, PLEASE CLICK INSTALL Supporters / CoAuthors Show Your Support
|
Comments |
#42
|
|||
|
|||
thank you man it was great help.
please keep adding more and more great hacks. take care |
#43
|
||||
|
||||
Quote:
great hack Psionic :-) |
#44
|
||||
|
||||
I still cannot get this to work. The problem is with guests, who get the database error:
Code:
<!-- Database error in vBulletin 3.5.3: Invalid SQL: ## GET LATEST THREADS ## SELECT thread.*,thread.iconid AS threadiconid , post.pagetext AS preview FROM vb3_thread AS thread LEFT JOIN vb3_deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND type = 'thread') LEFT JOIN vb3_post AS post ON(post.postid = thread.firstpostid) WHERE open = '1' AND forumid NOT IN (0,92,41,38,154,174,83,78,30,114,31,33,32,84,111,67,123,160,161,70,121,71,72,73,74,7,79,81,8,10,108,34,9,68,11,40,117,118,) AND thread.visible = '1' AND deletionlog.primaryid IS NULL ORDER BY lastpost DESC LIMIT 10; MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND thread.visible = '1' AND deletionlog.primaryid IS NULL Error Number : 1064 Date : Thursday, April 13th 2006 @ 10:56:46 AM Script : http://www.theadminzone.com/index.php Referrer : IP Address : Username : Unregistered Classname : vb_database --> |
#45
|
|||
|
|||
I get no guests problems on my board.. :/
|
#46
|
||||
|
||||
Quote:
|
#47
|
|||
|
|||
INstalleD
|
#48
|
|||
|
|||
Quote:
|
#49
|
|||
|
|||
Quote:
https://vborg.vbsupport.ru/showthread.php?t=111679 |
#50
|
|||
|
|||
Is there anyway to set this so that the forumjump with still show the excluded forums?
BTW, this is a fantastic hack and my members love ya for it. Parker |
#51
|
|||
|
|||
damn someone asked me about this excluding forums yesterday
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|