Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Selective Forum Filter Details »»
Selective Forum Filter
Version: 1.1.0, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

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.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Download Now

File Type: zip Selective.Forum.Filter_1.1.0_by.akan.zip (5.7 KB, 869 views)

Screenshots

File Type: png screenshot.png (58.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
vijayninel

Comments
  #42  
Old 08-03-2009, 11:56 AM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool mod, Psionic Vision and Andreas.



Quote:
Originally Posted by Trek View Post
Would it be possible to add a checkbox in the user CP for "Do not display forums in forum list"?

Basically, I'd like to still be able to see the forums in the forum list, but only report new posts in the forums I've selected. Would be nice if it was a global setting and then allowed users to change it to what they would like to see for each person.
I'd like to also be able to see the forums displayed without editing the product file. I was able to suppress New Posts searches and have the forums still display by removing roughly 13 lines of codes from the product XML:

Code:
  <plugin active="1" executionorder="5">
   <title>SFF: Suppress Display of Excluded Forums</title>
 
code bits...
 
  </plugin>

I can't say that it's efficient or if it's upsetting vBulletin protocol but the tests so far seem to work.
Reply With Quote
  #43  
Old 08-13-2009, 12:30 AM
paintballer.ie's Avatar
paintballer.ie paintballer.ie is offline
 
Join Date: Jan 2009
Posts: 105
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also using the 'unread post hacks'
https://vborg.vbsupport.ru/showthrea...t=unread+posts

Event though I have selected some forums to be excluded, this other hack still says I have x posts unread in those hidden forums.

Any work around for this, or will I just have to live with it?
Reply With Quote
  #44  
Old 08-15-2009, 12:50 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Freesteyelz View Post
Cool mod, Psionic Vision and Andreas.





I'd like to also be able to see the forums displayed without editing the product file. I was able to suppress New Posts searches and have the forums still display by removing roughly 13 lines of codes from the product XML:

Code:
  <plugin active="1" executionorder="5">
   <title>SFF: Suppress Display of Excluded Forums</title>
 
code bits...
 
  </plugin>

I can't say that it's efficient or if it's upsetting vBulletin protocol but the tests so far seem to work.
I have written plugin titles that are pretty much self explanatory. They do not perform any unexpected actions, as far as I am concerned... So if you disable the plugins that say that they disable display of excluded forums, that should do the trick for you.

Quote:
Originally Posted by paintballer.ie View Post
I am also using the 'unread post hacks'
https://vborg.vbsupport.ru/showthrea...t=unread+posts

Event though I have selected some forums to be excluded, this other hack still says I have x posts unread in those hidden forums.

Any work around for this, or will I just have to live with it?


The thread for that modification says "Version 3.8.001 adds support for forums excluded if you have the "Get New/Get Daily Opt Out Modification" installed (by Andreas).". Maybe Paul also supports this hack? Please ask him, it should be pretty much the same piece of code to support either hack.
Reply With Quote
  #45  
Old 08-18-2009, 08:50 PM
Freesteyelz's Avatar
Freesteyelz Freesteyelz is offline
 
Join Date: Jan 2006
Posts: 1,552
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision View Post
I have written plugin titles that are pretty much self explanatory. They do not perform any unexpected actions, as far as I am concerned... So if you disable the plugins that say that they disable display of excluded forums, that should do the trick for you.

I have no idea why I didn't think of disabling the plugin. That did the trick and is more practical than my work around. Thanks, Psionic!
Reply With Quote
  #46  
Old 08-26-2009, 01:52 PM
Saint_ago Saint_ago is offline
 
Join Date: Jan 2006
Location: S?o Paulo - Brasil
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Walter View Post
Thank you for the hack!

A small bug occured: the settings in the user control panel work only in IE and Firefox, in Opera the list of the forums is scrollable but the forums actually don't scroll so the feature is not usable in Opera....
Quote:
Originally Posted by Psionic Vision View Post
That's weird. Can you please link me to your site so that I can see what is going on?
Same here!

http://www.battlecentral.xpg.com.br/forum/

Works fine on IE and FF, but in Opera don't.. :/
Reply With Quote
  #47  
Old 09-05-2009, 05:12 AM
djvj djvj is offline
 
Join Date: May 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, awesome! Thanks for this great hack, exactly what I needed.
Reply With Quote
  #48  
Old 10-06-2009, 05:09 PM
glennybee glennybee is offline
 
Join Date: Feb 2008
Location: Scotland
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by woostar View Post
This doesn't seem to work with vBSEO. Can anyone confirm this or is it just me?
When I install the product it says "Importing Product, Please Wait.." but it never installs.

I also have vBSEO installed and it would be great if this mod could be altered to work with vBSEO. I guess it has something to do with the urls.
Reply With Quote
  #49  
Old 10-08-2009, 02:29 PM
CristianoDiaz CristianoDiaz is offline
 
Join Date: Jun 2007
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem with this hack - it previously has worked fine, but now, the list of forums to filter in User CP is blank - it only has Reset Exclusions at the top. There are multiple forums set to be excludable, and it was fine in the past Any ideas what might be causing this to happen?
Reply With Quote
  #50  
Old 10-08-2009, 08:08 PM
guvner guvner is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Excellent mod - many thanks!

Mike
Reply With Quote
  #51  
Old 10-16-2009, 12:23 PM
Crazy-Achmet Crazy-Achmet is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CristianoDiaz View Post
I am having a problem with this hack - it previously has worked fine, but now, the list of forums to filter in User CP is blank - it only has Reset Exclusions at the top. There are multiple forums set to be excludable, and it was fine in the past Any ideas what might be causing this to happen?
I'm having the same problem!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07037 seconds
  • Memory Usage 2,353KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete