This plugin keeps track of the number of profile views. The counter will be displayed at the user statistics in the settings menu. Viewing your own profile won't increase the counter.
This plugin was developed on Elgg 1.5 but probably will work on earlier versions too.
ColdTrick IT Solutions
(C) 2009 ColdTrick IT Solutions
View Jeroen Dalsem'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.
Nice, a counter listens really nice, and it is usefull.
I'll check it out later on, and I'll give my feedback.
Works awsome,
I've created a widget for the user profile and incorporated it into your plugin.
http://seaslug.sytes.net/profile_counter.zip
@Jeroen Feel free to add it to your counter if you wish, no credit needed.
Hi and thanks for this very useful Plugin!
@SeasluG - Is it possible to to make sure that only the profile-owner can see the reset-button and reset the counter with (in profile_counter\views\default\widgets\profile_counter\view.php ):
if (page_owner() == $vars['user']->guid)
{
$button = elgg_view("input/submit", array("internalname"=>"submitButton", "value"=>elgg_echo("profile_counter:stats:reset"), "js" => "OnClick='return confirm(\"" . elgg_echo("profile_counter:stats:confirm") . "\");'"));
$form = elgg_view("input/form", array("internalname" => "resetForm", "method" => "post", "action" => $vars['url'] . "action/profile_counter/reset", "body" => $button));
}
Or is there more to do?
@Hito81 , I'm still new to the Elgg system so i'll have a look and see what can be done
Or idealy I can just remove the Reset Button all together in the widget, and if a person wants to reset thir counter they can do it through the stats page.
Ok updated
http://seaslug.sytes.net/profile_counter.zip
Button Now shows for owner only.
Also changed the widget to show the correct totals for the viewer of someones profile.
Now available here
Just incase i delete it off my server.
this does not work with my elgg 1.6.1 site when i enable it it takes me to a blank screen every page i try and load
Profile Counter
any plans to allow enable an option for the profile owner to see who looked at their page?
@brybam try this
http://community.elgg.org/pg/plugins/project/393907/developer/naweko/profilbesucher-profilevisitors
or
this
http://community.elgg.org/pg/plugins/project/384740/developer/izap/izap-recent-profile-visitors
HaPPy ElGGInG :)
Do GooD :)
Very good plugin works perfectly in version 1.7.9.