![]() |
Mini-Hack: Quick Reply does not show in Closed Thread even for Moderators
Quick Reply does not show in Closed Thread even to Mods (Mini-Hack)
I found it annoying that even though staff close threads, the Quick Reply still shows up for staff because staff can always reply to closed threads. This caused staff to keep posting because some staff miss the fact that the thread is closed. This is a mini-hack to make the Quick Reply not show up for everyone when a thread is closed. Staff can still reply by clicking on the "Closed" button. A quick mod to showthread.php: Find: PHP Code:
PHP Code:
Remember, when changing code WITHIN a query, don't add comments around the change. That would cause a parse error. ;) |
this certainly is a mini hack nice work mate shud come in handy
|
I second that, will definitely come in handy.
|
Very nice.. I did this with an if statement, but you way makes much more sense.
|
This Hack could win be the smallest-Hack award. :D
But the use is much bigger. Thanks. |
you can do this without hacking.
in showthread template find: Code:
$quickreply Code:
<if condition="$thread['open']">$quickreply</if> |
Quote:
Thanks for the hack. Sebastian, I would like to thank you as well. Template modification is easier :) |
anyway to make it show for admins and mods
|
Quote:
|
nice :) thanks
|
All times are GMT. The time now is 02:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|