Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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

Version: 3.5.x Rating:
Released: 10-13-2005 Last Update: 05-30-2009 Installs: 131
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

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #132  
Old 02-16-2008, 01:35 AM
SteveC SteveC is offline
 
Join Date: Mar 2005
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andy Rickard View Post
Just installed this. After the initial install, the list of forums wouldn't populate, but saving the display order as suggested fixed the issue.

Works great.... thanks for the hack!!
still doesn't work for me and it used to work fine. Does it need to be reinstalled if you add a new forum?
Reply With Quote
  #133  
Old 02-18-2008, 12:26 AM
Aquestor Aquestor is offline
 
Join Date: May 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aquestor View Post
Have the same Problem need this hack absolutly! Is there anyone who can resolve this problem?
Get this work need no help any more
Reply With Quote
  #134  
Old 05-03-2008, 11:10 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get this error message when trying to actually select the forums for exclusion

Database error in vBulletin 3.7.0:

Invalid SQL:
UPDATE usertextfield SET
excludeforumids = '18'
WHERE userid = 1;

MySQL Error : Unknown column 'excludeforumids' in 'field list'
Error Number : 1054
Request Date : Saturday, May 3rd 2008 @ 08:03:18 PM
Error Date : Saturday, May 3rd 2008 @ 08:03:18 PM
Script : http://www.mysite.org/profile.php?do=updateoptions
Referrer : http://www.mysite.org/profile.php?do=editoptions
Classname : vb_database
MySQL Version : 5.0.45-community
Reply With Quote
  #135  
Old 05-08-2008, 04:29 PM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jilly View Post
I get this error message when trying to actually select the forums for exclusion

Database error in vBulletin 3.7.0:

Invalid SQL:
UPDATE usertextfield SET
excludeforumids = '18'
WHERE userid = 1;

MySQL Error : Unknown column 'excludeforumids' in 'field list'
Error Number : 1054
Request Date : Saturday, May 3rd 2008 @ 08:03:18 PM
Error Date : Saturday, May 3rd 2008 @ 08:03:18 PM
Script : http://www.mysite.org/profile.php?do=updateoptions
Referrer : http://www.mysite.org/profile.php?do=editoptions
Classname : vb_database
MySQL Version : 5.0.45-community


I am guessing this means I need to manually add a field or column somewhere but I am clueless on how to do it - does anyone know?
Reply With Quote
  #136  
Old 05-08-2008, 05:16 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[sql]ALTER TABLE usertextfield ADD excludeforumids MEDIUMTEXT[/sql]
But the column should have been created automatically upon product install ...
Reply With Quote
  #137  
Old 05-08-2008, 05:36 PM
dtv100 dtv100 is offline
 
Join Date: Apr 2007
Location: in the south of the north
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit:
post in wrong thread sorry .
Reply With Quote
  #138  
Old 05-09-2008, 10:26 AM
jilly jilly is offline
 
Join Date: Jul 2002
Location: central maryland
Posts: 461
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas View Post
[sql]ALTER TABLE usertextfield ADD excludeforumids MEDIUMTEXT[/sql]
But the column should have been created automatically upon product install ...
thank you, that fixed it! I don't know why it didnt take at first - I followed all the instructions - but that query fixed it - thanks!
Reply With Quote
  #139  
Old 11-03-2008, 04:17 AM
shridevimoogi shridevimoogi is offline
 
Join Date: Aug 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Can I make this hack controllable only by admin
and in conjunction I want to control forum list based on different domains,but the database remains one

Thanks
Reply With Quote
  #140  
Old 05-12-2009, 07:10 PM
EagleNick's Avatar
EagleNick EagleNick is offline
 
Join Date: Dec 2007
Location: Florida
Posts: 517
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working on 3.8.2. I have ran the query multiple times and it confirms that the rows have been affected.

However, in the UserCP in the menu there is only one choice: "[Reset Exclusion]" and selecting it does nothing.
Hopefully somebody can offer a remedy.
Reply With Quote
  #141  
Old 06-01-2009, 02:11 AM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The new version work better, so you might want to download it now. It works on 3.8.x, too.
Reply With Quote
Reply

Thread Tools

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 10:00 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.04965 seconds
  • Memory Usage 2,304KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete