|
How to put the Pay Per Play code in Xoops |
|
Wednesday, 12 March 2008 |
|
To put the Pay Per Play code in Xoops you will need and know how to transfer files with your website control panel or use FTP program. I use Core FTP. Its free. Alternately, you may be able to edit the file from the control panel for your website.
You will be placing the code in the file called template.html. This file will be inside folders that are inside the Themes directory. If you only use one theme, you will only need to edit one file. If you allow several themes to be used, you will have to edit template.html for all the ones you use. If you are using ftp, transfer template.html to your local machine and open it up with notepad. Paste the Pay Per Play code just above the closing body tag at the bottom of the file. Insert a blank line if you need a place to paste. Its always a good idea to insert a blank line above any javascript you put in a web page anyways. The closing body tag looks like this < / body > (without the spaces). Save your file and if you are using ftp, upload it back to where it came from. Choose yes when/if prompted to overwrite. Although your Xoops should now play ads on every page, keep in mind that PPP will only play one ad every three three minutes.
P.S. Sometimes (almost always) Notepad is not the best text editor to use. If you need a simple text editor that is free, easy to use and versatile, try EditPad lite.
ALWAYS maintain good backups of your site
|