2013-07-02, 06:15 PM
2013-07-02, 06:25 PM
If you have Template Conditionals http://mybbhacks.zingaburga.com/showthread.php?tid=464 installed, wrap your buttons code with this:
EDIT: Modified code for your needs:
<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:37 PM
(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