Log in

View Full Version : Expired Threads (Auto Close Threads)


Logikos
06-09-2005, 10:00 PM
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
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=82827)

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
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
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
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 (https://vborg.vbsupport.ru/showthread.php?s=&threadid=70302)

MogKnight
06-17-2005, 09:50 AM
where do you set the options for this?

Logikos
06-17-2005, 09:56 AM
where do you set the options for this?

Under the forum manager. See Here (https://vborg.vbsupport.ru/attachment.php?attachmentid=26909). The same place where you would edit the forum title.

MogKnight
06-17-2005, 10:56 AM
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
07-26-2005, 06:39 PM
@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
07-26-2005, 07:17 PM
Great! Thanks man, going to check out the new release now.

Logikos
07-27-2005, 01:25 PM
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
07-27-2005, 01:31 PM
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
07-27-2005, 01:35 PM
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
07-29-2005, 03:56 AM
My setting look like this:

Boofo
07-29-2005, 04:00 AM
My setting look like this:

You need to use Import Products and not upload it as a plug-in. ;)

Neal-UK
07-29-2005, 04:03 AM
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
07-29-2005, 04:51 AM
Same thing happens to me, let me fix. :)

Logikos
07-29-2005, 05:07 AM
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
07-29-2005, 01:12 PM
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
07-29-2005, 01:39 PM
It works, but I have a blank space here:

Neal-UK
08-01-2005, 09:23 AM
It works, but I have a blank space here:

** bumpy bump **

SmartGnome
08-02-2005, 02:23 PM
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
08-02-2005, 03:02 PM
I have a fix for this. When I get home i'll posted.

Cyricx
08-10-2005, 04:04 PM
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?

pran
08-15-2005, 09:08 AM
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
08-15-2005, 06:02 PM
ACK! I loaded this, set the expiration for 90 days, and every thread on the board was promptly locked.

Logikos
08-15-2005, 06:21 PM
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.

0ptima
08-16-2005, 03:40 AM
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
08-18-2005, 02:46 PM
Yep! I, too, think this would be a great alternative to just closing the thread. :)

RoryF
08-22-2005, 07:14 AM
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
08-22-2005, 08:40 AM
Nope, this will only effect the cat where the settin is on. :)

Jenta
08-22-2005, 08:52 AM
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
08-22-2005, 04:24 PM
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..

Paul
08-30-2005, 02:59 AM
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
08-30-2005, 08:41 PM
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
09-05-2005, 09:02 AM
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??????????????

PET
09-08-2005, 03:57 AM
what about an option to Automaticly Close thread after X replyes ?

VirtualBurn
09-08-2005, 12:37 PM
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
09-26-2005, 02:11 PM
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
09-30-2005, 03:40 PM
*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
10-04-2005, 01:07 AM
Will this work on 3.5.0 Gold?

Andreas
10-04-2005, 01:08 AM
Not tested, but: Yes
Why shouldn't it?

ozmazdaclub
10-04-2005, 01:09 AM
Just wondering before i installed it... Thanks Kirby!

ozmazdaclub
10-04-2005, 02:48 AM
Will this close anything older than x days no matter if it is active? or only if nothing has been posted in the thread?

Sinistra
10-05-2005, 12:19 PM
Any way to set this up with inactive topics? or is this just a time limit on active topics as well

Daniel
10-12-2005, 12:26 AM
Nevermind, works now.

Daniel
10-12-2005, 12:45 AM
Aye... I disabled it and it's still there... what's up with that? lol

ConqSoft
11-04-2005, 08:08 AM
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!

bashy
12-02-2005, 07:59 PM
I have also installed this for 3.5.1 and the edit options are not showing??

Bashy

hanna
12-05-2005, 02:52 PM
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
12-13-2005, 12:02 AM
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

IrPr
12-20-2005, 08:30 PM
seems not workin on 3.5.2

thread post ( 1st post ) will be nulled

Freak0204
12-26-2005, 10:55 AM
Don't have the option to set the days. Tried adding the phrase but still no good. I'm running 3.5.2.

IrPr
01-16-2006, 07:59 PM
is this hack really supported ?:)

nsusa
01-21-2006, 01:38 AM
This does not seem to work in 3.5.3 :(

Chris

PamelaE
01-21-2006, 09:33 AM
Does this allow the person to still view the thread but not reply ?

jgrakowski
01-23-2006, 12:46 AM
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
02-03-2006, 09:06 PM
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
02-04-2006, 11:01 PM
I'm waiting for this to be updated before I try it...

EricaJoy
02-07-2006, 01:54 PM
I'd like to install this but would first like to know if it works on anything after 3.5.0.

dsotmoon
02-07-2006, 06:00 PM
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
02-20-2006, 12:37 AM
thanks very helpful

slamdog
03-03-2006, 12:33 PM
I'm also looking for this in v3.5.4 form....

VirtualBurn
03-04-2006, 02:14 PM
*bump* close after x replies for 3.5.3/4 would be great...

Mokster
03-11-2006, 07:30 PM
does this plugin still let users see the thread after it's "expired"?

Exitilus
03-27-2006, 10:45 PM
This does work w/ 3.5.4

Atleast works for me :)

Snake
03-28-2006, 12:08 PM
Nice one man.

007
03-31-2006, 10:14 PM
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.

EdQ
04-01-2006, 12:56 AM
*bump* close after x replies for 3.5.3/4 would be great...

That would be great.

mefromspace
04-12-2006, 04:19 PM
Could anyone take over this abandond hack so we can get answeres to all the relevant questions posted the last few months?

ryancooper
05-05-2006, 06:31 PM
works like a charm! thanks

ryancooper
05-05-2006, 06:36 PM
Any chance of getting the close thread part to work?

Bowromir
05-08-2006, 01:49 PM
Any news ?

TYorke
05-20-2006, 07:53 AM
Seems to work in 3.5.4