![]() |
Reason for Closing Thread
This hack is my first released free hack.
It runs no extra queries so it should not make any load times longer. How it works: Once you click on Close thread in the Thread Tools menu, it will pop up with a javascript alert asking for the reason you are closing. You may click cancel or ok. If you inputted something into the box it will save it and appear at the top right above the first post. Modifications: 1 Table Modification 3 File Modifications 5 Template Modifications 1 Template Addition Please click install if you install this hack. www.hackvb.com - For your custom hacks! *Note: This was only tested on vb 3.0.3. I have not tested it on any other versions and theoretically it should work, but I'm not sure. |
Interesting hack. ;) You need to fix the instructions file for the following, though.
FIND: ------------------- <!-- / toolbar --> ------------------- BELOW IT ADD: ------------------- $reaons ------------------- Shouldn't that be $reason? * Boofo clicks the install button. ;) |
Should be fixed now... Let me know if you have any troubles. I'd like to know if everything goes smoothly.
|
thanks WhSox21
Great work :) i'm clicked install it but i have error whene i save modification of SHOWTHREAD template : The following error occurred when attempting to evaluate this template: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in ***/***/includes/adminfunctions_template.php(3055) : eval()'d code on line 131 This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish. |
I forgot the biggest part of the hack. I reuploaded the instructions!
Working on that for you. I have no idea why it gave you that error. It didn't give me that error. |
I see the problem. Where it says:
Code:
<if condition="$show['closethread']"> I fixed that now. I also updated the install file. |
work fine .. thanks alot :)
|
does it work for quick reply closin?
|
What do you mean exactly? As of now it only works when you use the thread tools menu.
|
back :)
Whene i not write reason it show : Reason thread was closed: null can you cancel show all table of reason if not reason? OR can i put default reason ? |
All times are GMT. The time now is 12:04 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:
|