The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
[RESOLVED] Conditions being ignored when viewed by guest
I am editing a template with the following conditional structure:
HTML Code:
<vb:if condition="$show['dbtech_thanks_area']"> <vb:if condition="$show['dbtech_thanks_li']"> <li class="postbitlegacy postcontainer dbtech_thanks_container<vb:if condition="$post['userid'] == $bbuserinfo['userid']"> shown</vb:if>"> <vb:else /> <div<vb:if condition="!$show['dbtech_thanks_lineafter']"> class="signature dbtech_thanks_container<vb:if condition="$post['userid'] == $bbuserinfo['userid']"> shown</vb:if>"</vb:if> style="clear:both;"> </vb:if> <vb:if condition="!$vboptions['dbtech_thanks_cloud_displaystyle']"> <div class="posthead"> <span class="postdate">Post Thanks<vb:if condition="$extrainfo"> - {vb:raw extrainfo}</vb:if></span> </div> </vb:if> <div class="postdetails" id="dbtech_thanks_entries_{vb:var post.postid}"> {vb:raw entries} </div> <vb:if condition="$actions"> <div class="postfoot"> <div class="textcontrols"> <span class="postlinking"> {vb:raw actions} </span> </div> </div> </vb:if> <vb:if condition="$show['dbtech_thanks_li']"> </li> <vb:else /> </div> <vb:if condition="$show['dbtech_thanks_lineafter']"><div class="signature"> </div></vb:if> </vb:if> </vb:if> HTML Code:
<vb:if condition="$post['userid'] == $bbuserinfo['userid']"> shown</vb:if> Once again, it works properly when logged in, but not when viewing as a guest. How can I resolve this? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|