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

Reply
 
Thread Tools
Automatically Close Old Threads After X Days Details »»
Automatically Close Old Threads After X Days
Version: 1.1, by echamberlain echamberlain is offline
Developer Last Online: Mar 2017 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.2 Rating:
Released: 11-03-2006 Last Update: 11-04-2006 Installs: 283
Uses Plugins
Translations  
No support by the author.

This product will automatically close threads. Administrators have the option of setting the number of days until a thread closes, including or excluding sticky threads, and including or excluding forums by ID.

Threads can be closed X days after the thread was created or X days after the last post.

See this product in action on the Voxilla Forums.

Installation

Close Old Threads installs from a single XML file, no other file uploads are necessary.

The installation process automatically creates a php file in the cron folder, therefor the cron folder must be writeable by vBulletin.

You may need to chmod the includes/cron folder to 777 before installation and back (note your settings) after installation is complete.

The installer then creates a daily cron job.

Close Old Threads is inactive upon installation and must be configured and enabled from the vBulletin Options menu. See the attached screen shot for a sample.


Update

1.1 Administrators can now select all forums, or a subset of forums for inclusion or exclusion. The previous version only had options for all forums and an exclusion list.

Download Now

File Type: xml vox_close_old_threads_1.1.xml (8.2 KB, 1743 views)

Screenshots

File Type: png close_threads.png (31.7 KB, 0 views)

Show Your Support

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

Comments
  #12  
Old 11-04-2006, 02:02 PM
TheComputerGuy's Avatar
TheComputerGuy TheComputerGuy is offline
 
Join Date: Oct 2001
Location: TX
Posts: 580
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nobi...awesome idea!

I like this in general too!
Reply With Quote
  #13  
Old 11-04-2006, 03:03 PM
echamberlain's Avatar
echamberlain echamberlain is offline
 
Join Date: Aug 2006
Location: San Francisco
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you mean by section?

If you want to limit Close Old Threads to a subset of forums, enter the forum ID's to exclude in the control panel settings page.
Reply With Quote
  #14  
Old 11-04-2006, 03:05 PM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i mean for people who have around 20 sections and in one section around 2-4 sub-sections
for them it`s hard to exclude everything
Reply With Quote
  #15  
Old 11-04-2006, 03:58 PM
lazyseller lazyseller is offline
 
Join Date: Oct 2003
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if u have 100 forums and u only want to close 1. You have to input 9 forumid's
Reply With Quote
  #16  
Old 11-04-2006, 04:07 PM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heh heh not 9 , 99

so it`s kindda though can`t we have sumthin` like in choosing wtever we want and whatever we don`t want to close that

i have attached a pic of what i mean .........
Attached Images
File Type: jpg 2.jpg (7.9 KB, 0 views)
Reply With Quote
  #17  
Old 11-04-2006, 04:23 PM
echamberlain's Avatar
echamberlain echamberlain is offline
 
Join Date: Aug 2006
Location: San Francisco
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good point.

I've got some other work to do today, but if I get some time tonight or tomorrow, I will modify the hack to: include the listed forum IDs, exclude the listed forum IDs, or All forums.
Reply With Quote
  #18  
Old 11-04-2006, 04:26 PM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks in advance
Reply With Quote
  #19  
Old 11-05-2006, 05:18 AM
nasser71 nasser71 is offline
 
Join Date: Jul 2005
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

gr8 jop m8
thanks alot
Reply With Quote
  #20  
Old 11-05-2006, 05:29 AM
echamberlain's Avatar
echamberlain echamberlain is offline
 
Join Date: Aug 2006
Location: San Francisco
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I released version 1.1 with support for including a subset of forums.
Reply With Quote
  #21  
Old 11-05-2006, 08:30 PM
PIKenPIK PIKenPIK is offline
 
Join Date: Feb 2005
Location: Netherlands
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by echamberlain
I released version 1.1 with support for including a subset of forums.
TY .. was really waiting for this one ..

but with importing from my C-drive i get in 3.6.2 the message

Quote:
Error opening file to writing
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 02:19 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.05082 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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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