- Forces metastring creation on activation to prevent possible sql exception when admin page is viewed before an entity- Removed deprecated file- Added CHANGES.txt
View Matt Beckett's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Cool! Thanks for the update! Wish I could hit again that recommend button :(
Thanks Matt, You are great..... I notice each refresh count two views.....Can you please take a look at your end.?
I'm only getting 1 count per refresh - is that on all views? something specific?
Yes I again checked and getting two counts on each refresh, I tested on albums and blogs.
I tested on a clean install - just 1 increment per refresh. I also checked out your site, and on the blogs I looked at it was also 1 increment per refresh...
I noticed my noScript triggering for your site - disabling noScript made the counter increment twice. You have a hidden iframe being loaded with the same view somewhere, so it's not an issue with this plugin. It's doing what it's supposed to.
Ok Thanks for clarification. Yes I added some adsense and share this scripts there. I will test on localhost by removing all.
Hi, I tested this plugin on Elgg version 1.8.8. I can not save the config to database. And I traced it with xdebug. It seems the config save action has not run at all.
Does anyone use this plugin on Elgg version 1.8.8? Does it works for you?
Works for me on 1.8.8
i'm also seeing 2 view counts per view in elgg 1.8.8.
blogs, izap videos, tidypics, discussions.. all going up 2 per view.
strangely the tidypics plugin's own counter has stopped increasing at all..
here's a link to my test site if you want to view:
http://test.infiniteeureka.com/photos/image/26/tibetan-mind
how to disable the self view.?
view counter is increased if entity owner is viewd his/her own content.. like blog.. how to disable that?
@tunist - a quick click around your site shows it working just fine for me. Incrementing by 1 on each pageload.
@Satheesh - there's no option to disable it, if you want to you'll have to wrap the view in an if statement to check if the viewer is the owner
ah yes, the issue is only present in chrome browser, firefox increases one per view.
i had a similar issue when attempting to code page view counts for the 'robust blog' plugin.
i don't think i found the solution, it was 18 months or so ago though, i'm not 100% sure.
i just disabled all the extensions in chrome and the issue remains.
That's strange, I don't have an explanation for you unfortunately - it works fine in chrome on all of my instances
i found the cause.. its the webug extension in chrome.. it adds 2 or 3 runs through of the page behind the scenes.
which file i need to edit to stop the incriment of self views...?
i'd like to see these counts integrated into the lists for entities, such as the view all blogs page etc.
combined with sort options, such as 'most viewed' and 'most recent' etc.
i hope these can find there way into core soon. :)
I agree - such code fixes should not take too much effort on the part on anyone who wants and desires improvements into the core soon ;) Now that Elgg is hosted on GitHub, it’s even easier to start contributing fixes to the project - for anyone who has been involved as 'professional' coders.. on large projects before'.
;)
if i were healthy of body i would have already added many changes to the code.. presently though i am far from healthy... so minimisation of computer time is wise.
that doesn't change my desire though... and no-one has to do it, its a thought if someone is inspired to make changes to the plugin.
'if... healthy of body..' ? you should take up hatha and esp dhyana yoga as have i & lived with my entire life since 195X; it really does wonders to the body and to the mind and facilitates great mobility in all areas of life. hope that helps to inspire action more than tamas.
thanks for the idea, yoga is very helpful, yes, i will look at dhyana now. :)
i just compared the counts for some items to the google analytics counts.. for some reasons this plugin lists higher counts than the google listing for some pages and i'm pretty sure the google numbers are correct.
i also just compared the readings for a blog i wrote to the realtime activity that piwik is showing..
piwik lists maybe 5 or 6 visits..
the view counter plugin is showing 146.. !?
i think some of that is due to refreshing and some is possibly some type of bug..
i think some refinement is needed to the plugin to make it truly of use.. perhaps using ip tracking if it doesn't already?
There is no reason to assume that this plugin will match piwik stats.
This plugin counts number of views, a view can occur from many pages, widgets, rss, etc.
Piwik reports page load stats for specific urls. Additionally, Piwik relies on client side javascript, so if the DOM hasn't finished loading, or there is a problem with javascript, or javascript is disabled, then Piwik won't record anything.
ok, so possibly the page was hit by many spiders / bots without javascript active.