Editing HTML

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Registered User
Posts: 1
Joined: Sat Dec 27, 2008 3:20 am

Editing HTML

Post by JimmyRibbiitt » Sat Dec 27, 2008 3:31 am

I am not sure where to post this, but what files do I modify to insert StatCounter code. I would like to have the StatCounter hit counter service I am using record visits to the board. What HTML file do I modify to do this. I would also like to insert the code for the banner exchange service I use to display banner ads in phpBB. What file or files do I modify to accomplish this? I have tried edting every HTML file I could find, and no dice.

User avatar
Former Team Member
Posts: 22909
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric

Re: Editing HTML

Post by ric323 » Sat Dec 27, 2008 7:18 am

Every html file? The only html files in phpBB2 are for documentation.
All HTML output comes from the tpl files in the template folders, which are interpreted by phpBB2 to produce the HTML.
The code at the top of every page comes from ./templates/your_template_name/overall_header.tpl
and at the bottom from ./templates/your_template_name/overall_footer.tpl
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions


Return to “2.0.x Support Forum”