vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   removing particular forum from search (https://vborg.vbsupport.ru/showthread.php?t=42073)

Duo S 08-08-2002 06:11 PM

removing particular forum from search
 
Hi, i've spend the last few days putting together a reviews area for my site, using various hacks and template modifications...

However, im trying to make it completely seperate from the actual forum and establish it as its own area of the site.. (ive made it invisible on forum home, coloured it differently, given it a different header.. etc etc etc.. ) :)

all that is left is to remove it from the forums search list, so that it doesnt show up.. because at the moment if you do the SHOW NEW POSTS, the posts in that forum show up also.

Can anyone help me with this.

I should also note that the reviews is a forum with 27 subforums (a-z and #) just incase that would have any effect on the solution.

Thanks in advance :)

JustAskJulie 06-10-2003 06:44 PM

I'm looking for something similar to this. A hack that would allow certain forums to be discluded from the "new posts" lists. Anyone know of one?

filburt1 06-10-2003 07:40 PM

It's been asked a billion times. Search and ye shall find, although to my knowledge still nobody's done it...mainly because everybody hates to write stuff for the search engine :)

Stu 06-12-2003 03:57 PM

if it's any help I've used this (vB2.2.7) to exclude forums from the 'view new Posts' Search

/forums/search.php

find

$wheresql.=" AND thread.open<>10";

and replace with this

$wheresql.=" AND thread.open<>10 AND thread.forumid!=XX";

There are two instances that need to be changed.
XX, is the forum ID to be excluded


All times are GMT. The time now is 12:32 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.00938 seconds
  • Memory Usage 1,710KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete