MyBB Hacks

Full Version: Closed Thread Reason
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Could you post the Display Format and the template codes here?
Display Format:

Code:
<if $thread['closed'] == 1 then>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
          <tr>
             <td><strong>Closed Thread Reason:</strong>  <div style="color: red;"><em>{VALUE}</em></div></td>
          </tr>
</table>
</if>


Template Code:

Code:
        {$header}
	{$pollbox}
        {$GLOBALS['threadfields']['ctr']}
	<div class="float_left">

Could you post the screenshot? Or maybe an URL?
That's caused by your theme's tborder class.
Try this in your Display Format:

Code:
<if $thread['closed'] == 1 then>
<table border="0" cellspacing="{$GLOBALS['theme']['borderwidth']}" cellpadding="{$GLOBALS['theme']['tablespace']}" class="tborder">
	<tr><td class="thead"><strong>Closed Thread Reason</strong></td></tr>
	<tr><td class="tcat"><div style="color: red;"><em>{VALUE}</em></div></td></tr>
</table>
<br class="clear" />
</if>

That did the trick. Thanks! (why can't I rep D:?)
Glad you can solve the problem Smile
Hey guys, having a bit of a problem here. I have everything configured but I don't see a place to put a comment when closing a thread. But after I close a thread the default "not specified" is showing in the thread view.

I have it set for all forums for now and permissions are for admin, supermod and mod
Can you help me?
You need to full edit the thread to put the reason.
I tried that but there is no extra text box for a comment that comes up, just the full edit "your message" box.
Pages: 1 2 3
Reference URL's