Version: 1.1.0, by akanevsky
Developer Last Online: Feb 2016
Category: End-User Options -
Version: 3.8.x
Rating:
Released: 05-30-2009
Last Update: 05-30-2009
Installs: 214
DB Changes Uses Plugins Auto-Templates
Translations
No support by the author.
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.
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.
We have a modified "new posts" search on the forum; http://myforum/search.php?do=getnew&f=xx , where xx is a forum with many sub forums. The members choices for which forums to filter from new posts search do not work on this modified search. Is there anything I could do to make it work?
Import attached version of the product, allowing overwrite. (this is the standard product, but with Fiel's changes included)
Edit your 'navbar' template. Add: "&exclude={vb:raw bbuserinfo.excludeforumids}" to the end of all links which go to search.php, and which contain both "do=getnew" and "contenttype=vBForum_Post" in the URL.
Hey — love the look of this, but is there any way to get it to apply to forums that aren't listed on the index? I have a few boards that are linked to through unconventional means and aren't present on the index at all, and as such they don't turn up on the menu in the user control panel. My goal is to allow people to filter certain forums/sections out and prevent them from appearing on areas like the "new posts" page.
Import attached version of the product, allowing overwrite. (this is the standard product, but with Fiel's changes included)
Edit your 'navbar' template. Add: "&exclude={vb:raw bbuserinfo.excludeforumids}" to the end of all links which go to search.php, and which contain both "do=getnew" and "contenttype=vBForum_Post" in the URL.