Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Thread Maintenance v1.0 Details »»
Thread Maintenance v1.0
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 12-15-2003 Last Update: Never Installs: 6
 
No support by the author.

Well here goes nothing, my first hack at vb.org in sometime now.

Based on an idea by rooshine in this thread -
https://vborg.vbsupport.ru/showthread.php?t=59179

I built on the idea somewhat and in my opinion made a fairly nice system

This hack will close threads if they're not replied to within X amount of days as set per the Administrator. Also if you use a forum to archive your threads you can use that featrue and it will automatically move the thread to the specified forum. You can disable or enable this system whenever you want and can set the amount of time to check for updates so that you're not running the database down.

Screenshot and zip below. Easy Installation just run the installer in the admin directory then upload a file and one file mod and you're done.

Tested on vb2.3.3 but should work for all vb2.x.x.

If you install please click install and thanks.

Any questions, comments, etc are welcomed.

If this hack becomes somewhat popular I already have some ideas for v2.0 including automatic forum updating and bypassing sticky threads etc, but this is just a start, please do enjoy.

Thread Maintenance v1.1

Thanks to Brolly I have updated this hack. It contains the following fixes for the following bugs.

[Bug 1]Maintenance Update even though settings set for minutes updated in seconds instead. Fix Applied.

[Bug 2]Even once Thread Maintenance was ran it updated the setting, but did not updated in the special templates. Fix Applied with the reformattingsettings function.

[Bug 3]Thanks to Brolly with the existing query it selected posts but not those older then X amount of time so that is why there was the issue with closing threads that were created x amount of days ago. Anyways fix applied.

To Update to Thread Maintenance v1.1 (TM) Simply Download updated zip and upload the new threadmaintenance.php to the main directory and thats all. Enjoy.

Regards,
g-force2k2

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 12-17-2003, 06:36 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fixed the files it should be lowercase just that when I was naming the threadmaintenance.php file I couldn't tell that I had capitalized the M because my brother uses pixel font as his default.

Regards,
g-force2k2
Reply With Quote
  #13  
Old 12-17-2003, 03:06 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your text editor is in pixel fonts - ouch !
Reply With Quote
  #14  
Old 12-17-2003, 09:30 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mist
Your text editor is in pixel fonts - ouch !
Nah my wordpad is fine, I just use regular courier, but just when naming files its all pixel font so pretty much capital and lowercase letters are the same.

Regards,
g-force2k2
Reply With Quote
  #15  
Old 12-20-2003, 06:02 AM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great for larger boards, not for a small one
Reply With Quote
  #16  
Old 12-22-2003, 08:13 AM
Brolly Brolly is offline
 
Join Date: Jul 2002
Location: UK
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure if this is a bug, or a problem with my particular board (2.3.0).

But the hack doesn't actually close threads that have been inactive for X days, it closes down threads that were created after X days.
Reply With Quote
  #17  
Old 12-22-2003, 12:32 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brolly
I'm not sure if this is a bug, or a problem with my particular board (2.3.0).

But the hack doesn't actually close threads that have been inactive for X days, it closes down threads that were created after X days.
Sounds rather interesting, if you can confirm that it does actuallyi close thread created after x days rather than inactive I will have to make a fix. If someone else could confirm I would be greatful.

Regards,
g-force2k2
Reply With Quote
  #18  
Old 12-22-2003, 09:31 PM
Brolly Brolly is offline
 
Join Date: Jul 2002
Location: UK
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got about 30 cases of closed threads on my forum. Half of my fellow admin's are running around like headless chickens because they think there's a traitor, lmao.

It definetly is true, on my board at least. I had a thread that was posted in last night, but created 35 days ago (I set the option to close threads older than 30 days). A large number of threads like this were closed. I also have a moderator log to prove that these threads weren't closed by a person.

If this problem were to be fixed, I'd make this hack have my children. Just so you know I'm not hating it
Reply With Quote
  #19  
Old 12-23-2003, 04:43 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the trouble Brolly, but thanks to your assistance I have released version 1.1 with three bug fixes. If you have any other questions or concerns feel free to use this thread, and thanks for the compliments.

Regards,
g-force2k2
Reply With Quote
  #20  
Old 12-23-2003, 06:28 AM
Brolly Brolly is offline
 
Join Date: Jul 2002
Location: UK
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, thanks for the bug fix
Reply With Quote
  #21  
Old 01-02-2004, 02:58 AM
rooshine rooshine is offline
 
Join Date: Sep 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks very much, g-force2k2. I will be installing this shortly!
Reply With Quote
Reply

Thread Tools

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 03:29 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.04296 seconds
  • Memory Usage 2,297KB
  • 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
  • (2)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
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete