Hi There, I've got a bblog weblog at http://www.moving-target-software.com/blog . Anyone got the COOP working on one of these? I've tried and failed miserably. You can read about the bblog software at http://www.bblog.com/. Looking forward to some help. Mark
It looks like your blog is PHP based, so it shouldn't be terribly difficult. Are you having any specific problems or errors?
Well I tried putting the php in the footer.html file (bblog uses 'smarty templates' whatever that is) and the ad_network.php file in the root of the bblog tree. This results in exactly nothing happening. From what little I know about PHP I suspect this means it can't find a file or something. Does this sound right? hmmm it looks like the smarty template thing doesn't process php in the template files. If I put <?php echo 'hello world'; ?> I can see the code in the html for the page.
Try using echo 'hello world'; instead of <?php echo 'hello world'; ?>. If you are already in a php file; you don't need the additional open and close php tags.
Put the ad_network.php file in the root folder of your blog (along with ad_network_ads.txt). Add this to your footer.html file: {include_php file="ad_network.php"} Code (markup): Add this to the end of your ad_network.php file (before the closing PHP tag): echo $ad_network[0]; PHP:
thanks for help. Figured out a way of doing it myself. I created a new plugin that allows me to place the adnetwork ads anywhere on any of my templates. I know know 10x more about php than I did 30 minutes ago. I tried getting your way working Shawn, no go, wouldn't work for me.
Hey Shawn: I've got a new blog I'm putting up on one of my sites (I'm sure you could care less). I'm using Plog. These instructions for the smarty template are exactly what I needed. Just wanted to say thanks! Hank