![]() |
This very simple hack will show a checkbox in the options area (with show signature, email notification, etc.) of the Reply
to Topic screen that allows you to close the thread at the same time as posting your reply to the thread. The checkbox will only show to those that have permission to close the thread. Tested by me on 2.2.1. Compatibility with earlier versions is likely but not proven. This hack was requested by Freestyler here. EDIT: This hack has been updated; the attachment is now in Post #9. |
Great. Installing right now.
|
Thankyou JJR512!
I'll get our 'vB guy' (Apollo) to install it as soon as he's got time, and we'll let you know how it goes! |
Great little hack, thanks
|
Very useful indeed. I'm adding this hack when I transfer my forums to my new site. Thanks for a simple, yet every effective hack! :)
|
A well overdue hack, good work fella :)
|
Thx!! Works great :)
Greetz, Mystics |
Installed here, nice hack. :)
One thing though, to make sure users can't manipulate forms and close a thread, you should replace: Code:
if ($closethread=="yes") { Code:
if ($closethread=="yes"[high] and $permissions['canopenclose']==1[/high]) { |
Good idea, FireFly! :) I've added that into the instructions.
The new instructions are attached to this post. EDIT: This hack has been updated, and the instructions are now attached to Post #14 below. |
Security is always a good idea. :)
|
All times are GMT. The time now is 12:35 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:
|