Maintains a list of LEGO Ideas (formerly CUUSOO) projects to display in a widget.
This plugin will allow the user to maintain and display a list of specific LEGO Ideas projects on their WordPress site,
by way of sidebar widgets. The templates used for displaying the widgets on your site can be easily customised, to
display as little or as much information as you want, and how you want it, without having to dig through cryptic code.
A dashboard widget that displays your list of projects is also provided, which highlights any change in the number of
each project’s supporters. As with other dashboard widgets it can be turned off via the ‘Screen Options’ menu.
I originally developed this plugin for SilentMode.tv to promote my own CUUSOO projects, but
though they were unsuccessful, the plugin can still be used to help others.
If you have any suggestions for improvements to this plugin, contact me through the form at
Data is fetched for a project as soon as it’s added, and then once a day thereafter.
As the LEGO Ideas site doesn’t have an API, data is obtained via dreaded page scraping: this means that extra, unwanted
page views will be generated every time data is fetched for each project. Please be respectful of this when you use the
LEGO is a trademark of The LEGO Group. CUUSOO is a trademark of CUUSOO SYSTEM Co., Ltd. and Elephant Design Co. Ltd.
Neither of these companies has anything to do with this plugin.
- Extract and copy the ‘cuusoo-list’ folder to your ‘/wp-content/plugins/’ directory.
- Activate the ‘CUUSOO List’ plugin through the ‘Plugins’ menu in WordPress.
- Add the LEGO Ideas projects you want to track via the ‘Settings > CUUSOO List’ menu.
- Add one of the provided ‘CUUSOO List’ widgets to a widget placeholder via the ‘Appearance > Widgets’ menu.
CUUSOO List comes with three widgets:
- List: displays a list of selected projects; by default it will show all listed projects.
- Random: displays a randomly chosen project from the ones selected; by default it will choose from all listed projects.
- Single: displays a single chosen project.
The default template for all three widgets is ‘widget-cuusoolist.php’ in the plugin folder, which displays the projects
in a very basic ordered list. This template can be overridden by creating a ‘widget-cuusoolist.php’ template file in
your theme folder.
You can customise further by creating widget-cuusoolist-list.php, widget-cuusoolist-random.php and
widget-cuusoolist-single.php to target list, random and single widgets respectively.
If you’d prefer to do your own coding, you can call CUUSOOList::get() to obtain the list of projects (indexed by their
project ID), and CUUSOOList::last_update() to obtain the date of the last project data fetch.
There are no reviews for this plugin.
Contributors & Developers
“CUUSOO List” is open source software. The following people have contributed to this plugin.Contributors
- Resolving deprecation notices that occurred as a result of updated WordPress functionality.
- Moved the default widget template to a templates subdirectory.
- General code cleanup, including the separation of the different widget classes to their own files.
- Responding to the vulnerability in WordPress mentioned last week: although CUUSOO List is nowhere in the top 1000 plugins and/or shouldn’t have been affected, there was one use of the method mentioned.
- Corrected fetching the number of days left on each project.
- Added refresh buttons to update all projects’ details.
- Added banner images for those browsing plugins. (I had no idea what graphics to use.)
- Corrected fetching the project owners’ usernames from projects.
- All three widgets now use the widget_cuusoolist class name.
- Corrected use of widget-cuusoolist-* theme templates.
- LEGO CUUSOO has become LEGO Ideas and has completely changed.
- CUUSOO List has an updated (and nicer) interface, along with a menu icon.
- Projects can now only be added or deleted; there’s no need to edit them.
- Fetching method is no longer a setting.
- More information about each project is available: see widget-cuusoolist.php.
- Three widgets instead of one have been provided: list, random and single.
- Replaced references to LEGO CUUSOO with LEGO Ideas.
- I no longer have my own CUUSOO projects.
- CUUSOO List is now a top-level menu page.
- Form data is now POSTed instead of using GET.
- Code was generally cleaned up, including using WordPress’ validation functions.
- Corrected some general schoolboy errors with the code, namely with GET parameters and function calls.
- Fetching data via API no loger “forgets” the manually defined label.
- Better plugin deactivation handling: only the events for fetching project data should be removed. Project data now
isn’t removed unless the plugin is deleted (via the Plugins menu).
- Fixed a major issue with the fetching event, where more than one could be in effect at once. An absolute nightmare if
you happen to be page scraping.
- Labels were not being saved.
- Corrected messages!
- First publicly available version.