GetSimple Support Forum
HitCount Plugin - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: HitCount Plugin (/showthread.php?tid=1325)

Pages: 1 2 3 4 5 6 7 8


HitCount Plugin - mvlcek - 2011-10-25

Angryboy Wrote:As much as I love the analysis that this plugin provides, both it and its previous iterations have broken my site, and I don't know why.

Everything works for the first week or so, but then every page (except the admin back end) goes blank, and no-one can visit the site. It is only after I either disable or remove the plugin that things get working again. Am I doing something wrong?

For me on mvlcek.bplaced.net it works without problems so far (besides a timeout with the previous version analyzing too large logs).

The only reason for this problem that I see is the lock file (data/other/hitcount/lock.txt) to prevent simultaneous accesses. Maybe it stays locked when the PHP script crashes or is aborted?
Try deleting it and see if everything works afterwards. If you can't delete it, it's still locked - but by whom?
If you deleted it and still nothing works, try creating it again (empty text file). If creating the file doesn't work (on Linux), some process still holds the file.

According to the PHP documentation all locks will be released on termination of the script. Normally all PHP scripts are aborted after x seconds automatically. So I'm not sure what could cause this problem.


HitCount Plugin - patriotmedia - 2011-11-01

Thanks for the many updates! A quick question... when I go to export as a CSV, I'm taken to a page that just says "Not logged in!" - I am logged in to the admin area, or else I couldn't start the process. Any ideas to what is causing this? Same with the export to Excel link.

Also - is there a way to easily reset the stats? I have the IP blocker in place going forward, but I'd like to reset everything to zero once I take a site from development to live.


HitCount Plugin - mvlcek - 2011-11-01

patriotmedia Wrote:Thanks for the many updates! A quick question... when I go to export as a CSV, I'm taken to a page that just says "Not logged in!" - I am logged in to the admin area, or else I couldn't start the process. Any ideas to what is causing this? Same with the export to Excel link.

You need to enable site wide cookies in your gsconfig.php and - if you are not using I18N Gallery or I18N Custom Fields - you need to get the newest version 2.0.3, which implements a workaround of a GetSimple bug with site-wide cookies.

patriotmedia Wrote:Also - is there a way to easily reset the stats? I have the IP blocker in place going forward, but I'd like to reset everything to zero once I take a site from development to live.

Delete all files (with the exception of .htaccess) in /data/other/hitcount and re-index data (on bottom of hitcount page) or delete everything (with the exception of .htaccess) in /data/other/hitcount-index.
It seems that the reset function got lost in the redesign :-(


HitCount Plugin - patriotmedia - 2011-11-01

Great... I didn't see that the lastest version was posted today. Everything's working... A question about the IP blacklst text file - can I include a wild card entry? For example...

75.127.157.*

So that everything in that range is included?


HitCount Plugin - mvlcek - 2011-11-01

patriotmedia Wrote:Great... I didn't see that the lastest version was posted today. Everything's working...

I uploaded it after your post. I didn't think about the workaround before, because for me everything worked, as the workaround was already implemented in some of the other plugins.

patriotmedia Wrote:A question about the IP blacklst text file - can I include a wild card entry? For example...

75.127.157.*

So that everything in that range is included?

No that is not possible. But you could easily do this in the function hitcount_is_blacklisted, if you know php.


HitCount Plugin - MickeyUK - 2011-11-08

Hi all,
I'm having a weird problem with the latest version of the HitCount plugin. When I click the Hits & Visits tab, the screen displays the message 'Month 2011/09 indexed....' then the page refreshes itself constantly every second, with nothing happening. Can anyone help?


HitCount Plugin - mvlcek - 2011-11-08

MickeyUK Wrote:Hi all,
I'm having a weird problem with the latest version of the HitCount plugin. When I click the Hits & Visits tab, the screen displays the message 'Month 2011/09 indexed....' then the page refreshes itself constantly every second, with nothing happening. Can anyone help?

This is the expected behaviour - indexing month after month and preventing time outs by doing only one month per request, but it should do a different month for each request.
Please check, if you have a writable directory /data/other/hitcount_index and create it if necessary.


HitCount Plugin - MickeyUK - 2011-11-08

I deleted the hitcount_index folder, created a new one and now it's working. Thanks for the help, it's a great plugin! Big Grin


HitCount Plugin - m1k3y - 2011-11-24

Hey, thx for this great plugin(your others do very well, too Big Grin)
..but would it be possible to include front end visitor stats with an embed code or something.
For example: Total visitors and vistors today
Would be very nice...


HitCount Plugin - Oleg06 - 2011-11-24

Russian translation http://neowebtime.ru/ru.zip


HitCount Plugin - mvlcek - 2011-11-24

m1k3y Wrote:Hey, thx for this great plugin(your others do very well, too Big Grin)
..but would it be possible to include front end visitor stats with an embed code or something.
For example: Total visitors and vistors today
Would be very nice...

There are functions to show the hits for a page or the total number of visits (see beginning of plugin file for details).
(number of hit/visitors of today is not possible without severe performance penalty)


HitCount Plugin - mikeh - 2011-11-24

mvlcek Wrote:Hitcount version 1.1:
  • supports counting hits on other websites, if you embed a link to Hitcount (@mikeh)
  • supports blacklisting IP addresses (@yojoe, @dey)

For more information see here.

.. Thanks man!! I really appreciate you adding this feature, it is going to be an imense benefit for all my clients.


HitCount Plugin - mvlcek - 2011-11-24

mikeh Wrote:.. Thanks man!! I really appreciate you adding this feature, it is going to be an imense benefit for all my clients.

You are welcome.
Maybe I will get some donations... ;-)


HitCount Plugin - astherix - 2011-11-27

Hi, What can I do to make me write down the Googlebot?


HitCount Plugin - mikeh - 2011-12-03

mvlcek Wrote:http://your-path-to-getsimple/plugins/hitcount/ping/ping.php?from=subject
Hey, what do you mean by "Include Link" ?


HitCount Plugin - mvlcek - 2011-12-03

mikeh Wrote:
mvlcek Wrote:http://your-path-to-getsimple/plugins/hitcount/ping/ping.php?from=subject
Hey, what do you mean by "Include Link" ?

Code:
<img src="http://your-path-to-getsimple/plugins/hitcount/ping/ping.php?from=subject" alt=""/>
or
Code:
<link  href="http://your-path-to-getsimple/plugins/hitcount/ping/ping.php?css&amp;from=subject" rel="stylesheet" type="text/css" >
or
Code:
<script type="text/javascript" src="http://your-path-to-getsimple/plugins/hitcount/ping/ping.php?js&amp;from=subject"></script>



HitCount Plugin - mikeh - 2011-12-04

mvlcek Wrote:<img src="http://your-path-to-getsimple/plugins/hitcount/ping/ping.php?from=subject" alt=""/>

Hmm, I cannot get it to work at all


HitCount Plugin - m1k3y - 2011-12-11

short question

I want to display all vistors using {% visits %} (dynpages) to show the component "visits" which contains this function <?php return_hitcount_visits() ?>

but it doesn't work...normal text is shown...how do i have to call the function, to show all visitors?


HitCount Plugin - mvlcek - 2011-12-11

m1k3y Wrote:short question

I want to display all vistors using {% visits %} (dynpages) to show the component "visits" which contains this function <?php return_hitcount_visits() ?>

but it doesn't work...normal text is shown...how do i have to call the function, to show all visitors?

What do you mean with "normal text is shown"?
If you include the above component on a page, it should show nothing. If you want to show the number of visits, you need to output the number with echo:
Code:
<?php echo return_hitcount_visits() ?>



HitCount Plugin - Oleg06 - 2011-12-11

how to show the number of downloads a particular file?


HitCount Plugin - mvlcek - 2011-12-11

Oleg06 Wrote:how to show the number of downloads a particular file?

Just pass the name of the file including directories within uploads to return_hitcount_hits(). E.g. if the file is .../data/uploads/zips/x.zip, use echo return_hitcount_hits("zips/x.zip");


HitCount Plugin - m1k3y - 2011-12-11

i forgot to use the echo..i'm a php newbie Big Grin

with normal text is shown, i meant that normal htmltext in the component is shown by dynpages.....


HitCount Plugin - dey - 2011-12-30

Hi Martin,

it's me again.
I use the hitcount plugin as I didn't have statistics at bplaced. In the meantime with hostingsociety there's a statistic.
But what I really loved with hitcount 0.9.1. was that in referers you see the indivdual link instead of complete domains. Unfortunately you decided to remove it for a better layout and more summurised statistics.
So I felt back to 0.9.1
A small modification for comfort I did.
line 35 in referers.php
Code:
<tr><td><a href='<?php echo $re['name']; ?>'><?php echo $re['name']; ?></a></td>
<td style="width:10%;text-align:right">
<?php hitcount_show_amount($re['visitors'],$max); ?></td></tr>
Provides an executable link to see immediatly where the hit came from.

Just for info.

bydey


HitCount Plugin - calmos - 2012-02-13

French translation here, UTF-8 encoding.
Last line has a translation for "Refresh" string. This goes with a minor change I made to backend.php file on line 115 :
Code:
<input type="submit" name="show" value="<?php i18n('hitcount/REFRESH'); ?>" style="float:right;"/>
This way the Refresh button gets translated too.
Cheers Smile


HitCount Plugin - mvlcek - 2012-02-13

calmos Wrote:French translation here, UTF-8 encoding.
Last line has a translation for "Refresh" string. This goes with a minor change I made to backend.php file on line 115 :
Code:
<input type="submit" name="show" value="<?php i18n('hitcount/REFRESH'); ?>" style="float:right;"/>
This way the Refresh button gets translated too.
Cheers Smile

Thank you. I'll include it in the next release.