vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Expired Threads (Auto Close Threads) (https://vborg.vbsupport.ru/showthread.php?t=82827)

Logikos 06-09-2005 10:00 PM

Expired Threads (Auto Close Threads)
 
Expired Threads v1.0.1

Click Install For Support
www.vBHackers.com

What this does
This will allow you as the admin to set a time limit till a thread is considered expired or in otherwords closed. If the thread happens to be expired, the user will see a error message. But a staff member (ie, mod, sup-mod, and admin) can unexpire the thread by posting in it, then the counter will start over again. (if you enable this in the admincp) This will prevent those anoyying thread digger members we all seem to dislike.

Installation
Read the readme.txt file

Support
Please show your support by clicking the install button.

Features
  • Turn whole hack off with one button
  • Option to allow mods/sup mods to be able to post
  • You can enable/disable for any forum you want
  • Set X Days till thread is considered expired for any forum you want
  • Optional feature to hide quickreply, show thread closed button and lockedicon on your forumsdisplay. Screenshot should better explaine it all.

To do list...
  • Time to install: 3 minutes
  • Queries to run: 2
  • File Mods: 0
  • Templates to edit: 0
  • Templates to add: 0
  • New Phrases: 3
  • New Plugins: 6

Please read carefully and make all the necessary changes as stated. This is will work if installed properly.
PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack


Please post bugs and errors here. Hope you like, feedback welcomed!

Marco van Herwaarden 06-10-2005 12:53 PM

Nice one. I noticed your installer don't support TABLE_PREFIX on the ALTER statement for the forum table.

Logikos 06-10-2005 01:01 PM

Fixed. Thanks Marco

sully02 06-10-2005 04:26 PM

Quote:

Originally Posted by Live Wire
Fixed. Thanks Marco

Could this be modified so you can set threads to close either after X days or X replies? (User chooses if they want to time via days or # of replies)

Logikos 06-10-2005 07:54 PM

Quote:

Originally Posted by sully02
Could this be modified so you can set threads to close either after X days or X replies? (User chooses if they want to time via days or # of replies)

x days yes, x replys no. But i can add that optoin

CMilne 06-13-2005 07:07 AM

Very nifty, my forums get very inactive when stargate atlantis goes off TV between seasons, and then out-dated threads are re-posted on several months later, when it is no longer relevant.

* clicks install *

teedizz 06-15-2005 06:18 PM

Can I set this for 1 particular forum or does this go for ALL forums?

Logikos 06-16-2005 04:26 AM

Quote:

Originally Posted by teedizz
Can I set this for 1 particular forum or does this go for ALL forums?

Yes you can set it up for one forum only.

Sinistra 06-17-2005 09:06 AM

Is there something like this for 3.0.7 the prson that owns the board I do hackinstalls on is waiting for the stable version of 3.5 to come out before installing it. This is a hack we could use

Logikos 06-17-2005 09:10 AM

Yes I originally created this hack for vBulletin 3.0.7. Here you go buddy. Expired Threads for vBulletin Version 3.0.7


All times are GMT. The time now is 03:11 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.01750 seconds
  • Memory Usage 1,738KB
  • 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
  • (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