MadKad |
07-17-2006 11:41 AM |
np :D
ok for showing just the adds to your visitors and not the table to your registerd users do this
Code:
<!--######## start of bottom add's ########-->
<if condition="in_array($bbuserinfo['usergroupid'], array(1, 2, 3, 4, 5))">
<div style="padding:0px 0px $stylevar[cellpadding]px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<td class="thead" style="font-weight:normal" align="left">Advertisements</td>
</tr>
<tr>
<td align="center" class="alt1">
<script type="text/javascript"><!--
google_ad_client = "pub-7213854248425086";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
google_ad_channel ="";
//--></script>
<script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<!-- Ad End -->
<!-- User ad's end -->
</div>
</if>
</td>
</tr>
</table>
</div>
</if>
<!--####### end of bottom add's #######-->
and my fault you need to add spaces like this
Code:
<if condition="in_array($bbuserinfo['usergroupid'], array(1, 2, 3, 4, 5))">
anmd not like this
Code:
<if condition="in_array($bbuserinfo['usergroupid'], array(1,2,3,4,5))">
that is me that sorry :confused:
that should do it for you just copy that big code as I have set it all for you
|