View Full Version : ZH - Auto Lock Thread
This modification was brought to you by
KXDesign
http://www.kxdesign.com/
~Modification name
Auto Lock Thread
~Modification description
Locks an old thread after X amount of days.
~Modification options
Turn on/off
Choose thread id's
Choose amount of days
~Modification info
File uploads: 0
Template edits: 0
File edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 7
Settings: 3
Install time: 3 sec
Install level: Easy
~Modification installation
Step 1: Import Product
~Modification screenshots
None
~Modification copyright
This may not be distributed,released or claimed as your work without author's permission.
Do you have any plans to expand this hack?
It would be really useful to me if I could lock a thread after x days of inactivity.
Amenadiel
19 Dec 2007, 23:03
Do you have any plans to expand this hack?
It would be really useful to me if I could lock a thread after x days of inactivity.
That's easy, you should edit the xml before importing and on line 25, where it says:
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
replace it with
Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------
I haven't seen vb_thread table structure for vb3.7, but I'm pretty sure "lastpost" field is still there. ;)
Cyrus [Hwluxx]
25 Dec 2007, 15:10
Any Suggestions if you expand this Hack to close Threads after xxx Posts ?
stwilson
26 Jan 2008, 20:33
Can you apply this MOD to specific forums or is it thread specific?
This mod is not very user friendly if we have to enter each threads ID individually. I recall a version where you entered the forum ID, or something like that, and it would close every thread that was "x" amount of days old. Is this one also going to have that added functionality or is this the end product? (I ask because i need to know if I need to figure it out on my own. lol)
I always enjoy a nice automated add-on like this. Thanks for taking the time and sharing it with us, this is a great start. I like some of the ideas I'm reading, may I also suggest this mod be able to move threads. I used to have a mod like this auto lock then move the locked thread to a sub-forum archive. It really made life easy and kept things clean. Thanks again.
majordork82
13 Feb 2008, 01:55
;1408871']Any Suggestions if you expand this Hack to close Threads after xxx Posts ?
I've noticed a LOT of people asking for this, and I am looking for it as well. Can you modify this hack to do that?
Could you get this work so that a thread is closed after x amount of posts and a new one created with the same title? And works per-forum basis?
Regards Jason
Can you add a function for do this in ALL forums and after X days since the last posting?
DiesellMinded
06 May 2008, 04:37
I added this to my support forum and it didnt close the threads
http://www.dieselbombers.com/diesel-distress-support-ticket/
Is this for Forum Id's ??
DiesellMinded
08 May 2008, 21:41
Any Ideas?
mgurain
21 May 2008, 06:53
Hi,
Could you add options like:
- include forum ids:
- exclude forum ids:
thanks,,
libabom
20 Aug 2008, 10:34
close Threads after xxx Posts ?
A new fixed version is available here: http://www.kxdesign.com/vb-3-7-add-ons/78-kx-auto-lock-thread.html
This now includes multiple thread options!
Desesperao
21 Oct 2008, 13:37
Sorry but I've dowloaded the hack of this link:
http://www.kxdesign.com/vb-3-7-add-o...ck-thread.html
... and it's the same as here.
Desesperao
21 Oct 2008, 21:53
Close Threads after xxx DAYS ?
Is it possible?
Would be great if "Locks threads after X amount of posts" and open a new one with the same author, same title (with a [1] at the beginning. eg. "[1] My Title").. and a link to the old closed one.
You are a coder,I am sure you can add that feature ;)
Ever wanted to do, never succeeded becouse I'm not a *good* coder. I still need to learn correctly HTML, LOL.
That code would be purely PHP ;)
Desesperao
27 Oct 2008, 23:39
Sorry, Ziki
What I was searching is this:
http://www.vbulletin.org/forum/showthread.php?t=148117
Thank's for your great effort. ;)
vBulletin® v3.6.12, Copyright ©2000-2009, Jelsoft Enterprises Ltd.