vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Automatically close threads after X replies (https://vborg.vbsupport.ru/showthread.php?t=190969)

Marco 09-14-2008 10:00 PM

Automatically close threads after X replies
 
Product name:
Automatically close threads after X replies

Product description:
As the name implies, this product will allow you to automatically close threads when a certain number of replies (set in the Admin CP) has been reached. Each time a post is made, the plugin checks if the reply limit has been reached, and if so, the topic is closed. Sticky threads may be excluded from this limit.

Product installation:
Just import the product and set the options under vBulletin options, that's all there is to it.

Version compatibility:
Has been tested on vBulletin 3.7.x. May or may not work with earlier versions.

Version history:

1.0.1 -- 09/15/2008
- [Added] Ability to exclude individual threads
- [Added] Version check

1.0.0 -- 09/15/2008
- Initial release

Ascor 09-15-2008 10:42 AM

Taged for futur use, thank you Marco :)

Masiello 09-15-2008 10:46 AM

It would be fantastic to see a mod like this that allows to close the thread automatically after a tot of days, with the user mandatory choice for certain forum of who opening the thread. For my forum would be a windfall!

Nordinho 09-15-2008 11:00 AM

I could have a real use for this, if it would create a new thread (continuing the old thread) automatically

Marco 09-15-2008 11:28 AM

Quote:

Originally Posted by Masiello (Post 1622541)
It would be fantastic to see a mod like this that allows to close the thread automatically after a tot of days, with the user mandatory choice for certain forum of who opening the thread. For my forum would be a windfall!

I think a mod like that already exists. :)

Forum Lover 09-15-2008 12:30 PM

Marco, got any plan to put thread ids too?

Marco 09-15-2008 01:19 PM

You mean thread id's of threads you would like to remain open? That sounds doable, I might add that when I have some time.

Masiello 09-15-2008 02:04 PM

Quote:

Originally Posted by Marco (Post 1622558)
I think a mod like that already exists. :)

This allow Admin choice and not user choice
Quote:

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.

Marco 09-15-2008 02:37 PM

Quote:

Originally Posted by Marco (Post 1622609)
You mean thread id's of threads you would like to remain open? That sounds doable, I might add that when I have some time.

I had some time just now. ;)

Updated to version 1.0.1, which adds this feature.

Quote:

Originally Posted by Masiello (Post 1622621)
This allow Admin choice and not user choice

I see. Well, my plugin is never going to do that, sorry.

Forum Lover 09-15-2008 06:27 PM

Quote:

Originally Posted by Marco (Post 1622609)
You mean thread id's of threads you would like to remain open? That sounds doable, I might add that when I have some time.


Not really, as I don't want all of my threads got close. I want certain threads.


All times are GMT. The time now is 07:37 AM.

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.01183 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
  • (6)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