How to insert ads in...

Discussion in 'Free Hosting' started by Fedlerner, Dec 10, 2006.

Thread Status:
Not open for further replies.
  1. Tariqul Islam

    Tariqul Islam New Member

    Messages:
    182
    Likes Received:
    0
    Trophy Points:
    0
    I need this very much. Thank you for this tutorial.
     
  2. Akisboy32

    Akisboy32 New Member

    Messages:
    25
    Likes Received:
    0
    Trophy Points:
    0
    Thanks.
    But may i ask how ads can help the site?
     
  3. Kenny80

    Kenny80 New Member

    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    0
    How about for mkPortal? If it matters, I'm using the advanced plan.
     
  4. beautifullife

    beautifullife New Member

    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
  5. yuluo

    yuluo New Member

    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
  6. coolcory

    coolcory New Member

    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    thanks, is there one for ipb too?
     
  7. HackerDragon

    HackerDragon New Member

    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    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;
    }
    ?>
     
  8. matfor1

    matfor1 New Member

    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    0
    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?
     
  9. HackerDragon

    HackerDragon New Member

    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
  10. vinlec

    vinlec New Member

    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Isn't it possible to incorporate those ads directly on the script installer that you offer??
     
  11. laupkram

    laupkram New Member

    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    0
    just go to your account panel and look for the link "advertisement codes"
     
  12. ziggyx2003

    ziggyx2003 New Member

    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    To Esteban,

    Thank you very much for your ad in coppermine instructions. Worked beautifully.

    Zig
     
  13. Christopher

    Christopher Retired

    Messages:
    14,659
    Likes Received:
    8
    Trophy Points:
    0
    e107 tutorial has been written
     
Thread Status:
Not open for further replies.

Share This Page