1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

One Domain, two Site-Types

Discussion in 'Co-op Advertising Network' started by Vincent, May 4, 2006.

  1. #1
    Hi!
    I successfully set up the ads on a site using vBulletin Version 3.5.2. But now a wiki (using the software from mediawiki.org) was added to the forum. The forum is under http://www.domain.tld/, http://www.domain.tld/forum/ and some other URLs. The wiki is under http://www.domain.tld/wiki/.
    Since the wiki was indexed by Google, my site doesn't validate, because the ads were only included in the vBulletin software.
    How to include them also in the mediawiki software?

    Vincent
     
    Vincent, May 4, 2006 IP
  2. Vincent

    Vincent Active Member

    Messages:
    158
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    This is quite important for me, the site is doing very well in the Co-op Ad Network. Any ideas?
     
    Vincent, May 7, 2006 IP
  3. Vincent

    Vincent Active Member

    Messages:
    158
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
  4. Helmethead3

    Helmethead3 Peon

    Messages:
    130
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    add the code into ur wiki...

    (no idea how though, but most likely there'll b a overall footer template or something along those lines which you can just mod one file with the php snippet & it'll appear on all the pages)
     
    Helmethead3, May 8, 2006 IP
  5. Vincent

    Vincent Active Member

    Messages:
    158
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    ok, but the code for vBulletin software won't work for the wiki software ..
     
    Vincent, May 8, 2006 IP
  6. Helmethead3

    Helmethead3 Peon

    Messages:
    130
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    used one of the other codes then. they give you a few right?

    someone will prob be able to tell u exactly wat to use on it
     
    Helmethead3, May 8, 2006 IP
  7. Vincent

    Vincent Active Member

    Messages:
    158
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #7
    doesn't seem so :-(
     
    Vincent, May 10, 2006 IP
  8. Helmethead3

    Helmethead3 Peon

    Messages:
    130
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    umm god help us, i'll try. So is your wiki php? Is their a template file which appears on each page? Like overall_footer or page_tail etc.
     
    Helmethead3, May 12, 2006 IP
  9. Vincent

    Vincent Active Member

    Messages:
    158
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #9
    Thanks for your help! I found a solution some hours ago :)
     
    Vincent, May 12, 2006 IP
  10. Helmethead3

    Helmethead3 Peon

    Messages:
    130
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    yeh i'm a genius, no probs
     
    Helmethead3, May 14, 2006 IP
  11. Vincent

    Vincent Active Member

    Messages:
    158
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #11
    dakar asked me per PM to share my solution:

    1. If you use the skin "MonoBook" open Monobook.php in /skins.
    2. Do a search for "footer".
    3. Paste the following code between "<div id="footer">" and "</div>"
    
    <?php
    	ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    	include ('ad_network_254.php');
    	echo $ad_network;
    ?>
    
    Code (markup):
    4. Be sure to change the filename "ad_network_254.php" to what the file in your root directory is named.

    Vincent
     
    Vincent, May 15, 2006 IP
  12. dakar

    dakar Active Member

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    83
    #12
    Rolling back the template was the only thing I hadn't tried yet... I'll give it a whirl tonight. thanks.
     
    dakar, May 15, 2006 IP