Advertisement:

Author Topic: Web Counter on each page of the forum  (Read 5845 times)

Offline Hawk the Slayer

  • Newbie
  • *
  • Posts: 8
Web Counter on each page of the forum
« on: April 25, 2009, 07:32:28 PM »
I use phpTrafficA to log all hits and visitors to my html website. I'd like to show the phpTrafficA hit counter at the bottom of each page in SMF. But I can't find where I need to insert the code to do this. Can anyone help please? Is there a footer and if so, where is it?

Thanks,
Hawk...

Offline Deaks

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 22,148
  • Gender: Male
Re: Web Counter on each page of the forum
« Reply #1 on: April 25, 2009, 08:15:32 PM »
firstly what version of smf, also I have moved this to a better board :D

Offline Hawk the Slayer

  • Newbie
  • *
  • Posts: 8
Re: Web Counter on each page of the forum
« Reply #2 on: April 29, 2009, 09:51:31 AM »
firstly what version of smf, also I have moved this to a better board :D

Thanks for the reply. sorry I'm late in getting back to you, been out of toown for a few days.

I'm using version 2.0 RC1 of SMF.

Hawk...

Offline Marcus Forsberg

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,608
  • Gender: Male
    • marcus.t.forsberg on Facebook
    • marcusforsberg on LinkedIn
    • @marcusforsberg on Twitter
    • marcusforsberg.net
Re: Web Counter on each page of the forum
« Reply #3 on: April 29, 2009, 09:53:01 AM »
How does that code look like?

./Themes/{your_theme}/index.template.php

Offline MauiMan2

  • Semi-Newbie
  • *
  • Posts: 22
Re: Web Counter on each page of the forum
« Reply #4 on: September 15, 2009, 04:57:04 PM »
I have a client that is demanding a hit counter on every single page of the forum. Is there a good way to do that? I have made some initial attempts and they have all failed.