I need this very much. Thank you for this tutorial.
I need this very much. Thank you for this tutorial.
Thanks.
But may i ask how ads can help the site?
How about for mkPortal? If it matters, I'm using the advanced plan.
my website:www.lovemusic.de.tl, www.lovemusic.x10hosting.com
Last edited by beautifullife; 10-29-2007 at 02:18 AM.
good
thanks, is there one for ipb too?
Hi! I have a .php site (http://hackylive.exofire.net) and I know I have the ads on the site, but it is in a banner at the bottom of hte page. I don't have to scroll down at all to see it, but maybe I am just using a computer with better screen resolution. If this is no all right, how do I move it up to the top? The php code I am using is:
<?php
function ads_getmoduleinfo(){
$info = array(
"name"=>"Ads",
"author"=>"`%Simon Welsh",
"version"=>"1.0.0",
"category"=>"General",
);
return $info;
}
function ads_install(){
debug("Installing module.");
module_addhook("footer-home");
return true;
}
function ads_uninstall(){
debug("Uninstalling module.");
return true;
}
function ads_dohook($hookname, $args){
global $session;
switch($hookname){
case "footer-home":
rawoutput("<div align='center' ><script type=\"text/javascript\" src=\"http://x10hosting.com/adserve.js?Hacky\"></script></div>");
break;
}
return $args;
}
?>
vWar. I figure since x10 is free, most clan sites use free hosting.... I dunno if it's worth your time, since I don't know anybody who uses it... I do, though! If ya like I'll figure it out myself and post a tutorial?
Umm, sure thanks!
Isn't it possible to incorporate those ads directly on the script installer that you offer??