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
  #62  
Old 01-17-2007, 07:48 PM
taydu taydu is offline
 
Join Date: Oct 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod,

can I make a few requests

1. different close period for different group users
i.e. All non stick post, posted by Admin in assigned forum (1, 2, 5, 10 ..) will be be close after X day after first post or last replỵ

............ by Super Mod ........ will be close after Y ....

............ by Mod ........ after Z day ........

............ by all other groups .... after XY day ....

2. Send notify PM/E-mail to the thread creator X day prior to closing. In the body should include the link to the thread.

That's all,

Thanks, once again great hack
Reply With Quote
  #63  
Old 01-17-2007, 07:56 PM
michael_S michael_S is offline
 
Join Date: Nov 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by osso12 View Post
Thanks...
but as I already stated above " cmod every file and folder in both includes, and cron directory...
error uploading file to writing......"
That means you didn't really chmod to 777.

You should never use a web based file manager to modify permissions. It runs as a different user and will not have privileges to modify your files. That is why it never worked for you.

Using an ftp client or ssh client to change the permissions is the only way you should do it.

Next, in order for the threads to be closed, you have to run the scheduled job in the admin either by letting the cron run, or by manually running it.
Reply With Quote
  #64  
Old 01-17-2007, 10:31 PM
osso12 osso12 is offline
 
Join Date: Feb 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it all works now, and finally started working finally.
Thanks...
Reply With Quote
  #65  
Old 01-29-2007, 04:19 PM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this doesnt work for 3.6.0?
Reply With Quote
  #66  
Old 01-29-2007, 05:09 PM
osso12 osso12 is offline
 
Join Date: Feb 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MissKalunji View Post
this doesnt work for 3.6.0?
This works for 3.6.4
Reply With Quote
  #67  
Old 01-31-2007, 12:05 PM
marsauae.com marsauae.com is offline
 
Join Date: Aug 2003
Location: U.A.E / sharjah
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If allowed for the issuance want 3.6.4
Reply With Quote
  #68  
Old 02-15-2007, 01:38 AM
flindersredclaw flindersredclaw is offline
 
Join Date: Oct 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by osso12 View Post
This works for 3.6.4
Did nothing at first then I went into scheduled tasks and run the cron and all is great

Works on 3.6.4 no doubt

Thank you.
Reply With Quote
  #69  
Old 02-19-2007, 05:51 PM
Silverstangs Silverstangs is offline
 
Join Date: Nov 2003
Location: Roseville Sacramento CA
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it, but as some else said....

Quote:
Originally Posted by transitbus View Post
This is a great mod.
I would suggest to include in the documentation the need to chmod the cron folder to 777 before installation and back (755) after. This will avoid confusion.

So please update your instructions uptop. It will avoid unexpected issue.
I am running vb 3.6.4 with vBadvanced CMPS v2.2.1 (vB 3.6) installed, just incase someone wanted to know...>> http://www.talkchite.com
Reply With Quote
  #70  
Old 02-19-2007, 06:09 PM
echamberlain's Avatar
echamberlain echamberlain is offline
 
Join Date: Aug 2006
Location: San Francisco
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the suggestion, I've updated the instructions.

I thought having one xml file would be easier, but maybe I should repackage the mod as a zip file with a manual upload.
Reply With Quote
  #71  
Old 02-19-2007, 10:42 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lesson for today kids, read the thread before you install.
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 12:39 AM.


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.04653 seconds
  • Memory Usage 2,335KB
  • 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
  • (4)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