advertising
Results 1 to 6 of 6

Thread: advertising

  1. #1
    Banned
    Join Date
    Nov 2003
    Posts
    68

    advertising

    hello guyz
    i was wondering if someone can tell me how this is done:
    i wanna make advertising section in my site
    so someone can come and post things he/she want to sell/buy with all info about it
    and when visitors enter the section they see advertisments in catergories or whatever
    if it Can be done in a Forum Hacks or sumthing that would be cool i have Invision Board

    i hope that u understand me ppl
    thx in advance

  2. #2
    Flash M0nkey
    Join Date
    Sep 2001
    Posts
    3,447
    i use this to display random banners at bottom of my phpBB site

    Code:
    <script language="JavaScript" type="text/javascript">
    <!--
        // JavaScript to interpolate random images into a page.
        var ic = 4;     // Number of alternative images
        var xoxo = new Array(ic);  // Array to hold filenames
            
    xoxo[0] = "http://design.unerror.com/index.html target=_blank><img src=http://design.unerror.com/forum/banners/banner-designuneror.gif border=0>";
    xoxo[1] = "http://www.unerror.com target=_blank><img src=http://design.unerror.com/forum/banners/banner-unerrorcom.gif border=0>";
    xoxo[2] = "http://www.unerror.net/index.php?option=com_mospjirc&Itemid=27 target=_blank><img src=http://design.unerror.com/forum/banners/banner-unerrorirc.gif border=0>";
    xoxo[3] = "http://users.martlev.com/ target=_blank><img src=http://design.unerror.com/forum/banners/martlev.gif border=0>";
    
    
    
    
    function pickRandom(range) {
    if (Math.random)
    return Math.round(Math.random() * (range-1));
    else {
    var now = new Date();
    return (now.getTime() / 1000) % range;
    }
    }
    // Write out an IMG tag, using a randomly-chosen image name.
    var choice = pickRandom(ic);
    // -->
    and then whereever i want the random pic to appear (in my case foot of page)

    Code:
    <SCRIPT LANGUAGE="JavaScript">document.writeln('<a href='+xoxo[choice]+'</a>');</SCRIPT><br />
    am sure you could add something similar into the footer code of your invision board system

    v_Ln

  3. #3
    Banned
    Join Date
    Nov 2003
    Posts
    68
    thx man for ur post.. but i'm not looking for banners i want it sorted and managed advertising program for all users to add things to sell

  4. #4
    Flash M0nkey
    Join Date
    Sep 2001
    Posts
    3,447
    hmmm try something form here then -> http://ww.hotscripts.com/PHP/Scripts...ent/index.html

  5. #5
    Banned
    Join Date
    Nov 2003
    Posts
    68
    its not there.. everything there about Banners

  6. #6
    Flash M0nkey
    Join Date
    Sep 2001
    Posts
    3,447
    there should be def something suitable on hotscript.com

    try the classified scripts then -> http://ww.hotscripts.com/PHP/Scripts...ral/index.html

    or take a look through tha main site for more scripts etc

    v_Ln

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides