Fluid way to integrate x10hosting Ads on PHP-Nuke

amr1991

New Member
Messages
396
Reaction score
0
Points
0
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 ;)
 

jensen

Active Member
Messages
1,168
Reaction score
22
Points
38
The new logos and images are a great help to just the text link. Will use them on my site.

Thanks
 

kryptonyte

New Member
Messages
216
Reaction score
0
Points
0
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:
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.
 
Top