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

 
 
Thread Tools
Automatic Thread Closing Details »»
Automatic Thread Closing
Version: 1.80, by ralle89 ralle89 is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.x Rating:
Released: 11-18-2008 Last Update: Never Installs: 156
Uses Plugins
 
No support by the author.

Hello guys this is my first mod ported for 3.7, it still works on 3.6 though!

Features:
  • Make a list of forums to either restrict the add-on to or exclude the addon from the list
  • Option to close sticky threads or not
  • Enable/disable hack
  • Set timelimit
  • All settings can be set in ACP
  • Option to close thread after X amount of posts
  • Allow certain usergroups to bypass the hack
Why?
I was getting tired of all those people necro-posting, posting in threads that are up to three years old. This is my solution

Time to install:
Less than one minute

History:
1.00 release
1.10 threadbit display closed
1.20 all settings through ACP
1.30 close thread after reply-count
1.40 bugfix
1.50 dunno what I did
1.60 option to exclude or restrict to the list of forum ids


After billions of requests, I have finally done what you did!

Note
Don't forget to click Mark as Installed!
Also, my testing system is down but the worst this hack can cause is a syntax error.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
NeoDio

Comments
  #32  
Old 05-30-2009, 02:13 PM
4nawadir.com's Avatar
4nawadir.com 4nawadir.com is offline
 
Join Date: May 2009
Location: Algeria
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Work,
Installed & Notaminated
Reply With Quote
  #33  
Old 05-30-2009, 08:44 PM
Wolfegar Wolfegar is offline
 
Join Date: Nov 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ralle89 View Post
It simply checks the date and if it's too old and fits the right forum, it will appear locked. That's all. No database changes at all.
The red highlighted bit suggests this question. Does it appear locked but isn't really, or is it actually locked?
Reply With Quote
  #34  
Old 07-02-2009, 10:06 AM
BBF BBF is offline
 
Join Date: Dec 2006
Location: Israel, Netanya.
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any changelog?
1.60 -> 1.80?
Reply With Quote
  #35  
Old 07-04-2009, 05:08 PM
kamaldarwish's Avatar
kamaldarwish kamaldarwish is offline
 
Join Date: Dec 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the script.
Reply With Quote
  #36  
Old 07-04-2009, 05:09 PM
kamaldarwish's Avatar
kamaldarwish kamaldarwish is offline
 
Join Date: Dec 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the script.

Can you add a feature to this script like a condition for the threads
if the thread is open and there was'n any post for the last x days it should be closed.

Best Regards,
Kamal
Reply With Quote
  #37  
Old 07-04-2009, 07:07 PM
pigpog's Avatar
pigpog pigpog is offline
 
Join Date: Oct 2008
Location: United Kingdom
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Brilliant, brilliant, brilliant.

Oh, did I mention it's brilliant?
Reply With Quote
  #38  
Old 07-12-2009, 07:58 AM
Kintaro81 Kintaro81 is offline
 
Join Date: Mar 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kamaldarwish View Post
Can you add a feature to this script like a condition for the threads if the thread is open and there was'n any post for the last x days it should be closed.
I need it too!
Reply With Quote
  #39  
Old 07-16-2009, 01:10 AM
icarusforde icarusforde is offline
 
Join Date: Jun 2009
Location: New Zealand
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works in 3.8.3 fine for me.
Reply With Quote
  #40  
Old 07-17-2009, 11:12 AM
navjotjsingh navjotjsingh is offline
 
Join Date: Feb 2006
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Somehow I cannot see the timeunits mentioned. I can select by dropdown its just that its blank. I am just counting by guess to select the option. How to fix it?
Reply With Quote
  #41  
Old 08-21-2009, 04:44 AM
SEW810's Avatar
SEW810 SEW810 is offline
 
Join Date: Mar 2008
Location: M?xico City
Posts: 274
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

, didn't work for me
vb 3.8.2

How come this hack closes threads without any cron task?
Reply With Quote
 


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 11:41 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04360 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
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
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete