Giter Club home page Giter Club logo

gus's Introduction

Geeklog Usage Statistics plugin (GUS)

Summary

The Geeklog Usage Stats [GUS] plugin collects statistics on who visits your site, what browser and operating system they are using, which pages they view, and which links they are clicking to get there. It allows the administrator to browse these stats through a series of tables, getting right down into the data. It is based on the venerable Stats plugin v1.3 by Tom Willett and John Hughes.

Main Features

  • Collect a wealth of statistics on your visitors including users and bots
  • Can setup ignore lists for Users, Pages, Host Names, IP Addresses, User Agents, and Referrers
  • Enhanced Who's Online Block for Admins

Other Information

For more information on this plugin and how to install it please read gus/admin/readme.html found in the install file.

Geeklog Homepage: https://www.geeklog.net

GUS Plugin Homepage: https://github.com/Geeklog-Plugins/gus

To find the latest releases see: https://github.com/Geeklog-Plugins/gus/releases

To request a feature or report an issue see: https://github.com/Geeklog-Plugins/gus/issues

gus's People

Contributors

esilverstrike avatar mystralkk avatar hostellerie avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar Google Code Exporter avatar  avatar

Forkers

hostellerie

gus's Issues

Gus has a problem saving some user agents

Found an error where GUS has problem saving a user agent.

It appears to be with the platform column when it contains brackets.

Here is the error from the Geeklog error log:

Wed 03 Oct 2018 21:51:54 EDT - ip address - 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Mozilla',
                version = '5.0',
                platform = '[Robot]'' at line 3 in /plugins/gus/functions.inc:773. SQL in question: INSERT INTO gl_gus_user_agents SET
                user_agent = '\'Mozilla/5.0 (compatible; DuckDuckBot-Https/1.1; https://duckduckgo.com/duckduckbot)\'',
                browser = ''Mozilla',
                version = '5.0',
                platform = '[Robot]'  

Duplicate User Agent sql error that is not a duplicate

Still getting the odd duplicate entry for user agents in the error log when the visitor stat is added to the gus tables. . It is not a duplicate as I took the insert statement and was able to insert it via phpmyadmin without any problems. Not sure why this error is happening then .. is it something with the special characters in the user agent?

1062: Duplicate entry 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/' for key 'user_agent' in ...\plugins\gus\functions.inc: 781. SQL in question: INSERT INTO gl_gus_user_agents SET
                user_agent = 'Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html£©',
                browser = 'Netscape',
                version = '5.0',
                platform = '[Robot]' 

Removed Links Followed In Stats

This is for the Links plugin which most people don't use anymore and is not really relevant to the stats.

See Visitor Statistics by Day

Update GUS Cache System

Should maybe use Template Cache or at least move the GUS Cache pages into the Geeklog data directory so they are not accessible directly by the internet.

E_USER_ERROR(256) - 1071: Specified key was too long; max key length is 1000 bytes

Hello DEvelopers,

I'm trying to install some plugins with the Geeklog 2.1.2 RC1. With this plugin I will be forwarded to the install URL in the plugin manager, but there is this error message.

E_USER_ERROR(256) - 1071: Specified key was too long; max key length is 1000 bytes @ /xxxxxxxxxxxxxx/system/databases/mysqli.class.php line 459

Could you see this again.

Thanks in advance.

Maybe the plugin needs to be fixed or updated.

P.S. I test the days very much at the Geeklog 2.1.2 RC 1 CMS.

Gus Errors on usernames that contain a quote

If Geeklog username contains a quote Gus insert of stat will result in a sql error.

Usernames are not suppose to have quotes but this can happen with older usernames and those from remote accounts.

Thank you!

Not an issue - just ran across this repo.

I'm surprised GUS still exists and wanted to say thanks to the maintainers for keeping it alive!

It's fun reading my old stuff :-)

Duplicate entry error with user agent table when large number of visitors accessing site

10/03/15 15:26:45 - 46.118.115.65 - 1062: Duplicate entry 'Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0 ; .NET CLR 2.' for key 'user_agent' in C:\inetpub\mysite\plugins\gus\functions.inc:738. SQL in question: INSERT INTO gl_gus_user_agents SET
user_agent = 'Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0 ; .NET CLR 2.0.50215; SL Commerce Client v1.0; Tablet PC 2.0',
browser = 'MSIE',
version = '7.0',
platform = 'Windows Vista'
10/03/15 15:26:45 - 46.118.115.65 - E_USER_ERROR(256) - An SQL error has occurred. Please see error.log for details. @ c:\inetpub\mysite\system\databases\mysqli.class.php line 279

Support Geeklog v2.2.0 - Use Updated Functions in code

Replace old ways of doing things with new functions:

  • COM_CreateHTMLDocument (remove COM_SiteHeader, COM_SiteFooter)
  • echo COM_refresh to COM_redirect($_CONF['site_url'] . '/calendar/index.php');
  • $topicnavbar = COM_newTemplate(CTL_plugin_templatePath('forum'));
  • New Input instead of com_stripslashes, etc.. ( $page = (int) Geeklog\Input::fPost('cpage', 0);)
  • = DB_escapeString($pid);
  • $message = GLText::remove4byteUtf8Chars($message);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.