How to insert ads in PHP-Fusion

Status
Not open for further replies.

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
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:
Status
Not open for further replies.
Top