Closed Thread
Results 1 to 1 of 1
Like Tree2Likes
  • 2 Post By Christopher

Thread: How to insert ads in PHP-Fusion

  1. #1
    Christopher's Avatar
    Christopher is offline Retired Christopher is an unknown quantity at this point
    Join Date
    Jun 2006
    Location
    USA
    Posts
    7,330

    Exclamation How to insert ads in PHP-Fusion

    These instructions should work on all themes.

    For the Corporate plan:
    1) Login to cpanel, open the file manager and browse to the directory where you have php-fusion installed.
    2) Select “subheader.php” and click edit.
    This part is tricky. Therefore please use the code provided below unless you know how to insert html in php.
    3) Find
    Code:
    <body bgcolor='$body_bg' text='$body_text'>\n";
    4) Right before
    Code:
    \n";
    add
    Code:
     <script type=\"text/javascript\" src=\"http://x10hosting.com/adserve.js?corporate\"></script>
    5) Save

    For the Advanced plan:
    1) Login to cpanel, open the file manager and browse to the directory where you have php-fusion installed.
    2) Select “footer.php” and click edit.
    This part is tricky. Therefore please use the code provided below unless you know how to insert html in php.
    3) Find
    Code:
    <body bgcolor='$body_bg' text='$body_text'>\n";
    4) After
    Code:
     render_footer(false);
    press enter and add
    Code:
     echo "<center><script type=\"text/javascript\" src=\"http://x10hosting.com/adserve.js?advanced\"></script></center>\n";
    5) Save

    If you still can't insert the ads, please post in the "Free Hosting" board.
    Last edited by Christopher; 09-07-2007 at 12:30 AM.
    dinomirt96 and karimirt47 like this.

Closed Thread

Similar Threads

  1. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 11:07 AM
  2. Unstand PHP?
    By o0slowpaul0o in forum Tutorials
    Replies: 8
    Last Post: 01-07-2008, 10:16 PM
  3. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 03:33 PM
  4. Don't Use Php Fusion!
    By swirly in forum Scripts & 3rd Party Apps
    Replies: 15
    Last Post: 01-14-2006, 01:04 PM
  5. Mod Help
    By Ericsson in forum Free Hosting
    Replies: 4
    Last Post: 03-04-2005, 04:49 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