Views counter v1.6.0

Release Notes

(Version 1.6.0)

  • Plugin setting for display or no display the views counter

(Version 1.5.0)

  •  A new function that will be very useful for developers: list_entities_by_most_viewed($options)). Allows to retrieve a list of entities ordered by number of views
  • Some new functions registered for get hooks from another plugins that wants to use the views counting system but in a neutral way, just triggering elgg hooks.
  • Basic CSS customization through plugin settings
  • Now It is possible to include the views counter number via Javascript, just setting the container input ID on plugin settings

(Version 1.1.0)

  • A common view name for include the views counter system by another views counter plugins just using: elgg_views('views_counter',array('entity'=>ENTITY))

(Version 1.0.0)

  • A view system for any elgg entity that may be used easily through the function add_views_counter(ENTITY_GUID)
  • A view that may be used for add a views counter to any elgg entity
  • System that allow the admin add automatically a views counter to: users, groups, grouptopics and all subtypes of object that follow the patterns of the elgg_view_entity() function
  • A function for retrieve the views counter for any elgg entity easily: get_views_counter(ENTITY_GUID)
  • A elgg view that displays the views counter for any elgg entity: "views_counter/display_views_counter"
  • A admin page where the admin can see the views for the entities
  • A demo of how to use the views_counter plugin that makes more easy to use It and makes sure if It is working or not
  • looks to be working fine so far , the css for the views counter is a little off , if you do not float it adds it to the header , if you do float its off by :10px; "might just my site " . 

    although one thing to consider ,is that the user can click on VIEWS ! it hits back to dash you need admin , it would be more efficient just to kill the href link for logged in users ! also the admin . if you need to look up stats it should be done via the admin panel " or my case " .

    i'll post with more Feedback , looking good though !

     

  • @opensource

    Thanks for let me know about the bug while clicking on the views link, the correct way is to allow only the owner of the entity and admins to see the link and visit the page, I will correct this bug in the next release

  • Can we set this up as a profile views counter?

  • For sure,
    just configure the plugin for add a views counter to the users.

Desiron

I have been developing plugins and extensions for elgg since 2009 February. Currently I am acting in some plugins development, fixing/upgrading some elgg plugins that are not being continued and modifying or extending the Elgg Framework itself.

Stats

  • Category: Site admin
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 2425
  • Recommendations: 4

Other Projects

View Desiron's plugins