{Tutorial} Inserting the ads in PHP NUKE

Zenax

Active Member
Messages
1,377
Reaction score
4
Points
38
Ok, so here is how you insert the ads into PHP NUKE.

Step 1
Login to your cPanel.

This can be acheived by going to:
http://yoursite.x10hosting.com:2082 or http://yoursite.x10hosting.com/cpanel

Step 2
Click on file manager and navigate to the area of your website, where you have PHP NUKE installed. Click on the icon next to the directory it is installed in so you can access the file.

Note: If installed in WWW directory, skip last part of that step.

Step 3
Once in the folder, click on header.php The frame in the top right will change to a list of options that you can do with that file. We need the "Edit" option, so click on "Edit this file"

Step 4
A new window will open with the HTML code editor, containing the files contents.

Step 5
Now it is time to insert the ads. It is important that you place the ad code at the top of this file so that it displays correctly, and nicely in your design.

For Corperate plan, place this in:

PHP:
<div align="center">
<? include("http://staff.x10hosting.com/adCode.php?ad=corporate"); ?>
</div>

For Advanced plan, place this in:

PHP:
<div align="center">
<? include("http://staff.x10hosting.com/adCode.php?ad=advanced"); ?>
</div>

Step 6
The final step is to save the changes you have made to the code. Click on the save button at the bottom of the page.


Once this is done you can refresh or openPHP NUKE and you should see the ads displayed at the top of the page.

I hope this tutorial has been of use to you. Please post comments and suggestions.

Regards,
Zenax
 

jensen

Active Member
Messages
1,168
Reaction score
22
Points
38
You can also add the code into different sections of PHP NUKE rather than just the top header by inserting it within the sections between the codes.

But of course right at the top would make x10 really happy. :lol:
 

Zenax

Active Member
Messages
1,377
Reaction score
4
Points
38
Yes obviously it is possible to place it in othber areas, however this tutorial is aimed at beginners who need a quick and easy guide to inserting the ads in their version of php NUKE!
 
Top