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)

Trek 07-04-2010 06:33 AM

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.

Robbed 07-11-2010 07:25 PM

Quote:

Originally Posted by AngelBlue (Post 2046926)
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.

Thanks, it's working now.

Fraxter 07-18-2010 02:49 PM

An update for vB4 would be the best and easiest way. I hope Psionic Vision will do it soon.

mikexxx 07-21-2010 02:14 PM

If i use this mod in vb4 the layout is not good.

El Orans 07-27-2010 06:12 PM

Quote:

Originally Posted by mikexxx (Post 2072448)
If i use this mod in vb4 the layout is not good.

Template modifyoptions_excludeforums is easily changed. :)

benstillman 10-13-2010 07:45 PM

Quote:

Originally Posted by Saint_ago (Post 1874761)
Same here!

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

Works fine on IE and FF, but in Opera don't.. :/

Same problem here.

scottct1 10-29-2010 03:29 PM

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!

onealien 10-29-2010 09:37 PM

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

scottct1 10-29-2010 09:53 PM

I have problem #1 fixed. Didnt set the forum to be allowed to be excluded. (DOH!)

BirdOPrey5 10-30-2010 05:04 PM

They need to install this here on vbulletin.org!


All times are GMT. The time now is 02:05 AM.

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.01157 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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