Plugin overview

This plugin lets you manage a database of links from your admin area and maintains a count of how many times each link has been clicked on by reader. When used as a skin variable, it displays a redirector URL in the form of /nucleus/plugins/blogroll/?n=id, or a group of such URLs.

SkinVars

Parameters: Type, ID, Sort field, Sort order, GroupDesc, NumOfLinks, Redirect
Type - 'group' | 'link' | 'user'
Tells plugin whether to display an individual link or a group of links as defined in the admin area, or a single user's links.
ID
If Type is 'group', this should be the name of the group(s) to display. Use the pipe character ('|') to separate multiple group names. If Type is 'link', this should be the numeric ID of the link to display. If Type is 'user', this should be the short name (login name) of the user whose blogroll should be displayed. If the user specified is not a member of the team for the blog being displayed, the blogroll will not be shown.
Sort field (optional) - 'order' | 'url' | 'text' | 'desc' | 'created' | 'clicked' | 'counter' | 'random'
If Type is 'group', tells plugin in what order to display links. Defaults to 'order', which displays links according to the order defined in admin area. If Type is 'link', place the Redirect value here.
Sort order (optional) - 'asc' | 'desc'
If Type is group, tells plugin whether to display links in ascending or descending order according to the field defined in Sort field. Defaults to 'asc'.
GroupDesc (optional)
If ID defines multiple groups to display links from, the GroupDesc value will determine what will replace the <%groupdesc%> variable in the blogroll template. If no GroupDesc is specified, the description of the first group will be used.
NumOfLinks (optional)
If Type is group, tells plugin to display only a specified number of links. Must be a positive integer value; if not, plugin will display all links.
Redirect (optional)
Set to "yes" or "no" to override the default as set in Blogroll's plugin options to determine whether to show the redirector URL or the regular URL.

Example Usage

Template Options

In the plugin options page, you can specify how links will appear on your page. The variables available for use in all fields except 'Item' are: Variables available for use in the item template are: If the <%Blogroll%> skinvar is used to call a single link, the item template will be used to display the link.

Support and Bug reports

For additional support and/or bug reports please use this forum thread: http://forum.nucleuscms.org/viewtopic.php?t=6781

Version History

License Information

Copyright © 2005 Joel Pan