Hello,
Baidu, the chinese search engine, is showing up as a regular visitor on my page. Google, bing, and yahoo are properly labelled as spiders, but my page has gotten 188 “hits” from Baidu, which is skewing my analytics.
Can anyone show me how to make statsurfer recognize Baidu as a spider?
Thanks,
Devin
Look here how to speed up StatSurfer:
https://www.pal-blog.de/entwicklung/mysql/2012/speed-up-wordpress-statsurfer-plugin.html
First Sorry for my Very Bad English.
I`ve made an Portuguese Brazillian translation.
Is There any possibility to publish the plugin with the option to change the language in the Admin ?
I did not found this option in the Plugin`s Options Page.
]]>Please visit StatPress Community
In the next week I’ll discuss some alternatives from the original StatPress and a roadmap on WordPressReady site.
Stay tuned.
Thanks!
Hi,
Options page should always ask for ‘manage_options’ capability, and not $mincap (‘level_8’ by default).
So, you should replace $mincap with ‘manage_options’ at line 159 of statsurfer.php file…
Hi,
You ask for minimum capability to be ‘level_8’, which is not used by WordPress…
You should ask for a specific ‘manage_stats’ capability and associate it to administrators by default, so this capability will be available for other users too via a plugin like Role Manager…
So, you should replace ‘level_8’ with ‘manage_stats’ at line 150 of statsurfer.php file.
Then, StatSurfer_CreateTable should contain:
if ($user = get_role (‘administrator’)) $user->add_cap (‘manage_stats’);
It gives me an error:
Warning: gethostbyaddr() [function.gethostbyaddr]: Address is not a valid IPv4 or IPv6 address in /xxx/xxx/append.php on line 17
If fixed it by changing
$host = gethostbyaddr($ip);
to
$host = @gethostbyaddr($ip);
Sometimes a warning is displayed at the top of a page, saying url couldn’t get opened!
Can you just add a @
before the file_get_contents($url)
call at line 314 of append.php file?
I turned this on and 3 days later I came into the entire website loading about one time every 10-15 minutes. This is a dedicated server, not some shared hosting plan. Something is just not right about what this plugin is trying to do. I would highly suggest NOT using this plugin on a development environment.
]]>invalid function not a valid ipv6 address or something with cant modify header- header already sent this was the error found once i view my wordress site with statsurfer on. any method to avoid this? thanks
]]>No Data is loaded / displayed after update and deactivating and activating StatSurfer!
??
]]>When I activate 1.2 version it print following errors:
“Warning: include(install_pl.php) [function.include]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/fi/wp-content/plugins/statsurfer/statsurfer.php on line 35
Warning: include(install_pl.php) [function.include]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/fi/wp-content/plugins/statsurfer/statsurfer.php on line 35
Warning: include() [function.include]: Failed opening ‘install_pl.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/xxxxxx/public_html/fi/wp-content/plugins/statsurfer/statsurfer.php on line 35″
]]>Hello,..
Plugin was success installed and everything look great and smooth.
But only the pageviews yesterday can not display, it display always zero (0).
I have used this code:
%pagesyesterday%
How to fix this?
Thanks.
Like the title says, it’s still broken. Keep getting the header error and I can not post with this plugin active.
]]>Just trying out this plugin for the first time.
I am quite disappointed that it is the version that broke my Dashboard.
Here’s the readout:
Warning: include(install_pl.php) [function.include]: failed to open stream: No such file or directory in /home/thestrayworld/public_html/wp-content/plugins/statsurfer/statsurfer.php on line 35
Warning: include() [function.include]: Failed opening ‘install_pl.php’ for inclusion (include_path=’.:/usr/share/php:/usr/share/pear’) in /home/thestrayworld/public_html/wp-content/plugins/statsurfer/statsurfer.php on line 35
Fatal error: Call to undefined function StatSurfer_CreateTable() in /home/thestrayworld/public_html/wp-content/plugins/statsurfer/statsurfer.php on line 139
I hope you can offer a suggestion. Meanwhile, I need to find a way to deactivate the plugin manually.
]]>Hi,
the current Version (1.1) seems to be broken.
On each and every page a few PHP warnings at the top of the page are telling me, that a certian install_pl.php in the plugin folder can’t be found.
The file is named ‘install_PL.php’ so I thinked that was the problem – it wasn’t the warnings stay…
The upgrade to the last version 1.1 returns a fatal error and the blog not work.
]]>I was using StatSurfer with much success and was very happy with it for a few weeks. Without running any updates to my site version or the plug-in itself, it suddenly disappeared off my Dashboard last night.
I know longer see StatSurfer on my plu-in list or the options for it under Settings. When I searched for the plug-in to see if I could re-install, wordpress said I already have it installed.
I took a guess at direct urls to the settings at
/wp-admin/options-general.php?page=statsurfer
or
/wp-admin/options-general.php?page=statsurfer.php but neither worked
Any help is appreciated
]]>Fatal error: Cannot redeclare iri_add_pages() (previously declared in …/wp-content/plugins/statpress-reloaded/statpress.php:23) in …/wp-content/plugins/statsurfer/statsurfer.php on line 162
(replaced my path with … )
Using with StatPress Reloaded 1.5.21
]]>Great! It worked immediatelly after installation.
However, WP told it was not yet tested with 3.0… I asked the author (who answered immediatelly! Thanks for it) and confirmed, that the plugin is good for the newest WP version.
Thanks a lot!
Tamas
]]>Changed the statsurfer.php to use curl instead of url fopen. This is my diff:
# diff wp-content/plugins/statsurfer/statsurfer.php.orig wp-content/plugins/statsurfer/statsurfer.php
599c599,604
< $ciso = file_get_contents($url);
---
> $curl_handle = curl_init($url);
> curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT,10);
> curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
> $ciso = "";
> $ciso = curl_exec($curl_handle);
> curl_close($curl_handle);
2140c2145,2152
< $res = file_get_contents($url);
---
> // $res = file_get_contents($url);
> $curl_handle = curl_init($url);
> curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT,10);
> curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
> $res = "";
> $res = curl_exec($curl_handle);
> curl_close($curl_handle);
>
3285c3297,3303
< $ciso = file_get_contents($url);
---
> // $ciso = file_get_contents($url);
> $curl_handle = curl_init($url);
> curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT,10);
> curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
> $ciso = "";
> $ciso = curl_exec($curl_handle);
> curl_close($curl_handle);
3550c3568,3574
< $ciso = file_get_contents($url);
---
> // $ciso = file_get_contents($url);
> $curl_handle = curl_init($url);
> curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT,10);
> curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
> $ciso = "";
> $ciso = curl_exec($curl_handle);
> curl_close($curl_handle);
3713c3737,3743
< $ciso = file_get_contents($url);
---
> // $ciso = file_get_contents($url);
> $curl_handle = curl_init($url);
> curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT,10);
> curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
> $ciso = "";
> $ciso = curl_exec($curl_handle);
> curl_close($curl_handle);
3944c3974
< ?>
\ Kein Zeilenumbruch am Dateiende.
---
> ?>
]]>