PDA

View Full Version : ignore threads feature???


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:

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


ABOVE it add:

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


BELOW it add:
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/showthread.php?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
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: