- Messages
- 12,934
- Reaction score
- 6
- Points
- 38
How to insert ads in phpBB2
Inserting Ads in phpBB is really easy, you've just to edit one file.
You can add before the ad code <div align="center">, and after the code </div> to make it look nicer by centering the ad.
For the Corporate plan:
You'll need to edit one file, and you can edit the file by using an FTP client, or FileManager (from cPanel). Go to the phpBB folder, then go to the templates folder, and then to the folder your template is using. Edit the file overall_header.tpl. Put the JavaScript Ad code:
After:
Before:
Then save the file, and that's it, you'll have the ad working in every page.
For the Advanced plan:
You'll need to edit one file, and you can edit the file by using an FTP client, or FileManager (from cPanel). Go to the phpBB folder, then go to the templates folder, and then to the folder your template is using. Edit the file overall_footer.tpl. Put the JavaScript Ad code just after "</html>".
Then save the file, and that's it, you'll have the ad working in every page.
IMPORTANT: If you have many skins/templates, you will need to do this steps for all the templates you have.
If you still can't insert the Ads, please post in the "Free Hosting" board.
Inserting Ads in phpBB is really easy, you've just to edit one file.
You can add before the ad code <div align="center">, and after the code </div> to make it look nicer by centering the ad.
For the Corporate plan:
You'll need to edit one file, and you can edit the file by using an FTP client, or FileManager (from cPanel). Go to the phpBB folder, then go to the templates folder, and then to the folder your template is using. Edit the file overall_header.tpl. Put the JavaScript Ad code:
After:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Code:
<html dir="{S_CONTENT_DIRECTION}">
For the Advanced plan:
You'll need to edit one file, and you can edit the file by using an FTP client, or FileManager (from cPanel). Go to the phpBB folder, then go to the templates folder, and then to the folder your template is using. Edit the file overall_footer.tpl. Put the JavaScript Ad code just after "</html>".
Then save the file, and that's it, you'll have the ad working in every page.
IMPORTANT: If you have many skins/templates, you will need to do this steps for all the templates you have.
If you still can't insert the Ads, please post in the "Free Hosting" board.
Last edited: