{"id":118240,"date":"2011-03-20T08:00:00","date_gmt":"2011-03-20T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/newstatpress\/"},"modified":"2022-06-26T14:25:00","modified_gmt":"2022-06-26T14:25:00","slug":"newstatpress","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/newstatpress\/","title":{"rendered":"NewStatPress"},"content":{"rendered":"<p>NewStatPress is a new version of StatPress that was the first real-time plugin dedicated to the management of statistics about blog visits.<\/p>\n<p>It collects information about visitors, spiders, search keywords, feeds, browsers etc.<\/p>\n<p>Once the plugin NewStatPress has been activated it immediately starts to collect statistics information.<br \/>\nUsing NewStatPress you could spy your visitors while they are surfing your blog or check which are the preferred pages, posts and categories.<br \/>\nIn the Dashboard menu you will find the NewStatPress page where you could look up the statistics (overview or detailed).<br \/>\nNewStatPress also includes a widget one can possibly add to a sidebar (or easy PHP code if you can\u2019t use widgets!).<\/p>\n<p>With the new ajax\/javascript usage for variables in widget, the plugin is faster for a user being visit your site even with 1GB or more of database to use! (requires the External API be enabled in NewStatPress>Options>API)<\/p>\n<p>IMPORTANT: all previous versions from 1.0.4 are subject to XSS and SQL injection from an old Statpress routine. You have to use at least version 1.0.6 to avoid security issue.<br \/>\nPLEASE UPDATE always to the latest version available.<\/p>\n<h4>Support<\/h4>\n<p>Check at  http:\/\/newstatpress.altervista.org<\/p>\n<h4>What\u2019s new?<\/h4>\n<p>Simple adding index to database and changes some data fields for better database storing (from here http:\/\/www.poundbangwhack.com\/2010\/07\/03\/improve-the-performance-of-the-wordpress-plugin-statpress-and-your-blog\/ where some modification comes from)<\/p>\n<h4>Ban IP<\/h4>\n<p>You could ban IP list from stats editing def\/banips.dat file.<\/p>\n<h4>DB Table maintenance<\/h4>\n<p>NewStatPress can automatically delete older records to allow the insertion of newer records when limited space is present.<br \/>\nThis features is left as original StatPress but it will be replaced by the history data instead.<\/p>\n<h4>External API<\/h4>\n<p>External API are a way to gives the collected informations as a web service using a POST call.<br \/>\nWith it you can use (for example) your collected data of WordPress inside a Drupal site.<br \/>\nThe API must be enables by check a flag into the option (by default is disabled) and a private KEY must be entered (you can generate a random one).<br \/>\nThis KEY is for authenticate the called as a valid allowed client.<br \/>\nEven if the API is for external usage, it will be used internally for speed up page generation using AJAX, so at some point you will need to activate it to continue to see overview and Details pages.<\/p>\n<p>Actually those are the available commands:<\/p>\n<p>Command | Parameters | Description<\/p>\n<ul>\n<li>version                 gives the Newstatpress version in use<\/li>\n<li>dashboard               gives the Newstatpress dashboard overview table<\/li>\n<\/ul>\n<p>External API is actually used by Multi-NewStatPress (a software than manages data from multiple installation of NewStatPress in different servers).<\/p>\n<p>If you want to use the API you need to pass to POST those values:<\/p>\n<ul>\n<li>VAR   the variable for the query (like \u2018Version\u2019)<\/li>\n<li>KEY   the MD5 of date at minute level plus the key you enter into option (e.g in PHP: md5(gmdate(\u2018m-d-y H i\u2019).key) )<\/li>\n<li>PAR   the parameter associated with the VAR<\/li>\n<li>TYP   the type of result: JSON (default) of HTML<\/li>\n<\/ul>\n<p>into those url: your_site+\u201d\/wp-content\/plugins\/newstatpress\/includes\/api\/external.php\u201d<\/p>\n<h4>NewStatPress Widget \/ NewStatPress_Print function<\/h4>\n<p>Widget is customizable. These are the available variables:<\/p>\n<ul>\n<li>%thistotalvisits% \u2013 this page, total visits<\/li>\n<li>%alltotalvisits% \u2013 all page, total visits<\/li>\n<li>%totalpageviews% \u2013 total pages view<\/li>\n<li>%monthtotalpageviews% \u2013 total pages view in the month<\/li>\n<li>%todaytotalpageviews% \u2013  total pages view today<\/li>\n<li>%since% \u2013 Date of the first hit<\/li>\n<li>%visits% \u2013 Today visits<\/li>\n<li>%yvisits% \u2013 Yesterday visits<\/li>\n<li>%mvisits% \u2013 Month visits<\/li>\n<li>%wvisits% \u2013 Week visits<\/li>\n<li>%totalvisits% \u2013 Total visits<\/li>\n<li>%os% \u2013 Operative system<\/li>\n<li>%browser% \u2013 Browser<\/li>\n<li>%ip% \u2013 IP address<\/li>\n<li>%visitorsonline% \u2013 Counts all online visitors<\/li>\n<li>%usersonline% \u2013 Counts logged online visitors<\/li>\n<li>%toppost% \u2013 The most viewed Post<\/li>\n<li>%topbrowser% \u2013 The most used Browser<\/li>\n<li>%topos% \u2013 The most used O.S.<\/li>\n<li>%topsearch% \u2013 The most used search terms<\/li>\n<\/ul>\n<p>In widget, those are special html contropart:<\/p>\n<ul>\n<li>%br%  => <\/li>\n<li>%ul%  => <\/li>\n<\/ul>\n<ul>\n* %\/ul% => <\/ul>\n<ul>\n<li>%li%  => <\/li>\n<li><\/li>\n<li>%\/li% => <\/li>\n<\/ul>\n<p>Now you could add these values everywhere! NewStatPress offers a new PHP function <em>newstatpress_print()<\/em>.<br \/>\n* i.e. newstatpress_print(\u201c%totalvisits% total visits.\u201d);<\/p>\n<p>New experimental functions: place this command [NewStatPress: xxx] every were in your WordPress blog pages and you will have the graph about the xxx function.<\/p>\n<p>Available functions are:<br \/>\n* [NewStatPress: Overview]<br \/>\n* [NewStatPress: Top days]<br \/>\n* [NewStatPress: O.S.]<br \/>\n* [NewStatPress: Browser]<br \/>\n* [NewStatPress: Feeds]<br \/>\n* [NewStatPress: Search Engine]<br \/>\n* [NewStatPress: Search terms]<br \/>\n* [NewStatPress: Top referrer]<br \/>\n* [NewStatPress: Languages]<br \/>\n* [NewStatPress: Spider]<br \/>\n* [NewStatPress: Top Pages]<br \/>\n* [NewStatPress: Top Days \u2013 Unique visitors]<br \/>\n* [NewStatPress: Top Days \u2013 Pageviews]<br \/>\n* [NewStatPress: Top IPs \u2013 Pageviews]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NewStatPress (Statpress plugin fork) is a real-time plugin to manage the visits' statistics about your blog  (without external web analytics).<\/p>\n","protected":false},"author":65,"featured_media":313948,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"NewStatPress - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"NewStatPress (Statpress plugin fork) is a real-time plugin to manage the visits' statistics about your blog (without external web analytics)."},"footnotes":""},"categories":[1],"tags":[197,119,481,482,120],"class_list":["post-118240","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-admin","tag-sidebar","tag-statistics","tag-stats","tag-widget"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/118240","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=118240"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/118240\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/313948"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=118240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=118240"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=118240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}