Hi,
I am interest about the same anyone any idea?
Quote:
Originally Posted by abroad
How can I realise this:
I am using vBlog and I want to show on a members blog the members adsense code, so that the member can make money with his blog. If the member does not have an adsense code, I want to use my own code.
How do I realise this?
I was thinking of placing this in a vblog template (field6 is the Adsense Pub ID specified by the blog owner in his profile):
If #field6#_of_blogowner is not empty then:
<script type="text/javascript">
<!--
google_ad_client = "#field6# of blogowner";
google_ad_slot = "6799";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
Otherwise:
my own adsense code
How do I write this? I dont know which variables to use e.g. for vblog to write a condition.
|