Quote:
Originally Posted by Hippy
ok ok ..
first so guest can't see the post thanks box under each post
replace your "post_thanks_box" template with this code
Code:
<li class="postbit<vb:if condition="$vboptions['legacypostbit']">legacy</vb:if> postbitim" id="post_thanks_box_{vb:raw post.postid}"<vb:if condition="!$post_thanks_box == 1"> style="display:none"</vb:if>>
<vb:if condition="$bbuserinfo['userid'] != 0">{vb:raw post_thanks_box}</vb:if>
</li>
[/code]

let me know if I missed something
|
This is not working for me, it messed up the lay-out of the first post.
In post_thanks_box i have this code:
PHP 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:raw post_thanks_box}
</div>
its from
https://vborg.vbsupport.ru/showpost....7&postcount=35 (to turn this mod into a like system similar to vb.org)
is it possible to modify this code, so the guests not seeing this mod?