Simple Readbag 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 Readbag List is a script that will make it easy to display your list of Readbag items on your blog.
Description
You must be signed up to Readbag (http://www.readbag.com) to use this plugin.
When you sign into readbag there should be an "API" option at the top. Click on this and a window should appear - a few lines down and your API key should be listed. Take a copy of this, as it will be needed for this plugin.
To display your want Readbag list on your WordPress site you will need to insert the following code, where appropriate, into your theme…
<?php simple_readbag_list('apikey','listtype','listlimit'); ?>Where..
apikey: This is the API key that you got from Readbag
listtype: This is the type of list you require -
Ufor unread items or
Rfor read items.
listlimit: The number of items to display from 1 to 20 (default is 20)
This will then display your Readbag list in an HTML list (i.e. with <li> and </li> around each entry).
An example would be...
<?php simple_readbag_list('cgrp5sdaubip6h17t1pn52fozgtmbg3bxdnosdf1qm9o9','u','5'); ?>This would display a list of 5 unread items for the user with the specified API key.
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_readbag_list')) : ?><h2>My Readbag List</h2> <ul><?php simple_readbag_list('cgrp5sdaubip6h17t1pn52fozgtmbg3bxdnosdf1qm9o9','u','5'); ?></ul> <?php endif; ?> Installation
- Upload the entire simple-readbag-list folder to your wp-content/plugins/ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- 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-readbag-list
Changelog
1.0
- Initial release

Known Bugs
No bugs are currently recorded.
Planned Enhancements
No enhancements are currently planned.
















Copyright © 2000-2012
Artiss.co.uk is checked by