When I add this code to my template as the readme file tells me to it mess up the whole forum. I add it in the headinclude at the bottom.
I get a msg that reads:
Some error on line 64 the </if> tag and so on. Tells me that the if tag is a closure tag. Is there some tags missing in the code below?
<!--BEGIN VBSTATUS-->
<!--BEGIN VBSTATUS-->
<!--BEGIN VBSTATUS-->
<if condition="$vbulletin->options['vbstatus_active']">
<div id='mypopup' name='mypopup' style='z-index:1000; position: absolute; background: none; border: none;'></div>
<script type="text/javascript" src="vbstatus/ajax_wrapper.js"></script>
<script type="text/javascript" src="vbstatus/headerjavascript.js"></script>
</if>
<!--END VBSTATUS-->
<!--END VBSTATUS-->
<!--END VBSTATUS-->
Template Edit 2 (postbit OR postbit_legacy) (If your postbit is a verticle column you use postbit_legacy)
Search For: <if condition="$post['usertitle']">
Above This Code Add:
<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">
<div class=smallfont>
$post[username]
<em id="vbstatus_$post[postid]">
$post[vbstatus_status]
<if condition="$bbuserinfo['userid']==$post['userid'] OR $vbstatus_isadmin==1">
<if condition="$vbulletin->options['vbstatus_inline']">
<a href="javascript:Att_AjaxDiv('inline=1&userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php','vbstatus_$post[postid]')">Edit</a>
<else />
<a href="javascript:Att_Ajax('userid=$post[userid]&postid=$post[postid]','vbstatus/vbstatus_ajax.php')">Edit</a>
</if>
</if>
</em>
</div>
</if>
<!--END VB STATUS-->
<!--END VB STATUS-->
<!--END VB STATUS-->
|