Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Expired Threads (Auto Close Threads) Details »»
Expired Threads (Auto Close Threads)
Version: 1.0.2, by Logikos Logikos is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Version: 3.5.0 RC1 Rating:
Released: 06-09-2005 Last Update: 08-21-2005 Installs: 102
DB Changes Uses Plugins
 
No support by the author.

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

Click It

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

Show Your Support

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

Comments
  #12  
Old 06-17-2005, 09:50 AM
MogKnight MogKnight is offline
 
Join Date: Aug 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where do you set the options for this?
Reply With Quote
  #13  
Old 06-17-2005, 09:56 AM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MogKnight
where do you set the options for this?
Under the forum manager. See Here. The same place where you would edit the forum title.
Reply With Quote
  #14  
Old 06-17-2005, 10:56 AM
MogKnight MogKnight is offline
 
Join Date: Aug 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hm, sorry i missed that.

it'd be nice if there was a way to turn it on or off globally though- adding the option for every forum is a bit of a pain.
Reply With Quote
  #15  
Old 07-26-2005, 06:39 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Live Wire
This Hack can be implemented without File Edits in RC1 by using Hooks forumadmin_add_default and forumadmin_edit_from, so you might want to update it
Reply With Quote
  #16  
Old 07-26-2005, 07:17 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great! Thanks man, going to check out the new release now.
Reply With Quote
  #17  
Old 07-27-2005, 01:25 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

UPDATED FOR vB 3.5.0 RC1
No Code Changes Necessary!

First post updated with zip. Zip includes readme.txt and product-exthreads.xml.
Please read the readme file before doing anything!

Couple of new features and cleaned up the code. See first post.

Thanks for all your support!
Reply With Quote
  #18  
Old 07-27-2005, 01:31 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice Hack

What i'd like to see:
Users can still reply, but if the Thread is expired they will see a Warning (Maybe an Image and some blah blah Text saying that the Thread is pretty old) and have to tick a Checkbox that they are aware of this but still feel that it's necessary to answer.

That's because sometimes it does make sense to bump an old Thread, but in most cases it does not make sense and the Users just don't realize how old the Thread is.

Btw: Moved to Plugins
Reply With Quote
  #19  
Old 07-27-2005, 01:35 PM
Logikos Logikos is offline
 
Join Date: Jan 2003
Posts: 2,924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never thought about that. I suppose I could do that as well. I'll just make it an option to turn on/off. Note to self: Physically lock expired thread would have to be turned off for this option to work.
Reply With Quote
  #20  
Old 07-29-2005, 03:56 AM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My setting look like this:
Reply With Quote
  #21  
Old 07-29-2005, 04:00 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nealparry
My setting look like this:
You need to use Import Products and not upload it as a plug-in.
Reply With Quote
Reply


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:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05619 seconds
  • Memory Usage 2,301KB
  • 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
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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