This is great. I want to take it a step further as I do within my board, and allow the blooger to own the adsense ads. From another mod, in the postbit template I say:
script type="text/javascript"><!--
if('$post[field6]' == '')
{
google_ad_client = "pub-xxxxxxxxxxxxxxxx";
google_ad_channel = "";
}
else
{
google_ad_client = "$post[field6]";
google_ad_channel = "$post[field7]";
}
....blah, blah....
...where $post[field#] gets the users google_ad info from his profile, otherwise it uses mine.
Any idea what the variable name I would use in the blog_show_entry, instead of $post? Or, will this have to be a plugin?
Thanks
|