News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

StatCounter by BurkeKnight Enterprises

Started by Burke ♞ Knight, December 16, 2008, 06:11:11 AM

Previous topic - Next topic

Burke ♞ Knight

Link to Mod

StatCounter by BurkeKnight Enterprises

Version: 2.0 Date: June 20, 2013
Compatibility: SMF 1.1.x & SMF 2.0

Made by: BurkeKnight - BurkeKnight Enterprises

This modification adds a way for the admin to add StatCounter to their site.

SMF 1.1.x: Admin > Features and Options
SMF 2.0.x: Admin > Modifications

It also has a link to StatCounter, so you can set up an account and also set up the counter for your site.

Some of the stats and features StatCounter offers:
Invisible Counter Option, Configurable Counter, Configurable Summary Stats,
Magnify User, Drill Down, Popular Pages, Entry Pages, Exit Pages, Came From,
Keyword Analysis, Recent Keyword Activity, Search Engine Wars, Visitor Paths,
Visit Length, Returning Visits, Recent Pageload Activity, Recent Visitor Activity,
Country/State/City Stats, Recent Visitor Google Map, ISP Stats, Browser Stats,
O.S. Stats, Resolution Stats, JavaScript Stats, Email Reports, Multiple Site Management,
User Access Management, Public Stats, Blocking Cookie.

StatCounter Project:
Inside every FREE StatCounter Account you can set up a StatCounter Project..
Project Code + Log Space:     
..and with every project you get Project Code + Log Space!
Put the code on your webpage:     
You put your code into your webpage and every time someone visits a webpage..
..the code sends visitor info back to your log       
..the StatCounter Project code sends valuable information about the visitor back to your log.
Charts & Lists:
StatCounter organizes all this information into charts & lists to make your analysis easier..
1 Website = 1 Project:
..and if you have more than one site, you simply set up another StatCounter Project in the same account!

Support:
If need support for this mod, please go to BurkeKnight Enterprises and register there.

We have a support ticket system for mod support.

We will no longer be supporting this mod here at the SMF site,
as we feel it is easier to keep all support at our site.


StatCounter in SMF 1.1.7:


StatCounter in SMF 2.0.x:

tyhgdgh



Burke ♞ Knight

ScreenShots of setting areas and a visible StatCounter button, showing where it would show up at, are added to the first post.

evil-angelist

Quote from: BurkeKnight on December 16, 2008, 07:25:30 AM
ScreenShots of setting areas and a visible StatCounter button, showing where it would show up at, are added to the first post.

Thanks :)

Sabre™

You just reminded me that I have an account with statcounter lol
Nice mod mate :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Burke ♞ Knight


Fat_Man


Geat idea - I went from SMF forums to Google to seek answers and Google found what i needed here... !!! (Statcounter for forum)  :)

All I need to do is get it to work.

1.  Execute Modification  ./Themes/default/index.template.php  Test failed
2. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
3. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Test successful
4. Execute Modification ./Sources/ModSettings.php Test successful


I am using the DILBER theme... does that matter?

I've attached the index.template.php file from the "default" folder.

Thanks for any help/instructions.



Burke ♞ Knight

On the index.template.php edit, you can actually place that just about anywhere you want the statcounter to show up at.
Just be sure to back up the file first, and make sure that you edit it correctly for the place you want it at. :)

adp


TheListener


DocPixel

I've installed the mod and added the code to my custom theme index.template.php. But on statcounter, it's only counting the homepage stats. How can I get it to show stats for all the forum pages?

SMF 1.1.9

Thanks.

TownUnderground

I have two statcounter boxes showing up at the bottom of my forum, shouldn't there be only one?

Sabre™

Yes, there should only be one.
You have duplicate code in your index.template.php, just remove it and also check your Modifications.english.php and ModSettings.php.
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Kreator

Can anybody point me in the right direction with editing the index.template.php. I am trying to insert this into SMF2 RC2

but I get a parse error whenever I upload the file to the server, my template is attached. 

Kreator


mike s

i tried installing to a test RC2 area, but the installation tests failed so I didnt complete it. Would love to see this upgraded for RC2 :)

Kreator

Finally got it working on RC2 ..... Just stick the code for index.template.php anywhere before the </body> tag

gastan

I hope this mod is still being supported.  I'm using SMF ver 1.1.11 with default theme.

Have installed this mod and it seems to work fine ... but ...

Just now I checked my forum and Forum Stats said there were 42 guests online.  I logged into StatCounter and it is telling me that no one has visited my forum (there have been no page loads) in the last 5 hours.  ??  ??  ?? 

Is this a problem with the mod or with StatCounter?  How can there be 42 people on the forum but StatCounter doesn't log them?  Or is SMF messed up somehow?

Thanks.

gastan

Bump.  Anyone have any ideas?

gastan


Kreator

Have you inserted the statcounter code into the forum ???

gastan

Quote from: Kreator on February 04, 2010, 10:13:11 AM
Have you inserted the statcounter code into the forum ???

Yes.  Since SMF is contained in a folder called "Forum" inside the website for our organization I used the StatCounter code for the website.  The StatCounter counter shows at the bottom of every page of the forum - even the admin areas.

When logged into StatCounter each page load is shown whether it is for a page on the website or a page on the forum.  Still --------- StatCounter will show NO page loads for several (3-4-5) hours (on either the website OR the forum) but when you go directly to the forum the stats will often show 30-40-50 guests online.

(Thanks for responding)

Kreator



You don`t need to post it everywhere, there is a section in admin to post the code, I`m using SMF 2.0 RC2  and its in Admin/Configuration / Modification Settings/ just insert the code once in there.  I have had no problems whatsoever with it

gastan

#24
I didn't post it/insert it everywhere.  I put it in the box that the mod creates in the admin area.  That is the only place I put it.  The counter shows on every forum page and I assume that that is one function of the mod.

steveraven

I have a problem -

I've had a statcounter account for ages on my main website and I thought I'd open a seperate account in order to monitor my SMF forum.

My SMF version is 1.1.12 and using Blackbox theme.

On going to Configuration>> Features and Options>> Enter Statcounter html code, when I hit 'Save', my browser just hangs and will not reload.

Using IE7


steveraven

Right, I got around the IE7 thing by dumping it and using Opera.

But theres a problem and I think its at Statcounter's end, but they arent replying - when you try to create your 'default installation code' on the account wizard, you cant get it. Check in the code itself and you'll find you created it for tumblr, websitetonight, drupal, or any of a whole manner of things, but no default installation code at all.

Paccman


TheListener

I very much doubt it.

The mod hasn't been updated for a long time and the er post before yours was January this year.

Kreator


Theatre Publicity

I just installed this mod, will see what happens.
Visit www.todosquepaso.com/simplemachinesforum to publicize your show or event. Purchase may be required.

Burke ♞ Knight

#31
Mod has been tested and re-done with 2.0.x in mind.
It is same version since no real changes had to be made, but name change for the BK Modding Team.

Burke


If need support for this mod, please go to BurkeKnight Enterprises and register there.

We have a support ticket system for mod support.

We will no longer be supporting this mod here at the SMF site,
as we feel it is easier to keep all support at our site.

meemzo

Just wanted to add, that I got this to work AFTER I choose the default installation with Standard XHTML  Worked for me after trying every other installation, so I thought I'd share

Advertisement: