MyBB Community Forums

Full Version: Thread title in all replies and OP?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im working on an MyBB theme and I have a small problem with it. When somone posts a thread, for some reason the thread title appears in {$post['message']}... So on every reply, the title of the tread is in the message. Whats happened? How can I get rid of it?
Heres my post bit:
<div class="thread-op" style="margin-top:20px">

<div class="post-info">
<div class="p-avatar" style="margin-top:15px;">{$post['useravatar']}</div>
<div class="p-user">{$post['profilelink']}</div>
<div class="p-uinfo">{$post['user_details']}</div>
</div>

<div class="p-information"><label style="color: rgb(83, 83, 83);
font-size: 19px;
font-weight: 500;">{$post['subject']}</label></div>

<div id="content">
<p>{$post['message']}</p>
{$post['button_quote']}
</div>
</div>

Heres a photo describing my issue:
[Image: 2OnOv3J.png]
you can remove below code segment
<div class="p-information"><label style="color: rgb(83, 83, 83); font-size: 19px; font-weight: 500;">{$post['subject']}</label></div>
Doing that yields these results:
[Image: cPuuue4.png]
It seems that the title is in message... Any ideas?
This is the code where it shows up (under inspect element)

<div id="content">
<p>					<strong>Hello world!</strong><br><br>hello</p><div id="bounty">Bounty: 0</div><p></p>
<!-- start: postbit_quote -->
<a href="newreply.php?tid=27&amp;replyto=42"><img src="images/english/postbit_quote.gif" alt="Quote this message in a reply" title="Quote this message in a reply"></a>
<!-- end: postbit_quote -->
</div>