vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Automatic Thread Closing (https://vborg.vbsupport.ru/showthread.php?t=148117)

ralle89 05-24-2007 10:00 PM

Automatic Thread Closing
 
A new version is available from here. It is 3.7 but also works with 3.6 (and probably 3.8).

Hello guys this is my first mod!

Features:
  • Forum immunity
  • 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 thread
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 added the feature to select whether you want the list of forum ids to either be the forums which's threads that should not be closed or the forums which's threads that should be closed

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

Note
Don't forget to click Mark as Installed!

giovannicosta 05-25-2007 04:57 PM

Fantastic need this, first install*

giovannicosta 05-25-2007 04:59 PM

How do I set the mod to close threads after 30 days of inactvity?

EnIgMa1234 05-25-2007 05:35 PM

if you need help making settings for this let me know

ralle89 05-25-2007 05:57 PM

Quote:

Originally Posted by giovannicosta (Post 1254564)
How do I set the mod to close threads after 30 days of inactvity?

Code:

$ral_timedead = time()-(60*60*24*(365/2));
Edit that line (it appears more than once) and set it to
Code:

$ral_timedead = time()-(60*60*24*31);
It's all a matter of seconds

Quote:

Originally Posted by EnIgMa1234 (Post 1254575)
if you need help making settings for this let me know

I would like that!

I updated it now.. It also shows that the thread is locked in forumdisplay now. Just uninstall and install to get the new version

dope15gd 05-25-2007 06:12 PM

I'll probably get in on this when you can adjust the settings in the global settings menu.

I appreciate your efforts :)

thanks

giovannicosta 05-25-2007 07:40 PM

Thankyou, amazing!

projectego 05-26-2007 06:16 PM

Awesome first mod! Nice work. ;)

ralle89 05-26-2007 08:36 PM

Thank you all for your support guys!
I feel like also releasing my [youtube] tag and my [table] tag, they are also awesome :)

Subah 05-26-2007 10:09 PM

Quote:

Originally Posted by dope15gd (Post 1254593)
I'll probably get in on this when you can adjust the settings in the global settings menu.

I appreciate your efforts :)

thanks

Me also, Thanks man :)


All times are GMT. The time now is 03:11 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.01369 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete