mostpopular

NP_MostPopular.php

This plugin displays the most popular (== most commented) x entries in a blog. It also show a comment count.

General Plugin info
Current Version: v0.4
Download: n/a
Code: click here
Demo: n/a
Forum Thread: forum here

Installing

  1. Copy and save the above code to NP_MostPopular.php
  2. Upload to plugin directory
  3. Install from plugin admin area
  4. Configure the plugin from the plugin option menu, if desired
  5. Add <%MostPopular%> to skin. ie left column (default to top 5 entries)

Available SkinVars and/or TemplateVars

The skinvar can be used in an alternate way: <%MostPopular(x)%> (x == number of top entries to display)

History

  • v0.1
    • Initial version
  • v0.2
    • fix count < numOfPosts error, indentation
    • fixed XHTML warning
  • v0.3
    • use sql_table(), add supportsFeature
  • v0.31
    • fixed normal mode URL bug
  • v0.4
    • re-write for better performance
    • verbose comment count mode

Plugin review

NP_MostPopular version 0.4 works with Nucleus CMS 3.31 - 2007-10-31 admun

 
mostpopular.txt · Last modified: 2008/02/20 00:52 by admun