![]() |
Selective Forum Filter
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 |
Hmm, not sure but what about
cache_ordered_forums PHP Code:
Btw: Where is the Product XML? ;) |
Quote:
But I love the concept. |
Yes, it looks like a great concept!
|
Can this be used to, or be modified to be able to, set a universal forum to exclude from the "get new" from the admincp?
The reason is that I have a hidden forum on my board. It's set to inactive, which as described in the admincp prevents it from showing up on the forum view, but is still open if someone knows the URL to it. But it also shows up through the "get new" feature, and I'd like to avoid that. I don't want to make the forum a password-only or limit by permissions or masks; I want it to be accessible to anyone clever enough to find it, but I don't want it to be too too easy, either. :) |
Will this play well with Kirby's Opt-Out product and what is the difference between the two? ;)
|
Quote:
Quote:
Quote:
|
Okay, package updated:
1. Missing XML File Added. 2. The hack is now a plugin-type only. Does not require any file edits. KirbyDE, please move this to an appropriate forum. |
Quote:
|
This has to be one of the very best hacks I have used from this site. We have a lot of sections and a large number of our members get upset because of the size. This just fixed their crying....
THANK YOU, THANK YOU, THANK YOU. |
Unbelievable. Awesome hack!!! This is just what I was hoping for especially for a site like mine that hosts forums for so many different subjects :)
|
I wonder if you could add like X images or something to the forumbit that were links to disable a forum from view.
|
A very nice usefull hack :)
|
Thank you.
|
Great Hack:)
[high]* Matt_270581 installs[/high] |
Nice hack
/me clicks install |
This is fantastic. Thanks for the work!
Now how about adding an option in the ACP forum manager to allow/disallow a forum from being hidden by users? For example, I have a News & Announcements forum that I would not want anyone to be able to hide. If you can add this functionality, it would be perfect. :) |
Quote:
|
Great hack.
Is there any way to alter the code a bit to still display the selected forums when viewing but exclude it from Get New searches? EDIT: Maybe if I disable the plugin hooking to cache_ordered_forums but leave the rest enabled? |
No. To get what you want, you need to use Andreas's Opt-Out from GetNew/GetDaily, which is essentially what this hack is based on, as said in first post.
|
If you've previously installed Andreas's Opt-Out from GetNew/GetDaily hack, is it simply a matter of uninstalling/disabling it in order to use this hack?
|
Yes. This hack is exactly the same as his hack plus the hide forums functionality.
|
Nice! *Installed*
What would I need to do to include the filter in vBadvanced's latesttopics.php? Anyone done this yet? |
Might be a stupid question, but can you exclude forums from get new/daily from ACP so that users won't see posts from forum X even if they do not have it selected themselves?
|
Yes, but that'd be a separate hack.
|
Any chance you could make it? XD Love this mod btw +installed ^^
|
downloaded, wont need to install until i have big forums!! :)
|
I've been running it for a week on two boards, both pretty big, and from all I can tell it's running great. I really really like this hack.
|
This plugin has stopped working for me! I don't know when - perhaps after the upgrade to 3.5.2. I didn't notice until a member told me.
Anybody else having same problems? |
Sorry about that. I guess in the upgrade the modifyoptions template was reverted. I have added the code and everything is fine.
|
I used this hack, and a great hack I will add, until I upgraded to 3.5.3 and now i have two home pages using Split Forumhome into several Pages Hack.
Here is the minor issue and looking for solution, if one exists. I want to exclude some threads on the first page and some on the second page. In other words, i want to skip some and add others. I tried to do some and went back and marked others but no luck on the first ones i excluded. Anyway to fix this so I can skip around the forum excluding what I want? |
Quote:
It will not let me exclude more than ~50 forums at a time. Is there anyway to bump this up to 2-300 as a maximum? |
I like the hack, but would also like to have the ability to exclude some forums from being excluded. I'm concerned that the members will miss some important information that will lead them to post unnecesary threads. Otherwise it looks pretty good.
Can you tell me if it also excludes these forums from searches? |
Quote:
|
Installed on 3.5.3. Works perfect.
GreeTz Snatch |
nice hack great for those big boards.
|
Installed, but getting many database errors:
Quote:
|
Quote:
Yep, I can't exclude more than ~70 at a time. |
I cannot enable this hack without getting database errors, mostly for guests. Any ideas?
|
This does not seem to work on 3.5.4.
Can anybody else confirm if it does or does not work for 3.5.4? Thanks. I'm looking at the code and maybe I'm missing something, but since when did setting a forum's display order to 0 make it not show up at all? |
All times are GMT. The time now is 04:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|