vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Best way to exclude forums in new posts/todays posts? (https://vborg.vbsupport.ru/showthread.php?t=175561)

Lynne 10-05-2008 11:38 PM

1) &exclude=x,y,z where x,y, and z are forumids
2) you can't
3) same as 2, you can only exclude

ProAnz, if you have questions regarding the modification, you need to ask them in the modification thread.

trigatch4 10-05-2008 11:45 PM

Thanks so much for your quick reply, Lynn.

I have about 100 forums and would need to exclude 95 of them for my purposes hehe. Will this cause extra strain or resources on the server?

Also, do you know what template or php file "parses" this search query? I could probably pay one of my friends a couple dollars to rewrite it to utilize an INCLUDE query instead of EXCLUDE.

Thanks in advance, you're a life saver!

Lynne 10-05-2008 11:56 PM

It's not a matter of rewriting the template, it's a matter of rewriting the search query and that is in the search.php page.

Videx 10-07-2008 02:32 AM

"Include" works for me. With forums, anyway.

Lynne 10-07-2008 02:38 AM

Include works?

Now that I think about it, can't you just add "&forumid=x,y,z" into the query like you do for the rss?

Or, now that I think again.... look at the vb.org page where it says "Click here to view latest topics" - https://vborg.vbsupport.ru/search.ph...aveprefs=false - so they use forumid and then childforums=1 to include the childforums.

Why didn't I think of that before? :o (Thanks for getting me to rethink this, Videx!)


All times are GMT. The time now is 01:30 PM.

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.01069 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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