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)

Artes_Marciales 04-29-2010 06:47 PM

Nice mod!
THANKS!!!!

Artes_Marciales 05-03-2010 04:27 PM

Is strange, not work for my : S
https://vborg.vbsupport.ru/
Any idea?

MjrNuT 05-13-2010 03:04 PM

Hi, would someone kindly explain this in crayons?

Quote:

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.
I just don't understand what it's saying!

AngelBlue 05-23-2010 03:31 AM

Quote:

Originally Posted by Artes_Marciales (Post 2031204)
Is strange, not work for my : S
https://vborg.vbsupport.ru/
Any idea?

Are all your top-level forums set to be categories, with sub-forums underneath them?

If so, try opening the plugin "SPF: User Options", and replacing:
Code:

        if (trim($forum['link']))
        {
                return false;
        }

With:
Code:

        if (($forum['options'] & $vbulletin->bf_misc_forumoptions['cancontainthreads']) AND trim($forum['link']))

Samish 05-23-2010 09:58 AM

How can you make it so that some Forums do not show up in the list so 'have to be viewed'?

Artes_Marciales 05-23-2010 01:44 PM

Quote:

Are all your top-level forums set to be categories, with sub-forums underneath them?
Yes.

Quote:

Originally Posted by AngelBlue (Post 2042087)
Are all your top-level forums set to be categories, with sub-forums underneath them?

If so, try opening the plugin "SPF: User Options", and replacing:
Code:

        if (trim($forum['link']))
        {
                return false;
        }

With:
Code:

        if (($forum['options'] & $vbulletin->bf_misc_forumoptions['cancontainthreads']) AND trim($forum['link']))

THANKS for reply, but d?ont wok for my :confused:
Any idea?

Tettinntil 05-23-2010 02:20 PM

Quote:

Originally Posted by Tettinntil (Post 2012259)
We have a modified "new posts" search on the forum; http://myforum/search.php?do=getnew&f=xx , where xx is a forum with many sub forums. The members choices for which forums to filter from new posts search do not work on this modified search. Is there anything I could do to make it work?

Any help on this?

AngelBlue 06-02-2010 06:46 AM

1 Attachment(s)
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.

thefnool 06-04-2010 11:40 AM

Hey — love the look of this, but is there any way to get it to apply to forums that aren't listed on the index? I have a few boards that are linked to through unconventional means and aren't present on the index at all, and as such they don't turn up on the menu in the user control panel. My goal is to allow people to filter certain forums/sections out and prevent them from appearing on areas like the "new posts" page.

Cheers.

Trek 07-04-2010 05:33 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.

Works perfectly, excellent work, thank you!


All times are GMT. The time now is 01:24 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.01169 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
  • (4)bbcode_code_printable
  • (6)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