I saw many posts in here about how great PhpAdsNew is, so I downoaded it and I really like it. It easy to install and easy to use.
I have yet to figure out how to use it with Vbulletin and phpinclude template
This is what I tried to do on other pages using both view() and view_raw() methods.
Using view() is the best and easiest, but I don't think it will work with Vbulletin.
require("/usr/local/apache/sites/htdocs/ads/phpadsnew.inc.php");
put this at the beginning of your page
view("keyword",0,"_blank","",1)
That's it. It will print banner with the keyword "keyword"
Now here is how I did it with view_raw:
require("/usr/local/apache/sites/htdocs/ads/phpadsnew.inc.php");
<?php
$banner1=view_raw("banners",0,"_blank","",1);
echo $banner1[html]
?>
This works too and according to instructions (lacking explanations of this view_raw) this is how your should use it on template driven sites.
Ok, now could someone suggest how to use it with phpinclude template?
Thanks.
I have yet to figure out how to use it with Vbulletin and phpinclude template
This is what I tried to do on other pages using both view() and view_raw() methods.
Using view() is the best and easiest, but I don't think it will work with Vbulletin.
require("/usr/local/apache/sites/htdocs/ads/phpadsnew.inc.php");
put this at the beginning of your page
view("keyword",0,"_blank","",1)
That's it. It will print banner with the keyword "keyword"
Now here is how I did it with view_raw:
require("/usr/local/apache/sites/htdocs/ads/phpadsnew.inc.php");
<?php
$banner1=view_raw("banners",0,"_blank","",1);
echo $banner1[html]
?>
This works too and according to instructions (lacking explanations of this view_raw) this is how your should use it on template driven sites.
Ok, now could someone suggest how to use it with phpinclude template?
Thanks.
Comment