Results 1 to 9 of 9

Thread: Ad code problem!

  1. #1
    Akkarin's Avatar
    Akkarin is offline x10 Elder
    Join Date
    May 2005
    Location
    London, UK
    Posts
    827

    Ad code problem!

    Right my problem is that when I was changing templates on my mambo portal, I had to ad the ad code to the template, so.... I downloaded the ad code in the zip file and pasted that into the index of my template at the very top. The problem is that it doesn't show up at all whatsoever!

    Could anyone tell me why is this so and how I can overcome this problem. Right now I have added the old ad code I had on my other template, it shows though not in a very noticeable colour.

    Has anyone had this problem before?

  2. #2
    03moscropl's Avatar
    03moscropl is offline Flash Freak
    Join Date
    Jun 2005
    Location
    England
    Posts
    349

    Re: Ad code problem!

    download one of the mambo x10modules in my sig. they still should work if not pm me!
    my customised games module for phpnuke
    http://dragongamer.net/modules.php?name=arcade

  3. #3
    Akkarin's Avatar
    Akkarin is offline x10 Elder
    Join Date
    May 2005
    Location
    London, UK
    Posts
    827

    Re: Ad code problem!

    Ok, I have but where do I upload them and how do I install them?

  4. #4
    03moscropl's Avatar
    03moscropl is offline Flash Freak
    Join Date
    Jun 2005
    Location
    England
    Posts
    349

    Re: Ad code problem!

    you install the themplates in zip form throught mambos themplate installer. once there then go in to cpanels file magerthen find the themplate file usally.


    www/your mambo name/themplates/themplate name/ once there go to the index file insert the html code at the top and you are done!
    my customised games module for phpnuke
    http://dragongamer.net/modules.php?name=arcade

  5. #5
    Akkarin's Avatar
    Akkarin is offline x10 Elder
    Join Date
    May 2005
    Location
    London, UK
    Posts
    827

    Re: Ad code problem!

    Thank you very much! it worked fine, only one problem my background is black and the text colour of the ad is dark blue which is really hard to see. Is there any way of changing the colour of that piece of text?

  6. #6
    03moscropl's Avatar
    03moscropl is offline Flash Freak
    Join Date
    Jun 2005
    Location
    England
    Posts
    349

    Re: Ad code problem!

    go into the ad code and add color tags to the text!
    my customised games module for phpnuke
    http://dragongamer.net/modules.php?name=arcade

  7. #7
    Akkarin's Avatar
    Akkarin is offline x10 Elder
    Join Date
    May 2005
    Location
    London, UK
    Posts
    827

    Re: Ad code problem!

    But where, I'm not good with Javascript, what piece of code is the text?

  8. #8
    03moscropl's Avatar
    03moscropl is offline Flash Freak
    Join Date
    Jun 2005
    Location
    England
    Posts
    349

    Re: Ad code problem!

    the bottom

    <script language='JavaScript' type='text/javascript' src='http://x10hosting.com/advert/adx.js'></script>
    <script language='JavaScript' type='text/javascript'>
    <!--
    if (!document.phpAds_used) document.phpAds_used = ',';
    phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);

    document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
    document.write ("http://x10hosting.com/advert/adjs.php?n=" + phpAds_random);
    document.write ("&amp;what=zone:3&amp;target=_blank");
    document.write ("&amp;exclude=" + document.phpAds_used);
    if (document.referrer)
    document.write ("&amp;referer=" + escape(document.referrer));
    document.write ("'><" + "/script>");
    //-->
    </script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a915c788' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:3&amp;n=a915c788'
    color="#FF0000"
    border='0' alt=''></a></noscript>

    that may be it it may not be!
    my customised games module for phpnuke
    http://dragongamer.net/modules.php?name=arcade

  9. #9
    Akkarin's Avatar
    Akkarin is offline x10 Elder
    Join Date
    May 2005
    Location
    London, UK
    Posts
    827

    Re: Ad code problem!

    Nope it didn't work never mind, thanks for gettin gthe code visible though!

Similar Threads

  1. Hybrid's HTML Lessons
    By Hybrid in forum Tutorials
    Replies: 18
    Last Post: 11-28-2009, 02:12 PM
  2. ad code problem
    By subodh in forum Free Hosting
    Replies: 2
    Last Post: 11-18-2006, 11:55 PM
  3. php ad code problem
    By sourabhj in forum Free Hosting
    Replies: 7
    Last Post: 08-22-2006, 08:28 AM
  4. Requiring your help with a bit of a code problem
    By Zenax in forum Graphics & Webdesign
    Replies: 10
    Last Post: 07-31-2006, 05:38 PM
  5. corporate ads code problem
    By ronghui in forum Free Hosting
    Replies: 5
    Last Post: 07-29-2005, 11:05 AM

Posting Permissions

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