Quote:
05-20-03 at 08:00 PM Courage said this in Post #173
i'm using 2.3.0
I managed to make this work 
Download the instructions, but you will get in trouble in postings.php
so:
in postings.php
find:
PHP Code:
if ($HTTP_POST_VARS['action'] == 'openclosethread' OR ($action == 'openclosethread' AND $s == $session['dbsessionhash'])) {
Replace with:
PHP Code:
if ($HTTP_POST_VARS['action'] == 'openclosethread' OR ($action == 'openclosethread' AND $s == $session['dbsessionhash'] && $reasonentered!=1)) {
Modifying the SHOWTHREAD Template
Find:
Code:
<!-- End content area table (CREATED IN HEADER!!) -->
</td>
</tr>
</table>
After that, ADD:
Code:
<br>
$closereason
<br>
|
tried both of these, but the reason doesnt show up in the thread.
I can add the reason, click the button, the thread is closed, but the reason it's closed doesnt show up