![]() |
you should be able to use $thread[closereason] in your forumdisplaybit templates...
|
Tryed that did not work
PHP Code:
|
Quote:
|
sorry c.birch my fault, you have to edit forumdisplay.php
find this PHP Code:
add ,closereason ziru$: well i can't give full support on add-on i posted i the thread because some wanted as long as i don't test them myself how the work... i've planned to update the hack but i don't have much time these days... |
Zirus: I have this installed on 2.2.8, the instructions that Xenon posted a page back or so, they work fine. I closed a thread. It showed the reason and who did it. I opened it. I closed it, deleted the full reason already there, put in something else and it still showed who closed it.
|
I've found a problem, when I close a thread, give a reason, then open it and then I go to newreply.php [I have a hack so that there's a checkbox to close thread upon newreply and newthread], when I close the thread in that way, the thread is closed but the reason comes up again! [it shouldn't, as I haven't given a reason!] and it uses the same username as the person who gave that reason when it was closed first...
|
Tha Rock, that's a problem with your quickclose hack.
i don't know it exactly, but somewhere in newreply you'll find something similar like this: Code:
$DB_site->query("UPDATE thread SET open=0..... Code:
$DB_site->query("UPDATE thread SET open=0,closereason=''..... |
the screen shots dont work.
|
Xenon: I can't find anything like that in newreply.php...I can't even find open=0...
|
well i don't know the hack, so i can't help you out then, you should ask in the supportthread of that hack...
normally such a line has to be in it, because that would be the query to close a thread.. |
All times are GMT. The time now is 10:27 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:
|