Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Inactive thread warning Details »»
Inactive thread warning
Version: 1.00, by waza waza is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 02-16-2008 Last Update: Never Installs: 14
Uses Plugins Template Edits
Re-useable Code Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-18-2008, 05:17 AM
Forum Lover Forum Lover is offline
 
Join Date: Jun 2007
Location: Sydney
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did anybody try this at 3.7 beta 5 ?
Reply With Quote
  #3  
Old 02-18-2008, 06:15 AM
waza waza is offline
 
Join Date: Apr 2005
Location: Belgium
Posts: 341
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@forum lover: jup, it works on vb 3.5.x, 3.6.x and 3.7.x .
Reply With Quote
  #4  
Old 02-18-2008, 09:11 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #5  
Old 03-03-2008, 06:48 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thnk you waza

Install
Reply With Quote
  #6  
Old 03-08-2008, 09:52 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is cool but it whould be cool if the warning is not displayed on sticky and closed threads. any idea how ?
Reply With Quote
  #7  
Old 03-09-2008, 03:50 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Konstantinos View Post
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

Code:
<!-- 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 -->
Reply With Quote
  #8  
Old 03-31-2008, 10:02 PM
Mr saleki's Avatar
Mr saleki Mr saleki is offline
 
Join Date: Dec 2007
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good job ... tanx
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09286 seconds
  • Memory Usage 2,267KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete