vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   ignore threads feature??? (https://vborg.vbsupport.ru/showthread.php?t=32413)

MarkG 11-15-2001 06:20 AM

some of my forums have lots of traffic, and often you check back after 12 hours and every single thread is on page 2

how hard would it be to have an "ignore thread" list similar to the ignore (user) list?

if you chose to ignore a thread, it would make it not appear in the forumdisplay

scotty 02-04-2002 03:42 AM

would be intresting for me too...

thx

scottct1 08-09-2002 01:33 PM

I have had a user request this feature today.

Anyone done it yet?

Jujubee 10-28-2002 03:29 AM

Here's how:

In FORUMDISPLAY.PHP, find:

PHP Code:

  while ($thread=$DB_site->fetch_array($threads)) { // and $counter++<$perpage) { 


ABOVE it add:

PHP Code:

    //IGNORED THREADS
     
unset($ignore);
     
$ignorelist explode(' '$bbuserinfo['ignorelist']);
     while ( list(
$key$val)=each($ignorelist) ) {
        
$ignore[$val] = 1;
     } 

BELOW it add:
PHP Code:

     if($ignore[$thread[postuserid]]){
         continue;  
//don't show this thread
     


Simpler than I thought.... :cool:

Erwin 10-28-2002 03:46 AM

I think the requester wants a separate ignore thread section, where you can click a link at the bottom for the thread to be ignored so that it doesn't show up, and not to ignore the threads posted by an ignored user. :)

Jujubee 10-28-2002 06:21 AM

Whoops, sorry.

I've posted it as a hack:
https://vborg.vbsupport.ru/showthrea...threadid=45097

Xenon 10-28-2002 02:29 PM

ouch what an old thread ^^

but it's a really intresting idea......

also as excluding forums from new topics today and so on ^^

Logician 10-28-2002 03:19 PM

Quote:

Originally posted by Xenon
also as excluding forums from new topics today and so on ^^
yep I got tired of pointing the thread here for this one.. It's requested so much.. :glasses:


All times are GMT. The time now is 01:46 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.01083 seconds
  • Memory Usage 1,729KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (8)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