+ Reply to Thread
Results 1 to 4 of 4

Thread: Fluid way to integrate x10hosting Ads on PHP-Nuke

  1. #1
    amr1991's Avatar
    amr1991 is offline x10 Sophmore amr1991 is an unknown quantity at this point
    Join Date
    Jul 2006
    Posts
    198

    Fluid way to integrate x10hosting Ads on PHP-Nuke

    Some people use PHP-Nuke, just like me, and wonder how to get the ads in, sure you can just add it to the header.html or header.php in your theme's folder, but why not make it look nice? Just open the header.html or header.php file in your theme folder and at the very top right after the <?php tag or <? tag, enter

    NOTE: Make sure if you don't have corporate to change ad=corporate to ad=advanced in the code. unless you want to support x10hosting more :naughty:
    NOTE: If you theme does not have PHP tags then skip to the next code i set out at the bottom

    Code:
    OpenTable();
    include("http://staff.x10hosting.com/adCode.php?ad=corporate");
    CloseTable();
    or if you don't have PHP tags already in your header file.


    Code:
    <?php
    OpenTable();
    include("http://staff.x10hosting.com/adCode.php?ad=corporate");
    CloseTable();
    ?>
    Oh and by the way is there any ads i could put on my website when i get unsuspended to support x10hosting anymore? because i love this hosting and want it to stay alive i want to support as much as i can ;)

  2. #2
    Cynical's Avatar
    Cynical is offline Lord Of The Keys Cynical is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Massachusetts, USA
    Posts
    1,746

    Re: Fluid way to integrate x10hosting Ads on PHP-Nuke

    I'm sure some people will find this useful, though I am going to move it to a different subforum. As for additional ads, you can use the referral ads on this page: http://forums.x10hosting.com/referrals.php. You even earn points when people click on them .
    Seven: This rule is so underrated, keep your family and business completely separated.

  3. #3
    jensen's Avatar
    jensen is offline x10 Lieutenant jensen is an unknown quantity at this point
    Join Date
    Nov 2005
    Location
    At my desk
    Posts
    438

    Re: Fluid way to integrate x10hosting Ads on PHP-Nuke

    The new logos and images are a great help to just the text link. Will use them on my site.

    Thanks
    "For I am not ashamed of the gospel of Christ: for it is the power of God unto salvation to every one that believeth" Romans 1:16

  4. #4
    kryptonyte's Avatar
    kryptonyte is offline x10 Sophmore kryptonyte is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    South Carolina
    Posts
    108

    Re: Fluid way to integrate x10hosting Ads on PHP-Nuke

    Want to know an even easier way than that? Instead of putting it in your theme's header file put it in PHP-Nuke's header file. In the header.php file located in the root of your nuke instillation paste the code above after you find
    PHP Code:
    themeheader(); 
    That way if you change your theme you don't have to re-edit the file and if you use multiple themes it's easier to update each theme.

+ Reply to Thread

Similar Threads

  1. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  2. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 09:16 PM
  3. Help!! php nuke
    By oab in forum Free Hosting
    Replies: 13
    Last Post: 11-02-2005, 05:50 PM
  4. php nuke problem
    By death_knight_the_darkness in forum Free Hosting
    Replies: 2
    Last Post: 10-16-2005, 07:53 PM
  5. PHP Nuke, header.html
    By oab in forum Free Hosting
    Replies: 0
    Last Post: 04-21-2005, 11:52 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
x10hosting free hosting for the masses
dedicated servers