![]() |
Close/open thread via quick reply
I wanted to easily be able to close and open a thread after I posted via the quick reply. You can do this via the full reply page and via the dropdown at the top of the page, but not via the quick reply box. So, I wrote a little template modification to allow me to do so.
However, because this mod is only intended for moderators and admins, I left this mod simple and didn't go to the large trouble of making it change the "Reply" button to a "Closed" button or changing the checkbox text. You'll have to refresh the page in order to see those update. See attached screenshot for an example. To add this new feature, you'll need to edit the "SHOWTHREAD" template (it can be found in the "Show Thread Templates" group). Find this text, about a 1/3 of the way down: HTML Code:
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label> After all of that, add all of this: HTML Code:
<if condition="$show['openclose']"> |
subscribed! will install when i come home
|
very nice.. installed
|
can somebody modify that to the moderate option?
it would be nice if admins & mods can post replies which are set to moderate, so only admins & mods can read it |
Thanks....
|
Nice, can you add Stick/Unstick Thread?
|
thanx guy ;)
|
If you make a multilanguage support with phrases,this will be very good.
Cheers |
This template hack has been updated: https://vborg.vbsupport.ru/showthread.php?t=180239
|
All times are GMT. The time now is 01:03 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:
|