Version: 1.1.0, by akanevsky
Developer Last Online: Feb 2016
Category: End-User Options -
Version: 3.6.x
Rating:
Released: 11-22-2006
Last Update: 05-30-2009
Installs: 208
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.
Is there a way I can have it so all a user has to do is just select the parent forum and simply have all the associated sub forums hidden as well? I heard you say that there was a max number of forums that could be excluded, and it's tedious selecting new forums like that.
There's a solution to remove the limitation - please read through this thread to find it.
There's a solution to remove the limitation - please read through this thread to find it.
Oh yeah I saw that earlier. It's just that I add new subforums every week and it's tedious going through all of them. If the top level forum can be excluded then all of the sub forum should be (or have an option). Do you plan to add this in the future?
Quote:
Originally Posted by Ramsesx
Seems not to work on 3.6.4, did the template change, the querie, product import, but only showing [Reset exclusion] but no forums. Thanks.
Forums must be set as excludable in order to be excluded.
I am not sure I get it. I have successfully updated the database, updated the template and installed the product. And I also only see "[Reset exclusion]"
I am not sure I get it. I have successfully updated the database, updated the template and installed the product. And I also only see "[Reset exclusion]"
After running the query, save at least one forum manually to rebuild the cache.
Oh yeah I saw that earlier. It's just that I add new subforums every week and it's tedious going through all of them. If the top level forum can be excluded then all of the sub forum should be (or have an option). Do you plan to add this in the future?
Installed the product, made the template change, set the forums I wanted excluded, went to adminCP and manually saved a forum to rebuild the cache and all I get is [Reset Exclusion]. Using vB 3.6.5 and I don't have vbSEO.
// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';
I set the value to 1 in config.php, but it gave me a database error and tried setting it to 0 (same result). Put it to nothing, to retain forum.
If you have no table prefix (empty value for $config['Database']['tableprefix']) then please just remove PFX from the query.
Quote:
Installed the product, made the template change, set the forums I wanted excluded, went to adminCP and manually saved a forum to rebuild the cache and all I get is [Reset Exclusion]. Using vB 3.6.5 and I don't have vbSEO.
Please make sure that you allow excludability on all parents forums of the one(s) you want to exclude.