PDA

View Full Version : How to easily place the statcounter in a forum or guestbook


webado
05-04-2004, 12:23 PM
I know this might be a bit of a task, and may have actually been addressed before.

I'd like to be able to (easily) place Statcounter code in a forum, such as a PHPBB or IPB forum. The logical place would be in the header or footer section. PHPBB documentation is not very good at identifying those areas. IPB is a bit better as it has html templates that can be edited individually. It would help if you could provide some guidelines on how to do this for a few of the most popular forum and guestbook packages out there.

That is of course when you have nothing else better to do :lol:

webado
05-06-2004, 02:34 PM
I managed to find out where to place the statcounter in my IPB forum: in the board wrapper, just before the </body> tag.

I also placed it in the footer template in my Advanced Guestbook.

In the PHPBB (v 2.0.8) forum I edited the file overall_footer.php (and simple_footer.php in case it's necessary) from the folder /templates/subSilver. I placed the code there again just before the </body> tag. I suppose that for other templates a similar thing can be done, but I only have that theme to work with.

What remains to be seen is how the pages will show up in the stats - as the board wrapper templates are applied to each and every page displayed.

YAY! It all works! :D