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:
For Advanced plan, place this in:
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
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