Quote:
Originally Posted by Hippy
not test so you will have to
try this first
Code:
<div <vb:if condition="!$post_thanks_box == 1"> style="background-color: #f2f6f8; border: 1px ridge #417394; border-width: 1px 1px 1px 1px; padding: 2px; width:92%; margin:
0px auto 0px auto; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-top:10px; margin-bottom:0px;display:none" <vb:else />
style="background-color: #f2f6f8; border: 1px ridge #417394; border-width: 1px 1px 1px 1px; padding: 2px; width:92%; margin: 0px auto 0px auto; -webkit-border-radius: 5px; -
moz-border-radius: 5px; border-radius: 5px; margin-top:10px; margin-bottom:0px;"
</vb:if> id="post_thanks_box_{vb:raw post.postid}">
<vb:if condition="$bbuserinfo['userid'] != 0">{vb:raw post_thanks_box} <vb:if>
</div>
then try this if the first one doesn't work
if this does not work I will have to add your changes and test..
Code:
<vb:if condition="$bbuserinfo['userid'] != 0">
<div <vb:if condition="!$post_thanks_box == 1"> style="background-color: #f2f6f8; border: 1px ridge #417394; border-width: 1px 1px 1px 1px; padding: 2px; width:92%; margin:
0px auto 0px auto; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; margin-top:10px; margin-bottom:0px;display:none" <vb:else />
style="background-color: #f2f6f8; border: 1px ridge #417394; border-width: 1px 1px 1px 1px; padding: 2px; width:92%; margin: 0px auto 0px auto; -webkit-border-radius: 5px; -
moz-border-radius: 5px; border-radius: 5px; margin-top:10px; margin-bottom:0px;"
</vb:if> id="post_thanks_box_{vb:raw post.postid}">
{vb:raw post_thanks_box}
</div><vb:if>
|
i'm srry, they both not working. When i save this edits, i get the error
Code:
The following error occurred when attempting to evaluate this template:
Unclosed Tag
and above the template i see:
Code:
Parse error: syntax error, unexpected ')' in /home/mydirectory/forums/includes/class_core.php(4623) : eval()'d code on line 11
and i tested with guests and registered members but they all not seeing this post thank you hack.
( i can also give you access to my forum, to test it)