User Functions


There are no upcoming events

What's New

Stories last 2 weeks

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

Downloads last 2 weeks

No new files

Welcome to Geeklog Wednesday, December 07 2016 @ 11:18 am EST

Geeklog Usage Stats [GUS] Plugin 1.5

  • Contributed by:
  • Views:
Hello all!

I've released a new version of GUS. I highly recommend that everyone upgrade to this version because it contains a security fix. Before you start freaking out, the problem does not allow any kind of compromise of the system - it only allows non-authorised users to view some of the GUS pages.

In this release:

v1.5.0 [13 Oct 2005]

  • [security fix] fixed a problem which might allow non-authorised users to view some stats pages
  • [fix] if you had a file outside the document root which included lib-common.php, the path would not be correct when the stats were entered in the database [introduced in 1.4]
  • [fix] if your $CONF['site_url'] was '' and someone arrived via '', then '' would show up as a referrer in the Who's Online block
  • [fix] sorting columns on today's stats was broken
  • [new] added new config option $_GUS_CONF['allow_ignore_anonymous'] to optimise a bit if you do not need the ability to ignore the user 'Anonymous'
  • [new] added filtering by referrer
  • [new] added some more navigation options to some pages

It is available through my geeklog software page.

- Andy Maloney

The following comments are owned by whomever posted them. This site is not responsible for what they say.

  • Geeklog Usage Stats [GUS] Plugin 1.5
  • Authored by:samstone on Tuesday, October 18 2005 @ 04:46 am EDT
This is the message I a get during installation
"For some reason, installation failed. Check your error logs."

The error log shows at one point:
1062: Duplicate entry '32-29' for key 1. SQL in question:
Failure adding gus.admin feature to admin group

Any idea?
  • Geeklog Usage Stats [GUS] Plugin 1.5
  • Authored by:asmaloney on Wednesday, October 19 2005 @ 10:01 am EDT

This probably means your db has some extra junk in it from plugins not being removed properly. Email me and we can figure out how to fix it.

-Andy Maloney

  • Geeklog Usage Stats [GUS] Plugin 1.5
  • Authored by:Anonymous on Monday, November 14 2005 @ 04:34 pm EST
does this version support register_globals=off ?

  • Geeklog Usage Stats [GUS] Plugin 1.5
  • Authored by:asmaloney on Sunday, November 20 2005 @ 10:17 pm EST
Sorry for the late reply - I just noticed this comment.

No, at this time it doesn't support register_globals off, but I am working on it. When I find a bit more time, I'll make sure all my plugins support this.

- Andy

  • Geeklog Usage Stats [GUS] Plugin 1.5
  • Authored by:dbsmall on Tuesday, December 20 2005 @ 11:18 am EST
Anyone have any data on size limits for your GUS tables?

(I ask, because I had GUS running for quite a while, on a busy site. And I wasn't able to view the main GUS page, anymore. I'd click the link, there'd be a long delay, and then I'd return to the page I came from.

I *was* able to look at the daily stats.

And after I cleared the stats, I'm able to use it once I suspect it was a timeout thing on some routine.)
  • Geeklog Usage Stats [GUS] Plugin 1.5
  • Authored by:asmaloney on Tuesday, December 20 2005 @ 06:48 pm EST

Because the page is generated dynamically, it could be timing out if you have a lot of data. One way to decrease the time is to limit the number of months it is trying to display using $_GUS_months.

If that is already done, then check that you've cleared out all the data your filters match on the admin page. For example, I don't keep track of many of the bots which hit my sites, so I set filters for them and clear out any data I have. This saves a lot of space and will speed up the db queries significantly.

If you've already done that then... ?? I suppose what should be done is to generate the totals in another table and update them less frequently or to generate some of the page statically.


  • Geeklog Usage Stats [GUS] Plugin 1.5
  • Authored by:1000ideen on Friday, January 27 2006 @ 12:14 pm EST
One question: The old stats 1.3 which I was using up to now displayed the user agent information like googlebot, inktomi or the name of the access provider like arcor-pool. This was very helpful as I could roughly see if humans were accessing the site or just bots.

This information seems to be visible only with one more click in GUS. Is it possible to display it in the main table e.g. instead of the IP adresses?