Simple Wakoopa List



WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND b.name = 'Bug' AND a.category_id = b.id AND a.status <> 90 ORDER BY a.id' at line 1]
SELECT a.id AS 'ID', summary AS 'Description' FROM mantis_bug_table a, mantis_category_table b WHERE a.project_id = AND b.name = 'Bug' AND a.category_id = b.id AND a.status <> 90 ORDER BY a.id

WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND (b.name = 'Enhancement' OR b.name = 'Maintenance') AND a.category_id = b.id ' at line 1]
SELECT a.id AS 'ID', summary AS 'Description' FROM mantis_bug_table a, mantis_category_table b WHERE a.project_id = AND (b.name = 'Enhancement' OR b.name = 'Maintenance') AND a.category_id = b.id AND a.status <> 90 ORDER BY a.id

Simple Wakoopa List is a WordPress plugin that displays a list of your software, using information provided by Wapooka.

Description

From version 2.0, please read the installation notes for ensuring that the new caching facility correctly works

You must be signed up to Wakoopa (http://www.wakoopa.com) to use this plugin.

To display your software list on your WordPress site you will need to insert the following code, where appropriate, into your theme…

<?php simple_wakoopa_list('paras'); ?>

Where paras is a list of parameters, separated by an ampersand..

user=
: This is your Wakoopa username and is the only parameter you MUST specify

type=
: This is the type of list that you wish to have displayed and should be 0 (most used - the default), 1 (recently used) or 2 (newly used)

limit=
: The number of items on the list (default is 10)

link=
: The software titles will be linked to and this defines what type of link should be used. 0 (the default) links to the home page of the software, whereas 1 links to the matching Wakoopa page.

height=
: If you wish to display the software logo in front of each entry, you must specify the item height here. Leave it blank to exclude images.

cache=
: Wakoopa data is cached locally for a number of hours - use this options to specify the number of hours that a cache should be used for. The default is 3. Specify
NO
to switch off caching.

nofollow=
: If specified as
YES
this will turn on the
NOFOLLOW
attribute for the links. By default, this is switched off.

target=
: Allows you to override the standard
TARGET
of
_BLANK
.

This will then display the list of software in a list (i.e. with <li> and </li> around each entry).

An example would be...

<?php simple_wakoopa_list('user=test&limit=20&height=12'); ?>

This would display a list of the 20 most used pieces of software for user "test". It would also display an image of height 12 pixels next to each.

The following is an example of how it could be used, with a function_exists check so that it doesn't cause problems if the plugin is not active...

<?php if (function_exists('simple_wakoopa_list')) : ?>
<h2>Top 10 Programs</h2> <ul><?php simple_wakoopa_list('user=test&limit=20&height=12'); ?></ul> <?php endif; ?>

You can also, at the same time as displaying the list, retrieve the RSS filename as well. Simply assign a variable to the call to simple_wakoopa_list. For example...

<?php $rss_filename=simple_wakoopa_list('user=test&limit=20&height=12'); ?>

This will place the equivalent RSS file name in $rss_filename, whilst still displaying the Wakoopa list as normal.

If, however, you'd like to get the RSS file name BEFORE displaying the list then you will need to make a call to a new routine. This only requires the first THREE parameters that you used with simple_wakoopa_list. The new routine is named simple_wakoopa_feed and does not display a Wakoopa list.

An example of its use is...

<?php $rss_filename=simple_wakoopa_feed('user=test&limit=20'); ?>

Installation

  1. Upload the entire simple-wakoopa-list folder to your wp-content/plugins/ directory.
  2. Ensure the cache folder within the plugins folder is fully writable - ie. change its permissions to 777.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. There is no options screen - configuration is done in your code.

Frequently Asked Questions

How can I get help or request possible changes

Feel free to report any problems, or suggestions for enhancements, to me either via my contact form or by the plugins homepage at http://www.artiss.co.uk/simple-wakoopa-list

Changelog

1.0

  • Initial release

1.1

  • Improved error messages and performance tweaks
  • Wakoopa's new API in now being used
  • Added feed functionality - a new function can be used to fetch RSS file names or it can be returned from the main function

1.2

  • The returned feed URL was not in a valid XHTML acceptable format - the code was modified to correct for this

2.0

  • New parameter system - requires new format of function calling as a result
  • Caching in use - Wakoopa feed is held locally for a specified amount of time
  • Improved file system, which used Curl, where possible
  • New parameters to alter link TARGET and to specify a NOFOLLOW tag

2.1

  • Improved backwards compatibility with pre 2.0 version
  • Updated shared functions
  • Code tidied

Mantis Bug Tracker

Known Bugs

No bugs are currently recorded.

Planned Enhancements

No enhancements are currently planned.

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly

Support Forum

Please use the forum for reporting any problems, queries or suggestions relating to this plugin.

No Comments - ARCHIVE

    1 Pingback/Trackback

    1. WordPress Plugin Releases for 02/16 | BlogBroker24-7 wrote:

      [...] Simple TTIW List [...]