PDA

View Full Version : posbit legacy issue


VBUsers
07-12-2006, 10:34 PM
im getting this error when i edit the posbit legacy

The following error occurred when attempting to evaluate this template:
The conditional on line 96 appears to be missing its end tag (</if>). The template will not function properly unless this is fixed.
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


heres the code thats giving me issues

$vbphrase[posts]: $post[posts]
<!-- vbPlaza start -->
<if condition="$show['pointsinpostbit']"><br />
$vbphrase[vbbux_points]: $post[points]<br />
$vbphrase[vbbux_bank]: $post[bank]<br />
<phrase 1="$vbphrase[vbbux_points]">$vbphrase[vbbux_total_points]</phrase>: $post[totalpoints]<br />
<a href="vbplaza.php?do=donate&amp;userid=$post[userid]">$vbphrase[vbplaza_donate]</a><br />
</if>
<!-- vbPlaza end -->
</div>

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']"><span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>:

Dan
07-12-2006, 10:40 PM
You might be missing to </if>'s after

<if condition="$show['reputation']"><div><if condition="$show['reppower']"><span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>:


Check to see if there are two immediatly following that code, if not add them you might have deleted them accidently when adding the code in.

VBUsers
07-12-2006, 10:44 PM
my postbit legacy still shows as uneditted. i never saved it. i did the edits 3 times and the same thing. im on beta 4 if that helps

<if condition="$show['infraction']"><div>$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])</div></if>
<if condition="$show['reputation']"><div><if condition="$show['reppower']"><span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>: $post[reppower]</if><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span></div></if>
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]</div>
</div>

Dan
07-12-2006, 10:51 PM
Could you post your completely edited postbit?

VBUsers
07-12-2006, 10:58 PM
ok found the issue. i was doing the edits on the 3.5.4 page cause its linked there for the download. so i tried the one posted in 3.6 section and it works. thank you for your help