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

Reply
 
Thread Tools
Threads Auto Close Details »»
Threads Auto Close
Version: 0.3, by Vitaly Vitaly is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.x Rating:
Released: 05-26-2010 Last Update: 10-21-2010 Installs: 158
Uses Plugins Auto-Templates
Re-useable Code  
No support by the author.

Description

This addons automatically close threads after defined priod of time. Useful, if you wish to prohibit bumping of very old threads. It doesn't affect your database - you can change lock period or uninstall product anytime, and forum state will be updated.

This mod is developped here: http://github.com/rcdesign/vb-threads_auto_close . Patches are welcome.

Installation
  1. Import XML file
  2. Go to ACP, and set desired time for autolock.
history

0.3
- added options to enable/disable mod for selected subforums

Download Now

File Type: xml product-rcd_thread_auto_closing-0.2.xml (3.7 KB, 204 views)
File Type: xml product-rcd_thread_auto_closing-0.3.xml (7.1 KB, 718 views)

Show Your Support

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

Comments
  #32  
Old 01-11-2011, 05:25 PM
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Location: KSA - Qatif - Al-Jarodiah
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitaly View Post
Added options to enable/disable mod for selected subforums (don't use both in the same time)
Could you please put screen shot of the setting, and where could we find it ?

Thanks,,
Reply With Quote
  #33  
Old 01-14-2011, 02:21 PM
SEW810's Avatar
SEW810 SEW810 is offline
 
Join Date: Mar 2008
Location: M?xico City
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mgurain View Post
Could you please put screen shot of the setting, and where could we find it ?

Thanks,,
Here you go
Goto AdminCP->Settings->Threads Auto Close

Reply With Quote
  #34  
Old 02-23-2011, 01:55 PM
stator's Avatar
stator stator is offline
 
Join Date: Jan 2009
Location: Egypt
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please guide me how to change time unit to be hours not days

is to modify of: options['tac_time_line'] * 60*60*24 : 0);

to: options['tac_time_line'] * 60*60 : 0);
Reply With Quote
  #35  
Old 02-23-2011, 07:35 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes
Reply With Quote
  #36  
Old 02-24-2011, 05:05 AM
stator's Avatar
stator stator is offline
 
Join Date: Jan 2009
Location: Egypt
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Vitaly very much
please, can you make a guide to how to make a vBulletin plugin?
as I have many good ideas, but I don't have the fingers to do them
Reply With Quote
  #37  
Old 04-27-2011, 06:22 PM
Rebecca217 Rebecca217 is offline
 
Join Date: May 2002
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great! Thank you!
Reply With Quote
  #38  
Old 06-13-2011, 02:45 PM
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Vitaly,

thanks for the plugin =)

Is there a way to use the $tac_timeline var from the plugin in a conditional? I'm trying to print something only in old threads, something like <vb:if condition = "$thread['lastpostdate'] > 1095 days> or <vb:if condition = "$thread['creationdate'] > 1095 days> but I'm not finding the right conditionals. So I was thinking if the $tac_timeline could be used in this purpose.
Reply With Quote
  #39  
Old 06-28-2011, 07:48 PM
elrafei elrafei is offline
 
Join Date: Jan 2005
Location: Egypt
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #40  
Old 06-28-2011, 09:00 PM
radiofranky radiofranky is offline
 
Join Date: Jun 2011
Posts: 149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if this mod can be used during TOPIC creation would be even nicer.

for example, topic for a coupon deal, it would be nice to have the topic auto close when coupon deal expires.

cheers
Reply With Quote
  #41  
Old 08-06-2011, 10:20 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone else noticed closed threads reopening themselves? We have one that's done it twice now in as many days. I don't see anything about it at vb.com so I'm not sure what else to try short of uninstalling this mod and seeing what happens.
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 07:38 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.06778 seconds
  • Memory Usage 2,332KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete