PDA

View Full Version : New Posting Features - Threads Auto Close


Vitaly
05-26-2010, 10:00 PM
Description

This addons automatically close threads after defined priod of time. Useful, if you wish to prohibit bumping of very old threads. It doesn't affect your database - you can change lock period or uninstall product anytime, and forum state will be updated.

This mod is developped here: http://github.com/rcdesign/vb-threads_auto_close . Patches are welcome.

Installation
Import XML file
Go to ACP, and set desired time for autolock.history

0.3
- added options to enable/disable mod for selected subforums

Kolbi
05-27-2010, 01:58 PM
So after uninstallting they closed threads by this tool aren´t closed anymore?

So this doesn´t influence the real database?

Vitaly
05-27-2010, 02:03 PM
Yes. It works at permission level, via hooks.

Arcade Fire
05-27-2010, 02:31 PM
Nice,

Can you make a option to close thread after a certain amount of post?

thanks Vitaly

djbaxter
05-27-2010, 02:52 PM
Does this work on a forum by forum basis? i.e., can it be applied only to designated forums or can certain forums be exempted?

Vitaly
05-27-2010, 02:55 PM
Can you make a option to close thread after a certain amount of post?

Sorry, no plans to add new features, until finish convertion of all my vb3 mods, and finish migration to vb4.

Vitaly
05-27-2010, 02:55 PM
Does this work on a forum by forum basis?

This realisation is global for all forum.

iask
05-27-2010, 03:19 PM
nice :)

Videx
06-04-2010, 11:12 PM
Nice. Also closed existing threads.

karlm
06-06-2010, 01:47 AM
excellent idea! tagged.

tbl33
07-01-2010, 01:35 AM
Being able to target forums or sections to apply it to would be an outstanding addition to this.
Currently running Ver 4.0.4

Iron Star
07-02-2010, 12:06 PM
installed and nominated! thanks

Gero50
07-05-2010, 12:47 AM
Installed and nominated. Great work this is going to be a big help

CvP
09-05-2010, 12:35 AM
need it to work only on certain forums T_T

Dr.osamA
09-05-2010, 09:59 PM
installed + 5 stars

thanxxx

nike.stars
09-29-2010, 08:11 AM
this mod just need 1 additional feature to be perfect.

close topic based on total X reply

Videx
09-29-2010, 02:02 PM
this mod just need 1 additional feature to be perfect.

close topic based on total X replyWhy? If a topic is that popular it seems you should be featuring it, not closing it automatically. Of course, if a long topic starts to drift or get confrontational, it should be closed for those reasons, but then I would expect the moderator to post a reason for the closure.

foxygti6
09-29-2010, 03:05 PM
need it to work only on certain forums T_T

This mod would be perfect if you could choose the forum sections in which its active. ie for sale sections on busy forums.

nike.stars
09-30-2010, 09:29 AM
Why? If a topic is that popular it seems you should be featuring it, not closing it automatically. Of course, if a long topic starts to drift or get confrontational, it should be closed for those reasons, but then I would expect the moderator to post a reason for the closure.

simple reason = performance

have you ever had thread with 20.000 replies and only found out server is overloaded just by this kind of thread?

Vitaly
09-30-2010, 09:34 AM
I have somerthing similar. IMHO, that's a point of moderator to cut such threads by volumes - autoclose will confuses users.

nike.stars
10-01-2010, 01:37 PM
I have somerthing similar. IMHO, that's a point of moderator to cut such threads by volumes - autoclose will confuses users.

well, i've seen private mod with similar function but with extended feature to auto-close a topic after certain number of posts and then make a new topic likely named "xxx Part 2" so the discussions can still continued. probably you've thinking a mod like this?

tech4c
10-01-2010, 03:29 PM
Good Job

steve71
10-11-2010, 03:54 PM
This mod would be perfect if you could choose the forum sections in which its active. ie for sale sections on busy forums.

I second that..on hold until the option to choose specific forums is available.

Vitaly
10-22-2010, 10:20 AM
Added options to enable/disable mod for selected subforums (don't use both in the same time)

Markos
10-24-2010, 02:04 PM
i would like it to work in only certain sections of the forum say the classifieds so I'm going to take this till i see its been updated so it does that

Kraxell
11-07-2010, 05:08 PM
possibel to use it as thread auto-delete?

Regards

MrBlackStar
11-10-2010, 10:53 AM
Nice , tag :D
________
INFANT NEXIUM (http://www.classactionsettlements.org/lawsuit/nexium/)

mgurain
11-17-2010, 01:56 PM
This mod would be perfect if you could choose the forum sections in which its active. ie for sale sections on busy forums.

Totally agree with this feature request,
meaning for each forum section (enable/disable) & (period) ?
can we have it ?
Thanks,,

Vitaly
11-17-2010, 02:03 PM
<a href="https://vborg.vbsupport.ru/showpost.php?p=2112684&postcount=24" target="_blank">https://vborg.vbsupport.ru/showp...4&postcount=24</a>

aileron79
12-20-2010, 01:18 PM
I would like to announce that I have modified this mod in such a way that it affects only certain user groups. Thus, for instance, one year old threads appear as closed to new members while senior members still may reply. Thanks to Vitaly for his permission.

https://vborg.vbsupport.ru/showthread.php?p=2136812

mgurain
01-11-2011, 05:25 PM
Added options to enable/disable mod for selected subforums (don't use both in the same time)

Could you please put screen shot of the setting, and where could we find it ?

Thanks,,

SEW810
01-14-2011, 02:21 PM
Could you please put screen shot of the setting, and where could we find it ?

Thanks,,

Here you go :)
Goto AdminCP->Settings->Threads Auto Close

http://www.seusers.com/vbulletinreports/auto_close_screenshoot.jpg

stator
02-23-2011, 01:55 PM
Can you please guide me how to change time unit to be hours not days

is to modify of: options['tac_time_line'] * 60*60*24 : 0);

to: options['tac_time_line'] * 60*60 : 0);

Vitaly
02-23-2011, 07:35 PM
Yes

stator
02-24-2011, 05:05 AM
thanks Vitaly very much
please, can you make a guide to how to make a vBulletin plugin?
as I have many good ideas, but I don't have the fingers to do them ;)

Rebecca217
04-27-2011, 06:22 PM
Works great! Thank you! :)

kingMOB
06-13-2011, 02:45 PM
Hi Vitaly,

thanks for the plugin =)

Is there a way to use the $tac_timeline var from the plugin in a conditional? I'm trying to print something only in old threads, something like <vb:if condition = "$thread['lastpostdate'] > 1095 days> or <vb:if condition = "$thread['creationdate'] > 1095 days> but I'm not finding the right conditionals. So I was thinking if the $tac_timeline could be used in this purpose.

elrafei
06-28-2011, 07:48 PM
thanks

radiofranky
06-28-2011, 09:00 PM
if this mod can be used during TOPIC creation would be even nicer.

for example, topic for a coupon deal, it would be nice to have the topic auto close when coupon deal expires.

cheers

Videx
08-06-2011, 10:20 AM
Has anyone else noticed closed threads reopening themselves? We have one that's done it twice now in as many days. I don't see anything about it at vb.com so I'm not sure what else to try short of uninstalling this mod and seeing what happens.

Videx
08-08-2011, 06:46 PM
The thread in question just opened itself again, so I think this mod is cleared. Odd though that all my old threads are still closed - from the instructions I thought it said they would all reopen when the mod was uninstalled.

Dez_U
10-06-2011, 06:27 AM
works great, thanks

Videx
10-31-2011, 06:16 PM
We just tried to reopen an old closed thread and couldn't until I disabled this mod.

ndut
11-01-2011, 10:20 AM
tagged.... nice mod

alexkohler
11-06-2011, 02:16 PM
Exactely what I was searching for and even without DB-changes.

Thanks a lot :)

datoneer
12-16-2011, 11:24 AM
Does this works on 4.1.8?

Zonni
12-17-2011, 11:17 PM
Does this works on 4.1.8?

works good on 4.1.9 :)

Zarhym
07-05-2012, 04:33 PM
Does this work on 4.2?

nicklfire
07-17-2012, 08:04 PM
What's the chance to have it auto move to specific forum once they close (archive forum) , great mod overall, seems to work for 4.2

cgar
04-10-2013, 06:43 AM
Do threads still countdown to close in 30days regardless of the thread being bumped?..

Gripi
05-27-2013, 04:10 AM
installed.. thanks alot

boggseric
08-27-2013, 10:50 PM
Nice and simple.

Works fine on 4.2.1

Skivey
11-09-2013, 10:01 PM
4.2.2 works flawlessly.

Thanks

tranceup
03-07-2017, 04:48 AM
There is something similar for vb5?

oldfan
03-31-2023, 04:21 PM
looks like it works with 4.2.5.thanks