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 Download Now
Screenshots
Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
vijayninel |
Comments |
#92
|
|||
|
|||
So I installed this, then realized it wasn't working with PaulM's Unread Posts mod.
There is probably a better way to get this to work with it, but this is what I did. Open Plugin: Unread Posts and Reputation, Hook: Parse Templates Find: Code:
$eforums = unserialize($vbulletin->options['dupexcl']); Code:
$eforums2 = explode(",", $vbulletin->userinfo['excludeforumids']); Find: Code:
in_array($xid,$eforums) Code:
OR in_array($xid,$eforums2) Hopefully this helps someone else using the same mod. =) Keep in mind though if/when Paul updates his mod, you'll have to make these changes again. |
#93
|
|||
|
|||
Quote:
|
#94
|
|||
|
|||
An update for vB4 would be the best and easiest way. I hope Psionic Vision will do it soon.
|
#95
|
|||
|
|||
If i use this mod in vb4 the layout is not good.
|
#96
|
|||
|
|||
Template modifyoptions_excludeforums is easily changed.
|
#97
|
|||
|
|||
Quote:
|
#98
|
|||
|
|||
I am running this on vBulletin 4 and it has been working fine but I have a few issues
1) I added a new forum and its not being displayed in the list to be able to block it. How do I get the new forum to show? 2) People are upset they are seeing results in excluded forums in their searches, how do I get this to work with all searches? Thank you for your help! |
#99
|
||||
|
||||
geez...large board...huge forums...huge load of threads...
wat a great problem to have...lolll...ill save this until i can get on yur level...thanks |
#100
|
|||
|
|||
I have problem #1 fixed. Didnt set the forum to be allowed to be excluded. (DOH!)
|
#101
|
||||
|
||||
They need to install this here on vbulletin.org!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|