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
  #102  
Old 12-05-2010, 10:16 AM
wmlvb's Avatar
wmlvb wmlvb is offline
 
Join Date: May 2008
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

keep trying to download but getting a download failed message.
Reply With Quote
  #103  
Old 12-05-2010, 12:57 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe try another web browser because it's working for me...
Reply With Quote
  #104  
Old 12-06-2010, 06:53 AM
Artes_Marciales Artes_Marciales is offline
 
Join Date: Jun 2007
Posts: 278
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VB 3.8.6
Quote:
Originally Posted by Artes_Marciales View Post
Is strange, not work for my : S

Any idea?
Reply With Quote
  #105  
Old 12-29-2010, 07:55 AM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AngelBlue View Post
Here's how I got this working with vb4:
  1. Import attached version of the product, allowing overwrite. (this is the standard product, but with Fiel's changes included)
  2. Edit your 'navbar' template. Add: "&exclude={vb:raw bbuserinfo.excludeforumids}" to the end of all links which go to search.php, and which contain both "do=getnew" and "contenttype=vBForum_Post" in the URL.
Where would I insert "&exclude={vb:raw bbuserinfo.excludeforumids}" and do I need to include the quotes "at each end"

I have this line for instance - <li><a href="search.php?{vb:raw session.sessionurl}
do=getnew&amp;contenttype=vBForum_Post">{vb:rawphr ase new_posts_nav}</a></li>

Where in it would I insert "&exclude={vb:raw bbuserinfo.excludeforumids}"

Thanks
Reply With Quote
  #106  
Old 12-29-2010, 12:51 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blue6995 View Post
Where would I insert "&exclude={vb:raw bbuserinfo.excludeforumids}" and do I need to include the quotes "at each end"

I have this line for instance - <li><a href="search.php?{vb:raw session.sessionurl}
do=getnew&amp;contenttype=vBForum_Post">{vb:rawphr ase new_posts_nav}</a></li>

Where in it would I insert "&exclude={vb:raw bbuserinfo.excludeforumids}"

Thanks
You'd make it:

Code:
<li><a href="search.php?{vb:raw session.sessionurl}
do=getnew&exclude={vb:raw bbuserinfo.excludeforumids}&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>
Reply With Quote
  #107  
Old 12-29-2010, 01:52 PM
blue6995 blue6995 is offline
 
Join Date: Oct 2005
Posts: 207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
You'd make it:

Code:
<li><a href="search.php?{vb:raw session.sessionurl}
do=getnew&exclude={vb:raw bbuserinfo.excludeforumids}&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>
Very many thanks. That worked
Reply With Quote
  #108  
Old 12-30-2010, 01:00 PM
Mellow's Avatar
Mellow Mellow is offline
 
Join Date: Nov 2003
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trek View Post
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']);
Add under it:

Code:
$eforums2 = explode(",", $vbulletin->userinfo['excludeforumids']);

Find:

Code:
in_array($xid,$eforums)
Add under it:

Code:
OR in_array($xid,$eforums2)
That should be it!

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.
That didn't work for me for some reason..

The rest of the product is working just not Paul's mod w/your changes.

I'm also on 4.1 so that might have something to do with it.
Reply With Quote
  #109  
Old 12-30-2010, 09:55 PM
Mellow's Avatar
Mellow Mellow is offline
 
Join Date: Nov 2003
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
You'd make it:

Code:
<li><a href="search.php?{vb:raw session.sessionurl}
do=getnew&exclude={vb:raw bbuserinfo.excludeforumids}&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>
For this to work with Paul's unread post mod there's 3 phrases that also need to be modified I believe.

dup_no_posts
dup_unread_posts
dup_x_unread_posts

But, I'm not sure how to do that as editing the phrases and inserting the above won't work. Any ideas?
Reply With Quote
  #110  
Old 12-31-2010, 03:58 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not familiar with Paul's mod- the best place to ask would be in the mod thread.
Reply With Quote
  #111  
Old 12-31-2010, 10:49 AM
Mellow's Avatar
Mellow Mellow is offline
 
Join Date: Nov 2003
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
I'm not familiar with Paul's mod- the best place to ask would be in the mod thread.
You're right, my bad, will do it now.
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 09:10 AM.


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.05182 seconds
  • Memory Usage 2,343KB
  • 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
  • (7)bbcode_code
  • (7)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