Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: CubeCart

  1. #1
    cky2k1016's Avatar
    cky2k1016 is offline x10Hosting Member cky2k1016 is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    Parlin, NJ
    Posts
    35

    CubeCart

    How do I put ads on cubecart?

  2. #2
    Colin's Avatar
    Colin is offline x10 Elder Colin is an unknown quantity at this point
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    992

    Re: CubeCart

    I'm sorry could you give a little more information. Like what cubecart is exactly?
    Xbox Live Gamertag: hyperphoenix89
    --- + Current + ---

    --- + Current #2 + ---

  3. #3
    Jordan K is offline [B]tags dont work:([/B] Jordan K is an unknown quantity at this point
    Join Date
    May 2005
    Location
    Hamilton, Ontario, Canada
    Posts
    764

    Re: CubeCart

    adcode // ToS // x10Free | x10Paid Hosting
    ------------------------------------------

  4. #4
    cky2k1016's Avatar
    cky2k1016 is offline x10Hosting Member cky2k1016 is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    Parlin, NJ
    Posts
    35

    Re: CubeCart

    Yes, if you go to my site www.unrealmagicstore.x10hosting.com it has cubecart. How do I put the x10 ads on there?

  5. #5
    Jordan K is offline [B]tags dont work:([/B] Jordan K is an unknown quantity at this point
    Join Date
    May 2005
    Location
    Hamilton, Ontario, Canada
    Posts
    764

    Re: CubeCart

    Edit the template file with CubeCart?
    adcode // ToS // x10Free | x10Paid Hosting
    ------------------------------------------

  6. #6
    cky2k1016's Avatar
    cky2k1016 is offline x10Hosting Member cky2k1016 is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    Parlin, NJ
    Posts
    35

    Re: CubeCart

    I tried, can you help me and tell me what file. I tried to edit the index.php file but its php and I don't know where to paste the ad code. Thanks.

  7. #7
    Jordan K is offline [B]tags dont work:([/B] Jordan K is an unknown quantity at this point
    Join Date
    May 2005
    Location
    Hamilton, Ontario, Canada
    Posts
    764

    Re: CubeCart

    I don't have CubeCart, lol...
    adcode // ToS // x10Free | x10Paid Hosting
    ------------------------------------------

  8. #8
    Colin's Avatar
    Colin is offline x10 Elder Colin is an unknown quantity at this point
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    992

    Re: CubeCart

    Ok, can you tell us all of the template files cubecart uses? Does it have header.tpl, footer.tpl etc etc or something similar. Also what package do you have?
    Xbox Live Gamertag: hyperphoenix89
    --- + Current + ---

    --- + Current #2 + ---

  9. #9
    Chris S's Avatar
    Chris S is offline Retired Chris S is an unknown quantity at this point
    Join Date
    Mar 2005
    Posts
    1,036

    Re: CubeCart

    Colin, I'll help him, also he has coporate

    I am about to download the file and tell you what to edit to get it working

    ok, here is what i have so far

    Start Mod
    =========================
    Add Ads to CubeCart Version .5
    Files to edit: 1 per skin
    File Name index.tpl
    =========================
    Open: skins/SKIN_NAME_HERE/styleTemplates/global
    Find This:
    Code:
    <div id="pageSurround">
    	<div id="topHeader">
    		<div>{SEARCH_FORM}</div>
    		<div>{SESSION}</div>
    	</div>
    Replace with:
    Code:
    <div id="pageSurround">
    	<div id="topHeader">
    		<div>{SEARCH_FORM}</div>
    		<div>{SESSION}</div>
    	</div>
    <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 ("&what=zone:1&target=_blank");
       document.write ("&exclude=" + document.phpAds_used);
       if (document.referrer)
          document.write ("&referer=" + escape(document.referrer));
       document.write ("'><" + "/script>");
    //-->
    
    </script><noscript><a href='http://x10hosting.com/advert/adclick.php?n=a7fb3e9d' target='_blank'><img src='http://x10hosting.com/advert/adview.php?what=zone:1&amp;n=a7fb3e9d' border='0' alt=''></a></noscript>
    Save file and upload.
    =========================

    Repeat as nessary for each skin

    note: the reason the mod is in version .5 is because i didn't test it. Please test it and tell me if it works or not.

    If you don't want to put the ad there, just make sure where ever you place it, it is above the browser cut off line
    Last edited by Chris S; 04-12-2006 at 07:53 PM.

    I would love to change the world, but they won't give me the source code

  10. #10
    cky2k1016's Avatar
    cky2k1016 is offline x10Hosting Member cky2k1016 is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    Parlin, NJ
    Posts
    35

    Re: CubeCart

    Thanks a lot. There is one problem. If you view my site it shows up. But when I click a different catogorey on the store it shows google ads instead. Is that ok? I didn't put those ads there. So I don't know if they are part of the x10 ads. Thanks.
    -Nick

Closed Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. How to put ads on cubecart
    By micirv in forum Free Hosting
    Replies: 1
    Last Post: 10-05-2006, 04:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers