mostviewed

NP_MostViewed.php

This plugin display the most viewed items

General Plugin info
Current Version: v2.4
Download: n/a
Code: v1.x: click here (outdated)
v2.4: here
Demo: n/a
Forum Thread: forum here

Installing

  1. Install NP_Views
  2. Copy the above code and save to NP_MostViewed.php
  3. Upload to plugin directory
  4. Install from plugin admin menu
  5. Add <%MostViewed%> to the skin (ie left column)
  6. Edit output template from plugin admin menu, if desired. %l == link, %p == title, v == # of views

Available SkinVars and/or TemplateVars

The skinvar can be used in an alternate way: <%MostViewed(numberToShow, blogName)%>

i.e. <%MostViewed(3)%> <%MostViewed(5,myblog2)%>

History

  • v1.0
    • initial version
  • v1.1
    • fix deleted entries bug
    • included enhancement from xiffy on making the entries clickable
  • v1.2
    • add user defined num# of posts (Edmond Hui)
  • v1.4
    • Use sql_table()
    • Add supportsFeature
    • Fixed paramlink for FancyURL
  • v1.5
    • performance improvement
    • add title display option
  • v1.5a
    • fix globally itemid
  • v1.6
    • add plugin dep check
  • v2.0
    • Released a completely rewritten version which uses only one query, for better performance. (version 1.x uses n+1 queries, where n is the amount of items to show)
  • v2.2
    • add output template support
  • v2.3
    • add display by blog parameters
 
mostviewed.txt · Last modified: 2007/06/28 00:14 by admun