PDA

View Full Version : Disable reply on thread if last reply is older than X


Frenck
06-16-2005, 10:00 PM
With this plugin you can disable the ability to reply on a thread that already has some dust on top.

For example, if you set this plugin to 14 days, than 14 days after the last reply it would be impossible to add a new reply to the thread.

There is one exception! You can specify usergroups that aren't restricted by this plugin.


Installation

- Go to the 'Phrase Manager' in your ACP and create a new phrase.

Type: Error Messages
Varname: thread_replytime_expired
Text: Sorry, this thread has expired, you cannot reply to this thread anymore.

- Download the plugin and upload it into your ACP.
- Go to the 'Plugin Manager' in your ACP and edit this plugin
- Directly in top of the code you wil find a couple of settings you can do.



It's a very small and simple plugin, but I found it usefull enough to share it with you :)

Marco van Herwaarden
06-17-2005, 12:23 PM
Thank you for sharing this Frenck.

Could you please upload it as a zip-file as requested here: Hacks should be released in ONE ZIP file please (https://vborg.vbsupport.ru/showthread.php?t=83252)

Frenck
06-17-2005, 12:26 PM
Ow ok, sorry for that.

Done :)

Marco van Herwaarden
06-17-2005, 12:49 PM
Thanks for re-uploading.

mholtum
06-17-2005, 01:17 PM
nice work
/me installs

TCattitude
06-17-2005, 08:01 PM
What a nice hack :)

ImportPassion
06-17-2005, 10:35 PM
man, i want this for 3.07

yinyang
06-18-2005, 05:36 AM
so, in effect, it is like closing the thread after 14 days... right?

mholtum
06-18-2005, 06:01 AM
That is correct

Freezerator
06-19-2005, 07:04 AM
Can this be made that instead of not replying, a user sees a warning, but still can reply?

0ptima
08-14-2005, 12:12 AM
Can this be made that instead of not replying, a user sees a warning, but still can reply?

This would be a good idea.

Rebecca217
10-08-2005, 04:36 PM
Nice! Thanks for releasing this! :D *clicks install*

Dave-ahfb
10-10-2005, 09:12 PM
I would love to see this hack merged with the thread "fork" hack. If a thread is a certain age have the reply button open a *new* "fork" thread.

Just an idea ;)

Dave

Andreas
10-10-2005, 09:17 PM
Can this be made that instead of not replying, a user sees a warning, but still can reply?
*Shameless Ad* ;)
Prevent bumping old Threads (https://vborg.vbsupport.ru/showthread.php?t=96850)

Haakon
10-21-2005, 09:11 AM
Could I request that you make it so that the quickreply box won`t show up when it has expired? If a member should write up a good deal there, and then finds out it was a waste of time, he/she would complain. I can figure it out probably, but I thought all others should have this change too.....?

maaref
10-29-2005, 12:01 PM
Thanks Frenck

Could it be excellent if I can restrict specific forum too.
is it possible?

lazyseller
12-27-2005, 03:21 PM
How would i set this to only certain forums ?

Eagle Creek
01-02-2006, 02:57 PM
Are mods allowed to post?