A fork of StatPress with 9 convenient OPTIONAL pages, including new Bot Spy, Visitor, Referrer and Yesterday pages.
StatPress Visitors (a highly improved fork of StatPress Reloaded) shows the real-time statistics on your blog. It corrects many programming errors of the original StatPress and StatPress Reloaded. It collects informations about visitors, spiders, search keywords, feeds, browsers, OS, etc.
StatPress Visitors is compatible with StatPress, StatPress Cn, StatPress Reloaded, Statsurfer and NewStatpress.
StatPress Visitors is NOT compatible with kStats Reloaded, as they use a modified database table structure. Users who have enabled kStats Reloaded must delete the StatPress database table to be able to use StatPress Visitors.
StatPress Visitors features include:
[New in 1.5] New page "URL Monitoring" which shows all URLs requested that do not correspond to the posts and pages written by an author in order to deny access to intruders or hackers.
ALL search engines, spiders, RSS feeds, browsers and OS are represented by their logo. Internet domains and countries, are represented by their national flag. All icons, flags and logo display the correct name via a tooltip on mouse-over.
FULL PHP 5.4 compatibility
A new accounting method that significantly reduces the number of SQL queries in the main page by the use of the Set Theory
See the number of unique visitors, page views, subscriptions to RSS feeds and search engines for each page and posts of your website for every day saved in the database by graphs of 7, 15, 21, 31 or 62 days depending on the option chosen
Visitor Spy page (log of visits) has been redesigned and now sorts the display starting with the most recent visit. This corrects an error of StatPress and StatPress Reloaded.
Options to set the number of IP addresses displayed on each page (20, 50 or 100) and the number of visits for each IP address (20, 50 or 100).
Visitors Spy and Bot Spy pages now have optimised SQL queries
Visitors, Views and Feeds pages show the traffic to your site for each page, on graphs of 7, 15, 21, 31 or 62 days from the largest to the smallest traffic.
Update Database page has been redesigned to allow retrospective update of the datatable according to changes in the StatPress Definition Files. Further details available at: http://additifstabac.free.fr/index.php/how-to-update-definitions-os-browsers-of-StatPress-visitors/
Optionally ignore statistics collection for logged in users and bots
StatPress Visitors can automatically delete older records to allowing insertion of newer records when your space is limited. In these case the data table is automatically optimised after the purging of old records.
The widget is customisable. These are the available variables :
Warning: These variables can cause a break in service when the database is very large (> 200,000 lines) and should be avoided:
You can add these values everywhere! StatPress offers a new PHP function StatPress_Print().
Put it in your template where you want the details to be displayed. Remember, as this is PHP, it needs to be surrounded by PHP tags!
StatPress_Print("This page has been viewed %thistodaypageviews% times today.");
You can ban IP addresses, preventing them from being included in your stats by editing the file def/banips.dat in the StatPress Visitors plugins directory.
You can choose the data to update in your database (browsers, OS, search engines and spiders). Text matches below are based on part string matches.
The format for browsers (browser.dat) is: [name] | [user agent text to match -without all space caracters-] |
e.g. Chromium 15|Chrome/15|
The format for operating systems (os.dat) is: [name] | [user agent text to match -without all space characters-] |
e.g. Linux Android|Android2.2.1|
The format for spiders (spider.dat) is: [name] | [user agent text to match] |
The format for spam bots (spambot.dat) is: [name] | [user agent text to match] |
e.g. Purebot Spam Bot|Purebot|
The format for search engines (searchengine.dat) is: [name] | [domain url part] | [query search key text] | [query search key stop] | note: there is 4 pipes each line.
So for a search engine who have a URL like Google : http://www.google.fr/search?q=statpress+visitors
From this example you can see that the domain part of the URL is "www.google.fr",
however as a number of search engines use regional domains, you need only enter the http://www.google. part.
Secondly, notice the "q=" in the URL, that is the query search key text.
note: in these case [stop] is empty.
Some few Search engine have a URL not like the Google URL but like this one : http://fr.eannu.com/benson_platinum.htm In the case the format for search engine is still: [name] | [domain url part] | [query search key text] | [query search key stop] |
note: the query text is the text betwwen [query search key text] and [query search key stop]. Secondly, [domain url part] must be include in [query search key text], there is still 4 pipes | each line.
When image is name.png
e.g. the definition of Safari Mobile 7.0 like: Safari Mobile 7.0|Version/184.108.40.2060MobileSafari/534.11| in def/browser correspond to the image safari_mobile_7-0.png in images/browser
note: the heigth of all the images is fixed to 16 pixels.
Requires: 2.8 or higher
Compatible up to: 3.5.1
Last Updated: 2013-3-3
1 of 4 support threads in the last two months have been resolved.
Got something to say? Need help?