How to insert ads in phpBB

Status
Not open for further replies.

Fedlerner

Former Adm & Team Manager
Community Support
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:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Before:
Code:
<html dir="{S_CONTENT_DIRECTION}">
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.
 
Last edited:

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
Thanks, this should help alot of people out.
 
Status
Not open for further replies.
Top