Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

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
  #102  
Old 12-18-2007, 12:44 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed AND Thanx for the sharing

Jacquii.
Reply With Quote
  #103  
Old 01-12-2008, 02:17 PM
Saviour's Avatar
Saviour Saviour is offline
 
Join Date: Apr 2007
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm thinking about installing this mod, but my Moderators are looking for this to be added...

They want a post to be added at the end of the thread explaining why the thread was closed.

Now...it's a "gimme" as to why the thread is being closed...it's self-explanatory to those who install it, or to those who are informed about it...however, simply closing the thread after x amount of days doesn't fully explain to the original poster as to why the thread was closed. A simple post following the below script could be used for this, giving the user a reason:

"Due to inactivity, this thread has been closed. If you are the original poster of this thread, you can contact a Moderator to have it re-opened, or simply start a new thread."

Having the above script listed as the last post within that thread would eliminate the need of constantly explaining why the thread was closed in the first place...see my point?

To be perfectly honest, someone should create a mod for staff and Administrators, that could be used for the following reasons:
  1. Inactivity
  2. Unnecessary arguing
  3. Flaming
  4. Language
  5. Bigotry
  6. Etc., etc.

If any of the above pertain to a certain thread, the staff could simply use Thread Tools to close the thread and select one of the above reasons...the hack would close the thread and post a generic reply to the thread, within the last post, explaining why the thread was closed.

To me...this would be the perfect addition to this, or a similar mod.

Thanks for listening...
Reply With Quote
  #104  
Old 01-12-2008, 04:14 PM
PinkDaisy's Avatar
PinkDaisy PinkDaisy is offline
 
Join Date: Sep 2006
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed. Thanks!
Reply With Quote
  #105  
Old 01-28-2008, 09:14 PM
Desesperao Desesperao is offline
 
Join Date: Oct 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

X echamberlain: This mod. only works if I mark the option: "Include all forums".

If I don't include all forums and I list some of them, the mod doesn?t work.

Please, help me.

vBulletin 3.6.8 patch 2
Reply With Quote
  #106  
Old 01-28-2008, 11:06 PM
echamberlain's Avatar
echamberlain echamberlain is offline
 
Join Date: Aug 2006
Location: San Francisco
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The code just takes what you enter in the forums field and puts it into a SQL statement:

Code:
	// include some forums
	\$forums = ' AND forumid IN ('.\$vbulletin->options['setting_vox_cot_forums'].')';
The include or exclude list needs to be a comma delimited list of forum ID's.
Reply With Quote
  #107  
Old 01-29-2008, 09:21 AM
Desesperao Desesperao is offline
 
Join Date: Oct 2003
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Eric

I have done it as you say, but it doesn't work. I have separated each forum by comma but, the only way it works is if I include all forums.

I have tried everything.

Any idea?
Reply With Quote
  #108  
Old 02-15-2008, 10:07 AM
Subah's Avatar
Subah Subah is offline
 
Join Date: Feb 2006
Location: KUWAIT
Posts: 393
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any update for 3.7 ??
Reply With Quote
  #109  
Old 02-28-2008, 06:10 AM
boy tigas boy tigas is offline
 
Join Date: Mar 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sorry for this dumb query...

but where to find include/cron directory????

im at lost...well just a newbie....
Reply With Quote
  #110  
Old 02-28-2008, 07:02 AM
boy tigas boy tigas is offline
 
Join Date: Mar 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

got it .... thanks
Reply With Quote
  #111  
Old 02-29-2008, 07:33 AM
orok orok is offline
 
Join Date: Jun 2005
Location: Gaza
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's work .. good product
Reply With Quote
Reply

Thread Tools

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:11 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.09077 seconds
  • Memory Usage 2,322KB
  • 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
  • (1)bbcode_code
  • (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