View Full Version : Expired Threads (Auto Close Threads)
Logikos
10 Jun 2005, 13:23
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
http://www.vbulletin.org/forum/images/darkblue/buttons/installed.gif (http://www.vbulletin.org/forum/vborg_miscactions.php?do=installhack&threadid=82827)
Please post bugs and errors here. Hope you like, feedback welcomed!
Marco van Herwaarden
10 Jun 2005, 13:53
Nice one. I noticed your installer don't support TABLE_PREFIX on the ALTER statement for the forum table.
Logikos
10 Jun 2005, 14:01
Fixed. Thanks Marco
sully02
10 Jun 2005, 17:26
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
10 Jun 2005, 20:54
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
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
15 Jun 2005, 19:18
Can I set this for 1 particular forum or does this go for ALL forums?
Logikos
16 Jun 2005, 05:26
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.
Lord Katsuhito
17 Jun 2005, 10:06
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
17 Jun 2005, 10:10
Yes I originally created this hack for vBulletin 3.0.7. Here you go buddy. Expired Threads for vBulletin Version 3.0.7 (http://www.vbulletin.org/forum/showthread.php?s=&threadid=70302)
MogKnight
17 Jun 2005, 10:50
where do you set the options for this?
Logikos
17 Jun 2005, 10:56
where do you set the options for this?
Under the forum manager. See Here (http://www.vbulletin.org/forum/attachment.php?attachmentid=26909). The same place where you would edit the forum title.
MogKnight
17 Jun 2005, 11:56
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.
Andreas
26 Jul 2005, 19:39
@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 :)
Logikos
26 Jul 2005, 20:17
Great! Thanks man, going to check out the new release now.
Logikos
27 Jul 2005, 14:25
UPDATED FOR vB 3.5.0 RC1No 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!
Andreas
27 Jul 2005, 14:31
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 :)
Logikos
27 Jul 2005, 14:35
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.
Neal-UK
29 Jul 2005, 04:56
My setting look like this:
My setting look like this:
You need to use Import Products and not upload it as a plug-in. ;)
Neal-UK
29 Jul 2005, 05:03
You need to use Import Products and not upload it as a plug-in. ;)
i did, if i did it the way you said i'd have the functions.php error or whatever it was....
Logikos
29 Jul 2005, 05:51
Same thing happens to me, let me fix. :)
Logikos
29 Jul 2005, 06:07
New UPDATEVersion 1.0.2
There was a small bug in the .xml file that caused some phrases to not to be inserted. This has been fixed.
Current users simply Import the new .xml file by going to Manage Products then click the [Add/Import Product] link. From there you can import the xml file that is included in the zip please click 'yes' to Allow Overwrite. :)
Neal-UK
29 Jul 2005, 14:12
New UPDATE
Version 1.0.2
There was a small bug in the .xml file that caused some phrases to not to be inserted. This has been fixed.
Current users simply Import the new .xml file by going to Manage Products then click the [Add/Import Product] link. From there you can import the xml file that is included in the zip please click 'yes' to Allow Overwrite. :)
excellent, doing it now
EDIT: working well from what i can tell, many thanks
Neal-UK
29 Jul 2005, 14:39
It works, but I have a blank space here:
Neal-UK
01 Aug 2005, 10:23
It works, but I have a blank space here:
** bumpy bump **
SmartGnome
02 Aug 2005, 15:23
Nice hack ........ save's me time. Install is clicked
Only thing is missing text for days till thread expire (see attachment)
@nealparry
Alle other texts are visible at my site.
Logikos
02 Aug 2005, 16:02
I have a fix for this. When I get home i'll posted.
Hmm since he hasn't posted the fix for this yet (my co-admin installed this yesterday and it's still not fixed)
Here is the fix (install first, then do this)
Go to your Admincp -> Languages & Phrase -> Phrase Manager -> Add New Phrase
Phrase Type: Control Panel Global
Product: Expired Threads
Varname: how_many_days_till_expire
Text: How many days til thread is considered expired?
I accidentally set an entire forum acting as a category to expire all threads. When I tried to disable the thread expiration feature, the threads are still closed. Is there a faster way of opening them again?
Biker_GA
15 Aug 2005, 19:02
ACK! I loaded this, set the expiration for 90 days, and every thread on the board was promptly locked.
Logikos
15 Aug 2005, 19:21
ACK! I loaded this, set the expiration for 90 days, and every thread on the board was promptly locked.
Thats impossiable, that code will not allow something like that. I installed this hack for a client 4 days ago and everything is working fine. Only thing I can think of is the physical close threads is interfearing somehow. Try turning that off, and see if anything changes. If so, I will have a deeper look at the code, but it seems it is working fine for me.
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.
I would like something similar. After X days, the quick reply on the thread would be gone and when the user would click on reply, a warning would be shown saying that this is an old thread, do you want to continue. If the user wants to reply, they would click on OK
Biker_GA
18 Aug 2005, 15:46
Yep! I, too, think this would be a great alternative to just closing the thread. :)
Just a quick question, if i set up the expired date in each catagory forum setting, it will affect all the other forums that's under the catagory forum, even if it's set to no in those forums under the catagory?
Logikos
22 Aug 2005, 09:40
Nope, this will only effect the cat where the settin is on. :)
ACK! I loaded this, set the expiration for 90 days, and every thread on the board was promptly locked.
yeah happened to me also
seems if u dont go into each forum and mess with the setting to turn it on it can wreak havoc
it even messed up some threads and added polls or what appeared to be polls but where missing data
took a few hours to clean up the mess manually
trust me, this hack did this - nothing else would have caused this
Logikos
22 Aug 2005, 17:24
I've uploaded a new Zip file for current users. Set overright to yes in the manage products area. I've turned off 'Physicaly Close Threads' to review the code when I get home..
A fantasic addition to this would be that the time limit would reset should the poster of the first post in the thread return to post again. This is precisely what we've planned to handle the resurrection of old threads, but where we want the thread starter to have control over the ultimate end date.
It would also be great if moderators could disable the time limit completely for threads or extend it using existing ajax moderator tools without having to post.
VirtualBurn
30 Aug 2005, 21:41
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)
I've been looking for a hack to close after a specified amount of replies, could this hack be updated with this feature? I have found a lot of request for a hack of this type while looking myself... It would make a lot of people happy :D
This is a great hack and I would love to see it developed.
~vb
ckmarkhsu
05 Sep 2005, 10:02
Nice hack ........ save's me time. Install is clicked
Only thing is missing text for days till thread expire (see attachment)
@nealparry
Alle other texts are visible at my site.
me too, now!!!!!!!!!!!!!!!!!!!!!!!!
how to fix it??????????????
what about an option to Automaticly Close thread after X replyes ?
VirtualBurn
08 Sep 2005, 13:37
This option is good for support threads where only 3 replies are allowed, or where the length of replies has to be restricted. I have seen a lot of request for such an option for closing threads. It would be nice for the actual poster to be able to select how many replies he wishes to have to the post.. or for the attribut to be set to a categorie or group of threads. As soon as the reply limit has been reached the thread will be closed.
ImportPassion
26 Sep 2005, 15:11
Possible to just disable or remove the reply button instead of getting an error. I still need ppl to be able to see the posts, just not reply.
THanks,
D
VirtualBurn
30 Sep 2005, 16:40
*bump*
This option is good for support threads where only 3 replies are allowed, or where the length of replies has to be restricted. I have seen a lot of request for such an option for closing threads. It would be nice for the actual poster to be able to select how many replies he wishes to have to the post.. or for the attribut to be set to a categorie or group of threads. As soon as the reply limit has been reached the thread will be closed.
ozmazdaclub
04 Oct 2005, 02:07
Will this work on 3.5.0 Gold?
Andreas
04 Oct 2005, 02:08
Not tested, but: Yes
Why shouldn't it?
ozmazdaclub
04 Oct 2005, 02:09
Just wondering before i installed it... Thanks Kirby!
ozmazdaclub
04 Oct 2005, 03:48
Will this close anything older than x days no matter if it is active? or only if nothing has been posted in the thread?
Lord Katsuhito
05 Oct 2005, 13:19
Any way to set this up with inactive topics? or is this just a time limit on active topics as well
Aye... I disabled it and it's still there... what's up with that? lol
ConqSoft
04 Nov 2005, 09:08
Just installed on vBulletin 3.5.1.
The phrase beside the input box (for days I assume) is blank in the Forum Manager.
I have a lot of forums. Any queries I can run to automatically turn this on for all, and set it to a number of days?
Thanks!
I have also installed this for 3.5.1 and the edit options are not showing??
Bashy
Hey,
Is this hack actually working?
Is it possible yet to globally set the expire option on all forums or do you still have to do each forum section manually?
Thanks
clearchannel
13 Dec 2005, 01:02
Is there a way to also expire stickies? In hind site, I suppose I should have closed them. I would like to see the ability to also close stickies.
Thanks
seems not workin on 3.5.2
thread post ( 1st post ) will be nulled
Freak0204
26 Dec 2005, 11:55
Don't have the option to set the days. Tried adding the phrase but still no good. I'm running 3.5.2.
is this hack really supported ?:)
This does not seem to work in 3.5.3 :(
Chris
PamelaE
21 Jan 2006, 10:33
Does this allow the person to still view the thread but not reply ?
jgrakowski
23 Jan 2006, 01:46
can this be made so that the time limit starts after the last post? like each new post resets the time? so if a topic gets old it cant be bumped because it is locked after a certain time with no posts?
Talking Poker
03 Feb 2006, 22:06
I'd like to install this, but the last number of posts lead me to believe this doesn't work for releases > 3.5.0. Can anyone confirm or deny this?
thebassman
05 Feb 2006, 00:01
I'm waiting for this to be updated before I try it...
EricaJoy
07 Feb 2006, 14:54
I'd like to install this but would first like to know if it works on anything after 3.5.0.
dsotmoon
07 Feb 2006, 19:00
can this be made so that the time limit starts after the last post? like each new post resets the time? so if a topic gets old it cant be bumped because it is locked after a certain time with no posts?
this is exactly what i'm looking for too
Mikecp421
20 Feb 2006, 01:37
thanks very helpful
slamdog
03 Mar 2006, 13:33
I'm also looking for this in v3.5.4 form....
VirtualBurn
04 Mar 2006, 15:14
*bump* close after x replies for 3.5.3/4 would be great...
Mokster
11 Mar 2006, 20:30
does this plugin still let users see the thread after it's "expired"?
Exitilus
27 Mar 2006, 23:45
This does work w/ 3.5.4
Atleast works for me :)
This is a great idea, but it would be nice if there was a way to turn it on for all forums without having to go through each forum and selecting the options manually.
Maybe have an option in the vb options to turn on or off, and set X days by default unless specified otherwise in the forum options.
*bump* close after x replies for 3.5.3/4 would be great...
That would be great.
mefromspace
12 Apr 2006, 17:19
Could anyone take over this abandond hack so we can get answeres to all the relevant questions posted the last few months?
ryancooper
05 May 2006, 19:31
works like a charm! thanks
ryancooper
05 May 2006, 19:36
Any chance of getting the close thread part to work?
Bowromir
08 May 2006, 14:49
Any news ?
vBulletin® v3.6.12, Copyright ©2000-2013, Jelsoft Enterprises Ltd.