# some way to mark Zombie threads?

**URL:** <https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253>\
**Category:** About This Message Board\
**Created:** [February 5, 2011, 4:14am UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253 "2011-02-05T04:14:02Z")\
**Posts on this page:** 12\
**Page:** 5

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [February 9, 2011, 3:21pm UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/81 "2011-02-09T15:21:41Z")

</div>

> [@BigT](#):
>
> My reluctance to look at Munch’s request is that it’s kinda against the script’s purpose, as I understand it. The point is to keep you from responding to posts that are older than a certain date. If the first post you see is later than that date, then there’s no problem. It’s a complicated fix without much, if any, benefit.

True. I rarely open threads from the last page - I always check the first page and read through (I hate being that guy who says, “I didn’t read the thread, but wanted to make sure no one overlooked Completely Obvious Point Made Four Posts Into A Five Page Thread”). But many times people do exactly that, and keep a zombie thread alive and shuffling.

Edit: Please don’t bother with the script - as you said, it’s of limited utility. And I think the people who’d benefit most are probably the least likely to go to the trouble to install a GM script.

---

<div class="post-metadata">

**Author:** ![Jenaroph](https://avatars.discourse-cdn.com/v4/letter/j/e8c25b/32.png) [@Jenaroph](https://boards.straightdope.com/u/Jenaroph)\
**Post date:** [February 10, 2011, 2:07am UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/82 "2011-02-10T02:07:42Z")

</div>

Polerius, your script works great, it just flagged another completely useless zombification for me. Thank you for the effort.

---

<div class="post-metadata">

**Author:** ![Polerius](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@Polerius](https://boards.straightdope.com/u/Polerius)\
**Post date:** [February 10, 2011, 6:35am UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/83 "2011-02-10T06:35:08Z")

</div>

By popular demand, below is a Greasemonkey script that warns you, on the forum page, that a thread is likely a zombie. (Puts an “OLD!” message in red, to the left of the thread title)

Since the dates of the OP’s are not available from the forum page, I used a heuristic algorithm based on the thread id’s (assuming that vBulletin gives consecutive id’s to new threads).

Seems to work decently on the few forums I tested it on.

```auto

// ==UserScript==
// @name SDMB highlight old threads in forum
// @namespace Polerius
// @description In forum pages, highlights threads that are suspected of being very old
// @include http://boards.straightdope.com/sdmb/forumdisplay.php*
// ==/UserScript==

(function() 
 {
     var allThreads = document.getElementsByClassName('alt1');
     var std = 0;
     var avg = 0;
     var cnt = 0;
     var num_sticky = 0;
     var thread_id;

     // Find all thread id's
     for (var i = 0; i < allThreads.length; i++)
     {
	 if( allThreads*.innerHTML.match(/thread_statusicon_(\d+)/))
	 {
	     thread_id = RegExp.$1;
	     std += thread_id*thread_id;
	     avg += thread_id*1;
	     cnt += 1;
	 }
	 else if( allThreads*.innerHTML.match(/alt=\"Sticky Thread\"/))
	 {
	     // Exclude sticky threads
	     num_sticky++;
	     std -= thread_id*thread_id;
	     avg -= thread_id*1;
	     cnt -= 1;
	 }
     }

     avg /= cnt;
     std = Math.sqrt((std - cnt*avg*avg)/(cnt-1));

     // Find all thread id's and mark the old ones (whose id is less than one std below the mean)
     // Exclude the sticky ones on top of the forum
     for (var i = 0; i < allThreads.length; i++)
     {
	 if( allThreads*.innerHTML.match(/thread_statusicon_(\d+)/))
	 {
	     if((num_sticky--) <= 0)
	     {
		 thread_id = RegExp.$1;
		 if (thread_id < (avg - std))
		 {
		     allThreads*.innerHTML = "<span style=\"font-size:12px;text-align:center;color:#ff0000;\">OLD!</span>" + allThreads*.innerHTML;
		 }
	     }
	 }
     }

 })();

```

---

<div class="post-metadata">

**Author:** ![BigT](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bigt/32/12044_2.png) [@BigT](https://boards.straightdope.com/u/BigT)\
**Post date:** [February 10, 2011, 6:55am UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/84 "2011-02-10T06:55:29Z")

</div>

And that’s the reason I say I’m a novice programmer. I never would have thought of analyzing the post numbers.

Polerius–perhaps you can take on creating a script that would hide ignored posts. The creator of FFvB says he is no longer going to develop it, and plenty of people here will miss that particular feature on Firefox 4.

---

<div class="post-metadata">

**Author:** ![GuanoLad](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/guanolad/32/42_2.png) [@GuanoLad](https://boards.straightdope.com/u/GuanoLad)\
**Post date:** [February 10, 2011, 7:13am UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/85 "2011-02-10T07:13:45Z")

</div>

Outstanding!

Greasemonkey is such a useful widget.

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [February 10, 2011, 7:15pm UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/86 "2011-02-10T19:15:19Z")

</div>

Why was this thread and the [prr thread](http://boards.straightdope.com/sdmb/showthread.php?t=596125) marked as “Old!”?

---

<div class="post-metadata">

**Author:** ![Polerius](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@Polerius](https://boards.straightdope.com/u/Polerius)\
**Post date:** [February 10, 2011, 7:29pm UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/87 "2011-02-10T19:29:01Z")

</div>

> [@Munch](#):
>
> Why was this thread and the [prr thread](http://boards.straightdope.com/sdmb/showthread.php?t=596125) marked as “Old!”?

Hmmm, neither of those are marked as old in my browser.

Maybe it has to do with the version of Firefox you are running? I’m using 3.6.13.

Or maybe there was an error in the copy & paste of the code? You could try copying the code again.

---

<div class="post-metadata">

**Author:** ![Munch](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/munch/32/5281_2.png) [@Munch](https://boards.straightdope.com/u/Munch)\
**Post date:** [February 10, 2011, 7:41pm UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/88 "2011-02-10T19:41:09Z")

</div>

> [@Polerius](#):
>
> Hmmm, neither of those are marked as old in my browser.
> 
> Maybe it has to do with the version of Firefox you are running? I’m using 3.6.13.
> 
> Or maybe there was an error in the copy & paste of the code? You could try copying the code again.

Just recopy and pasted, and I’m running the same version. Lemme reboot firefox…

Nope - still old.

---

<div class="post-metadata">

**Author:** ![Bryan\_Ekers](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bryan_ekers/32/183_2.png) [@Bryan\_Ekers](https://boards.straightdope.com/u/Bryan_Ekers)\
**Post date:** [February 12, 2011, 7:04pm UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/89 "2011-02-12T19:04:53Z")

</div>

> [@Munch](#):
>
> Why was this thread and the [prr thread](http://boards.straightdope.com/sdmb/showthread.php?t=596125) marked as “Old!”?

Maybe because the nature of the complaints remind the computer of a senior yelling at kids on his lawn.

---

<div class="post-metadata">

**Author:** ![Martini\_Enfield](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/martini_enfield/32/11123_2.png) [@Martini\_Enfield](https://boards.straightdope.com/u/Martini_Enfield)\
**Post date:** [February 15, 2011, 7:28am UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/90 "2011-02-15T07:28:13Z")

</div>

Jokes aside, I do think the Zombie Thread issue is something that really needs to be properly looked into- especially when the threads being resurrected are A) 5-10 years old and B) the people resurrecting them seem to make one post and then not return.

---

<div class="post-metadata">

**Author:** ![srzss05](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@srzss05](https://boards.straightdope.com/u/srzss05)\
**Post date:** [February 15, 2011, 3:06pm UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/91 "2011-02-15T15:06:03Z")

</div>

> [@Martini\_Enfield](#):
>
> Jokes aside, I do think the Zombie Thread issue is something that really needs to be properly looked into- especially when the threads being resurrected are A) 5-10 years old and B) the people resurrecting them seem to make one post and then not return.

The only “solution” to that is lock them after a certain time period. Obviously, they don’t want to do that, so the best compromise is to ignore it if it bothers you.

---

<div class="post-metadata">

**Author:** ![Sigene](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Sigene](https://boards.straightdope.com/u/Sigene)\
**Post date:** [February 16, 2011, 7:02pm UTC](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253/92 "2011-02-16T19:02:41Z")

</div>

> [@srzss05](#):
>
> The only “solution” to that is lock them after a certain time period. Obviously, they don’t want to do that, so the best compromise is to ignore it if it bothers you.

I’d like to do just that…ignore them. Currently, I can’t ignore them until after I’ve opened them and remembered to first check the OP date. Most of the time I don’t remember, and its not what I would call ‘user friendly’ to train the user to adapt to the software (it should be the other way around).

Again, If it ever becomes easy to accomplish this task with the software, I would appreciate it.

[Previous page](https://boards.straightdope.com/t/some-way-to-mark-zombie-threads/570253.md?page=4)
