vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   End-User Options - Selective Forum Filter (https://vborg.vbsupport.ru/showthread.php?t=215001)

akanevsky 05-30-2009 10:00 PM

Selective Forum Filter
 
1 Attachment(s)
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

akanevsky 05-31-2009 03:41 PM

~~~~~~~~~~~~~~
~~~~~ Translations ~~~~~
~~~~~~~~~~~~~~~~

Russian (RU) - by TAIFUN_T

Biker_GA 05-31-2009 03:44 PM

You've permission from the original author? https://vborg.vbsupport.ru/showthread.php?t=91025

marshal_ramdev 05-31-2009 03:54 PM

will check it out :)

Stifmeister2 05-31-2009 04:32 PM

Damn I don't fully understand this:

Quote:

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

Do I need to run one of these queries in order to make this work???

akanevsky 05-31-2009 04:36 PM

Quote:

Originally Posted by Stifmeister2 (Post 1820733)
Damn I don't fully understand this:




Do I need to run one of these queries in order to make this work???

You do not. The hack, by default, sets all of the forums as excludable. You only need to run the queries if you want to set everything to "not excludable" or back again.

puertoblack2003 05-31-2009 06:43 PM

Quote:

Originally Posted by Biker_GA (Post 1820705)
You've permission from the original author? https://vborg.vbsupport.ru/showthread.php?t=91025

i guess so buddy if his name is included in the supported slot.

akanevsky 05-31-2009 08:57 PM

Quote:

Originally Posted by Biker_GA (Post 1820705)
You've permission from the original author? https://vborg.vbsupport.ru/showthread.php?t=91025

I certainly do. Thanks for asking, though. :)

Stifmeister2 06-01-2009 04:08 PM

Quote:

Originally Posted by Psionic Vision (Post 1820735)
You do not. The hack, by default, sets all of the forums as excludable. You only need to run the queries if you want to set everything to "not excludable" or back again.

Ohh ok thanks. :)


I'll probably install this as soon as I have time, nice hack! ;)

W!cKeD 06-01-2009 06:53 PM

This Hack is very nice, but i have a Feature Request:

Usergroup-Permission "Usergroup can exclude forums?"

Thanks in Advance :)


All times are GMT. The time now is 09:29 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
  • Page Generation 0.01216 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete