Coume
08-30-2010, 09:42 AM
Hello,
I moved from VB3.8 to VB4.0.6 this week-end and I'm struggling to create a conditional forum block.
I selected the php type and entered the following:
<vb:if condition="!is_member_of($bbuserinfo, 6, 21)">
echo "<script type=\"text/javascript\"><!--
google_ad_client = \"pub-xxxxxxxxxxxxxxxxx\";
/* 250x250, created 8/28/10 */
google_ad_slot = \"xxxxxxxxxx\";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>";
</vb:if> but it gives me a parse error.
Any idea of what I am doing wrong?
Thanks
Ludo
I moved from VB3.8 to VB4.0.6 this week-end and I'm struggling to create a conditional forum block.
I selected the php type and entered the following:
<vb:if condition="!is_member_of($bbuserinfo, 6, 21)">
echo "<script type=\"text/javascript\"><!--
google_ad_client = \"pub-xxxxxxxxxxxxxxxxx\";
/* 250x250, created 8/28/10 */
google_ad_slot = \"xxxxxxxxxx\";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>";
</vb:if> but it gives me a parse error.
Any idea of what I am doing wrong?
Thanks
Ludo