293859
the script are modularized and is really simple :
-download the module.
-activate the module.
-later of activated, press in the phpadsnew logo and realize a complete install. (in english is better, later you can change the language.)
- Read the manuals for undertand all the features.
the script is generated automatic using :
http://you url/modules/phpads/admin/admin-generate.php
i;m prefer use the "remote invocation for javascript" but exist more methods for publish.
this is a sample code for insert into the theme.php generated for me:
echo"<div align='center'><script language='JavaScript' src='http://www.xoops.sytes.net/modules/phpads/adjs.php?clientid=2&target=_blank&withText=0'></script></div>";
only need remark or delete the lines :
//if ($xoopsConfig['banners']) {
//showbanner();
and put you coded for display the banner.
too you can generate many type of banners in many positions, in me site ( www.xoops.sytes.net) i;m use the phpadsnew for display the banners and the partners block.
The partners block is a html custom block with the javascript inside :
this is me code :
<div align:center><script language='JavaScript' src='http://www.xoops.sytes.net/modules/phpads/adjs.php?clientid=3&target=_blank&withText=0'></script></div>
it's all if have questions abouth the phpadsnew use, read the complete manuals :)