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
  #52  
Old 01-09-2007, 04:01 AM
R M 4 E V E R R M 4 E V E R is offline
 
Join Date: Aug 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm

so just chmod that dir with 777

i'll try

thanks for fast support
Reply With Quote
  #53  
Old 01-09-2007, 04:11 AM
R M 4 E V E R R M 4 E V E R is offline
 
Join Date: Aug 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that worked very well

i'll translate this product to arabic and post it in arabic vBulletin web sites with ur copyright not removed

installed hit and product nominated for MOTM

thanks again
Reply With Quote
  #54  
Old 01-09-2007, 10:49 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

reserved for future use by new developmets

only a question:

it's possible make that an admin or a (category) mod post automatically with a default message that to inform the reason of the lock? i think this is a better way than "only" lock a thread ...

take this with a suggestion always if it is possible to make this
Reply With Quote
  #55  
Old 01-12-2007, 04:08 AM
michael_S michael_S is offline
 
Join Date: Nov 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Working great on 3.6.4 for me... This is exactly what I needed!
Reply With Quote
  #56  
Old 01-13-2007, 05:39 PM
osso12 osso12 is offline
 
Join Date: Feb 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michael_S View Post
Working great on 3.6.4 for me... This is exactly what I needed!
Not working with 3.6.4 for me...
I cmod every file and folder in both includes, and cron directory...
error uploading file to writing......
so...as far as vb being able to write to the "vb directory" not sure what that is..
Unless he was talking about the root...where the forum is installed, in that case, all folders are cmod 777..
nothing works....error uploading file to writing......
even if you try to manually import the file from /includes/xml/vox_close_old_threads_1[1].1.xml
what next?
Reply With Quote
  #57  
Old 01-14-2007, 12:08 AM
osso12 osso12 is offline
 
Join Date: Feb 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone??
Reply With Quote
  #58  
Old 01-15-2007, 01:35 PM
michael_S michael_S is offline
 
Join Date: Nov 2002
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to chmod 777 the cron directory as it needs to write to it. Once installation is complete, you can chmod the cron directory back to 755 or 644...
Reply With Quote
  #59  
Old 01-15-2007, 05:58 PM
osso12 osso12 is offline
 
Join Date: Feb 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by michael_S View Post
You need to chmod 777 the cron directory as it needs to write to it. Once installation is complete, you can chmod the cron directory back to 755 or 644...
Thanks...
but as I already stated above " cmod every file and folder in both includes, and cron directory...
error uploading file to writing......"
Reply With Quote
  #60  
Old 01-15-2007, 06:04 PM
osso12 osso12 is offline
 
Join Date: Feb 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Bump*
this is odd...
I did chmod everything using CPANEL in the file manager..
everything to 777...
still did not work..
so I thought "what the hell?"
so i went back with a ftp client, (wsftp) and did a chmod 777 and for some strange reason it worked that way...
usually if you try to cmod with an ftp tool it wont work or its temporal..
so thanks guys...
just remember that one if yall have the same issue, use and ftp tool direct to the folder in question to chmod.
Problem finally solved.
Reply With Quote
  #61  
Old 01-15-2007, 06:15 PM
osso12 osso12 is offline
 
Join Date: Feb 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i say its solved..but does not appear to be working..
its intalled now, but when I checked the options in acp..
set to close threads 90 after last post...
went back to the forum for review, and the mod does not appear to be working...
No threads are closed at all.
any clue?
Thanks
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:42 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.08511 seconds
  • Memory Usage 2,336KB
  • 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