vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to hide certain forums from appearing from "view new posts" function? (https://vborg.vbsupport.ru/showthread.php?t=59749)

Big J 01-05-2004 07:23 PM

How to hide certain forums from appearing from "view new posts" function?
 
Hello,

Does anyone know of a way to make it so specific forums do not appear in the list when users use the 'view new posts' function?

Thanks!

Big J 01-06-2004 06:45 PM

Bump

assassingod 01-06-2004 06:51 PM

For which vB version? A quick to do it in vB3 is to open search.php and replace line 2036 with:
PHP Code:

WHERE forumid IN (". implode(',', $forumids).") AND forumid NOT IN(x

Replace x with the forumid.

Gary King 01-06-2004 08:00 PM

Quote:

Originally Posted by assassingod
For which vB version? A quick to do it in vB3 is to open search.php and replace line 2036 with:
PHP Code:

WHERE forumid IN (". implode(',', $forumids).") AND forumid NOT IN(x

Replace x with the forumid.

Might want to tell what the line contains because some people modified their search.php :)

assassingod 01-07-2004 06:17 PM

I had to copy that from another screen and I couldn't remember the entire line so the line number had to do. If someone can post the entire line for me then i'll add that to my post.

Gary King 01-07-2004 07:19 PM

Replace this line I believe:

PHP Code:

        WHERE forumid IN(" . implode(', ', $forumids) . "


assassingod 01-07-2004 08:19 PM

Looks right to me. Thanks Gary

mini2 01-07-2004 10:52 PM

I excluded my off topic and banter forum from being searchable (and thus also showing in new posts), and set up a public group called OT&B Fans that people could join which would allow you to search the forum/view it in new posts if you wanted to.

Seemed like a decent compromise.

accyroy 01-08-2004 06:05 AM

mini2, could you please help out a new VB'er. This is exactly what I want to do with my forums but don't know what/where to change things! cheers..

mini2 01-08-2004 07:17 AM

This was on vBulletin 3, so if you're on vBulletin 2 I cant help, if you're on three, let me know and I'll post a brief "how to", it's very easy.


All times are GMT. The time now is 12:15 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.01097 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (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
  • (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