Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: FBI on June 07, 2004, 02:47:12 AM

Title: [How to] Add FreeWeb Statistic from 3rd party Code
Post by: FBI on June 07, 2004, 02:47:12 AM
I place "1-2 piece of code" at index.template.php, Free WEB Statistic.. So, my FORUM can collect the site referer or else from another 3rd party like NedSTAT, Geobytes, AdsFreeStat or FreeWeb Counter..

Adding this code at INDEX template, make the STATS counts countinuosly. Because, every page of BOARD or Category open, the STATS always counts... And results of Statistic higher, and higher...  :( :( :(

So, i need that STATS code will call ONCE of every open FORUM SITE open... Not, every boards open..

Does every one here can help me? ??? ???

Thank You Very Much..


Regards..

FBI
Title: Re: [How to] Add FreeWeb Statistic from 3rd party Code
Post by: Aquilo on June 07, 2004, 03:02:28 AM
are you saying you want to load that code once per visit, not on every page load?
Title: Re: [How to] Add FreeWeb Statistic from 3rd party Code
Post by: FBI on June 07, 2004, 08:04:26 AM
Quote from: Aquilo on June 07, 2004, 03:02:28 AM
are you saying you want to load that code once per visit, not on every page load?

Yups.. that right  :D
Can you?  ???
I am studying the code, now  8)

Sorry my English  :-[ :-[ :-[
Title: Re: [How to] Add FreeWeb Statistic from 3rd party Code
Post by: Ben_S on June 07, 2004, 09:16:41 AM
Use a different counter that only records unique visits not all hits.
Title: Re: [How to] Add FreeWeb Statistic from 3rd party Code
Post by: FBI on June 07, 2004, 10:42:12 AM
Quote from: Ben_S on June 07, 2004, 09:16:41 AM
Use a different counter that only records unique visits not all hits.

You mean i must setup my Counter to Only Unique Visitor?  ???
I use the free other FreeStatistic, so my site call their code from my forum (every page) :( And thats make Forum Look Slow on access.