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)

Mellow 12-31-2010 11:02 AM

Quote:

Originally Posted by Trek (Post 2064210)
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.

What did you do about the phrases in the plugin? What version of vb are you running?

dutchbb 01-06-2011 01:36 PM

It doesn't seem to be working correctly, it just shows an empty box. And I have run the query to enable every forum...

sticky 01-17-2011 05:35 AM

Any chance of getting this updated for VB4?

Trek 01-17-2011 05:51 AM

Quote:

Originally Posted by sticky (Post 2150332)
Any chance of getting this updated for VB4?

It already works actually. There's a post somewhere in this thread where someone made a couple updates, but overall it works, I've been using it on my forum for a long time now.

sticky 01-23-2011 07:58 AM

Quote:

Originally Posted by Trek (Post 2150335)
It already works actually. There's a post somewhere in this thread where someone made a couple updates, but overall it works, I've been using it on my forum for a long time now.

Yes, but from what I read there are some issues? What version are you running on? Does it work well for you?

Trek 01-23-2011 08:54 PM

Quote:

Originally Posted by sticky (Post 2153249)
Yes, but from what I read there are some issues? What version are you running on? Does it work well for you?

I'm running vB 4.1.0 at the moment and it works fine. The best thing I can tell you is to try it if it doesn't work, just remove it. =)

sticky 01-26-2011 03:52 AM

Quote:

Originally Posted by Trek (Post 2153498)
I'm running vB 4.1.0 at the moment and it works fine. The best thing I can tell you is to try it if it doesn't work, just remove it. =)

Thanks, I saw all the changes necessary to make it work and I have so many different styles and such it just would be a pain in the butt to make all the edits. I'm also using Paul's mod so I will wait until someone gets a VB 4 version up.

Braincrusher 02-09-2011 07:30 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2140690)
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>


Works fine thanx

LoveStream 02-13-2011 09:07 PM

I like this hack too.

But I want another feature that I need Usergroup based filter than user based.
So, how could I modify it?

Could you teach how the code should be included?

Every usergroup can select exclude or include.
Every forum can be exclude or include


This two option is necessary.

Thank you.

TalkVirginia 04-09-2011 05:09 AM

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.

The second part of this doesn't work when you have the mod
Tabs Add System for vBulletin 4 (sstab advanced) installed.

https://vborg.vbsupport.ru/showthread.php?t=233629

Not sure how to fix this.


All times are GMT. The time now is 04:02 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.01231 seconds
  • Memory Usage 1,744KB
  • 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_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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