numberposts

NP_NumberOfPosts

This plugin create a list of categories of a given blog, showing beside each category name a number of post for that category.

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

Installing

  1. Copy the above code and save to NP_NumberOfPosts.php
  2. Upload to the plugin admin directory
  3. Install from the plugin admin menu
  4. Edit the form formatting template from plugin option, if needed. %l == url, %t == category, %d == category description, %c == $ post count
  5. Replace the <%categorylist(skinblah)%> skin variable with <%NumberOfPosts%>. This is depends on the skin used. It might be directly from the skin’s main index or a file (ie sidebar.inc, which can be edited via the SkinFiles plugin)

Available SkinVars

  1. <%NumberOfPosts(shortname)%> to override current/default blog listing

History

  • 1.9
    • add <%NumberOdPosts(shname)%>
  • 1.8
    • fixed incorrect object of $blog
  • 1.7
    • Fixed time offset bug
  • 1.6
    • Used sql_query
  • 1.5
    • Added template formatting options
  • 1.4
    • Added category description in mouse over link tooltip
  • 1.3
    • Fixed XHTML warning
    • Fixed draft counting bug
    • Added option to show total count on [Show All]
    • Fixed for FancyURL
  • earlier history skipped

Plugin review

NP_NumberOfPosts version 1.9 works with Nucleus CMS 3.31 - 2007-10-29 admun

 
numberposts.txt · Last modified: 2007/11/25 15:38 by kg