![]() |
Quote:
is there any reason for not having this functionality in this hack? i did install BTW. :up: |
No, I never knew that. I'm aweful busy right now or I could do that, but I'm affraid I can't do it as of right now.
|
It's possible to edit the reason without open and reclose the thread ?
|
Via the database. It is not possible as of now.
|
Ok, thanks
|
any chance at an updated version that will also list who closed the thread.
|
Post in this thread in about a week and I'll try to get that done.
|
alright thanks...be Cool if it Said Thread Closed By:
|
Bumping thread like u asked you said you would add the thread closed by info to the hack in a small update
|
I'll package everything up and send out an update tomorrow but since you've been waiting here it is:
Note this only applies when this is already installed! Replace showthread_reason with this: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px"> Code:
ALTER TABLE thread ADD `who` VARCHAR(50) NOT NULL; Code:
$DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET open = $threadinfo[open], reason = '" . addslashes($_POST[reason]) . "' WHERE threadid = $threadid"); Code:
$DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET open = $threadinfo[open], reason = '" . addslashes($_POST[reason]) . "', who = '" . addslashes($bbuserinfo[username]) . "' WHERE threadid = $threadid"); Let me know how it works! :up: :) |
All times are GMT. The time now is 12:47 PM. |
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:
|