vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Disable reply on thread if last reply is older than X (https://vborg.vbsupport.ru/showthread.php?t=83276)

Frenck 06-16-2005 10:00 PM

Disable reply on thread if last reply is older than X
 
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

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

Quote:

Originally Posted by Freezerator
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

Quote:

Originally Posted by Freezerator
Can this be made that instead of not replying, a user sees a warning, but still can reply?

*Shameless Ad* ;)
Prevent bumping old Threads

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?


All times are GMT. The time now is 02:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01106 seconds
  • Memory Usage 1,742KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (18)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete