MyBB Community Forums

Full Version: PostBit showing in private message
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Please help for some reason I see share buttons that I have added to postbit in private messages how to eliminate that.
If you have Template Conditionals http://mybbhacks.zingaburga.com/showthread.php?tid=464 installed, wrap your buttons code with this:
<if THIS_SCRIPT != "private.php" then>
buttons code instead of this text
</if>

EDIT: Modified code for your needs:
<if $post['pid'] == $thread['firstpost'] && THIS_SCRIPT != "private.php" then>
buttons code
</if>
(2013-07-02, 06:25 PM)Destroy666 Wrote: [ -> ]If you have Template Conditionals http://mybbhacks.zingaburga.com/showthread.php?tid=464 installed, wrap your buttons code with this:
<if THIS_SCRIPT != "private.php" then>
buttons code instead of this text
</if>

EDIT: Modified code for your needs:
<if $post['pid'] == $thread['firstpost'] && THIS_SCRIPT != "private.php" then>
buttons code
</if>

OMG! It works bro thanks very much +1 from me for awesome help