Fork me on GitHub

Visitors Counter  Bottom

  • Dear all,

    I am currently looking for a Vistors Counter for my Postnuke.

    Can anyone recommand me one?

    Thanks!

    Regards,

    Jack
  • Hello,

    I just installed the Statistics Module as recommended in another thread, and rather than start a new thread I thought I'd continue this one.

    Is there a way to have it show the details of the anonymous user? What pages they are viewing/links they are following?

    In addition, can it track pages wraped with NukeWrapper? Many of the pages on our site are regular HTML pages wrapped using Nukewrapper, and I would like to incorporate those into the statistics.

    Thank you.
  • Yes
  • ColdRolledSteel

    Yes


    :)

    Would that be yes to 1) keeping track of anonymous visitors, or 2) yes to keeping track of nukewrapper? Or both?

    And if yes for 1), how would I do that? As of now, when I set the report to "every" user, I don't get anonymous/guest stats.

    thank you
  • TheProf

    Would that be yes to 1) keeping track of anonymous visitors, or 2) yes to keeping track of nukewrapper? Or both?

    Sorry, I was in a hurry this morning.

    Umm.. both. Easiest way to check on nukewrapper is to open phpMyAdmin in a second browser, go to the nukewrapped page in the first browser, then go browse the nuke_stats_details table in the second window and look at the last row in the table. You should see the "page.php?..." in the requrl column.

    Quote


    And if yes for 1), how would I do that? As of now, when I set the report to "every" user, I don't get anonymous/guest stats.

    Yeah, forgot about that. Most folks don't want to track anonymous users that closely.

    Here's how to hack a solution:

    1. copy subreports/userdetail.php to subreports/anonymousdetail.php

    2. edit anonymousdetail.php and make these changes:

    a. Change all occurances of "830" to "831".
    b. Change all occurances of "UserDetails" to "AnonymousDetails".
    c. Change all occurances of "statistics_userdetails_form" to "statistics_anonymousdetails_form".
    d. Change all occurances of "statistics_userdetails_subreport" to "statistics_anonymousdetails_subreport".
    e. Change all occurances of "udu" to "uadu".
    f. Change all occurances of "ud" to "uad". (Do after step e!)
    g. Change this code:

    Code

    if ($victim == _STATSUSERALL) {
        $whereuname = "$column[uname] != '' and $column[uname] != 'Anonymous' ";
        } else {
        $whereuname = "$column[uname] = '".pnVarPrepForStore($victim)."' ";
        }


    to:

    Code

    $whereuname = "$column[uname] != '' and $column[uname] != 'Anonymous' ";
            $victim="Anonymous";


    h. Change all occurances of _STATSUSERDETAIL to "Anonymous Details". (Note addition of quotes are required.)


    That ought to add another subreport to menu reports. The hack obviously has multi-language and other display issues. But it ought to give you what you are looking for.

    Let me know if that works for you. Maybe we'll add it to the next statistics release if it helps you and others want it.

This list is based on users active over the last 60 minutes.