Guten Morgen.
Ich habe versucht die Google Ad Werbung in die Postings, nur für Gäste sichtbar, zu packen, aber leider wird den Gästen nichts angezeigt.
Vielleicht erkennt einer von Euch den Fehler.
Code:
<if condition="$post['postcount'] == 1 AND $show['guest']">
<div style="padding: $stylevar[cellpadding]px 0px 0px 0px">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="thead" align="left" colspan="2">Werbung</td>
</tr>
<tr>
<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
<div id="postmenu_$post[postid]">Werbung</div>
<div class="smallfont">Werbung</div>
<div class="smallfont">
<br />
<div>$vbphrase[join_date]: 01.01.2000</div>
<div>$vbphrase[location_perm]: Forum</div>
</div>
</td>
<td class="alt1">
<center><script type="text/javascript"><!--
google_ad_client = "pub-xxxxxxxxxxxxxxxxxxx";
/* 468x60, Erstellt 04.07.08 */
google_ad_slot = "xxxxxxxxxxxxxxxx";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
</td>
</tr>
</table>
</div>
</if>
Den Code hab ich in die postbit_legacy ganz am Ende gepackt.