PDA

View Full Version : Inactive thread warning


waza
02-16-2008, 10:00 PM
Hey,

This is a very little but quite useful mod.

Everybody has already experienced that some thread that has been inactive for months is brought back to the foreground by somebody who has found the thread accidentally (by google or something).

Well, with this mod I try to stop that by giving a warning when a thread has been inactive for x days (configurable).

Don't forget to click install.

This mod should work on every vb from 3.5 and up.

Forum Lover
02-18-2008, 05:17 AM
Did anybody try this at 3.7 beta 5 ?

waza
02-18-2008, 06:15 AM
@forum lover: jup, it works on vb 3.5.x, 3.6.x and 3.7.x .

thincom2000
02-18-2008, 09:11 PM
Yeah, I actually just discussed the issue of old threads with one of our other admins this weekend. We agreed that we liked this about vBulletin than other forum solutions, that there is no discrimination of old threads. We like to keep old threads alive on our site, and on our old software it became annoying to keep reminding our members to check boxes to show posts that were more than 30 days old. That and vbPlaza were the main reasons were switched to vBulletin. Unfortunately vbPlaza is currently unusable...

That said, it's still nice to see a feature our admins haven't come in contact with since our switch to vBulletin two years ago. Good work!

Nathan2006
03-03-2008, 06:48 AM
Thnk you waza

Install :)

Konstantinos
03-08-2008, 09:52 PM
this is cool but it whould be cool if the warning is not displayed on sticky and closed threads. any idea how ?

Konstantinos
03-09-2008, 03:50 PM
this is cool but it whould be cool if the warning is not displayed on sticky and closed threads. any idea how ?

guess this worked

<!-- Inactive thread warning start -->
<if condition="$show['oldthread']">
<if condition="$thread['sticky'] != 1">
<if condition="$show['closethread']">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tr>
<td align="center" style="background-color:#DEF3BD;color:black" width="100%"><span class="smallfont"><strong>$vbphrase[oldthread_warning]:</strong>&nbsp; <phrase 1="$vboptions[oldthread_days]">$vbphrase[oldthread_warning_message]</phrase></span></td>

</tr>
</table>
</if>
</if>
</if>
<!-- Inactive thread warning stop -->

Mr saleki
03-31-2008, 10:02 PM
good job ... tanx