Introduction

Greetings,

Welcome to my Joomla Code website. My name is Paul Thompson. I have put together a couple of Joomla websites over the past several years for various organisations. In the process of doing so I have now coded a total of 3 Joomla Plugins which I want to share with others here. At some point I'll put together a proper site here. For now, you just get my code.

Cheers,
Paul Thompson


captbunzo's Flickr Plugin - Google Group & Code Project

19 February 2009 21:35 GMT

Attempting to get SLIGHTLY more organised, I have created a Google discussion group and code project to support my efforts here. Please feel free to use these to discuss this plugin, log issues, etc. So that I can track download counts easily I'll also be hosting the project files there.

Thanks again and let me know if you find any problems with the release below.


captbunzo's Flickr Plugin - Version 1.1.0 (Beta Release)

19 February 2009 21:17 GMT

First of all, many apologies to the number of people that I promised this release to a long time ago. However, your wait is over! I have fixed a small collection of bugs and added several features. The result is version 1.1.0. While I beleive this is rock solid and stable, I do have limited systems on which to test. Therefore, I sending this out as a Beta release and kindly requesting those willing to give it a test and let me know the results.

Changelog:

  1. BUGFIX - Absolute/Relative Paths in Code : On my development system Joomla is installed at the webroot. This caused my plugin to fail miserably for anyone who had installed anywhere down the tree. Alas, this has been repaired.

  2. BUGFIX - jQuery Misbehavior : Apparently jQuery takes over some variables that can cause trouble with other javascript libraries. Thanks to a kind gentleman named Martijn, I have added a call to jQuery.noConflict() which shall hopefully eliminate this problem in my plugin.

  3. BUGFIX - Extra HTML with Blank Titles : When the album title was set to an empty string (blank), the HTML tags wrapping it were still output. This caused ugly extra space to be displayed in the page. This has been rectified.

    <0/li>
  4. NEW FEATURE - Disabling of JS Library Inclusion : Several people requested the ability to turn OFF the inclusion of the jQuery library by my plugin as they were already including them in their template or through other plugins. So I've added this as an option in the Plugin Parameters page (under Joomla Admin backend, Extensions > Plugin Manager). I've also added an option to disable the inclusion of the jQuery Flickr library, in case you happen to include that already as well.

  5. NEW FEATURE - Debugging in HTML Comments : To make it easier to debug your album tags, I've added an option to turn on the inclusion of some debugging output in HTML comments on the page. To keep things lean, this is turned off by default. It can be turned on by either adjusting Plugin Parameters or by adding a Debug parameter to the album tag. See that added to examples below.

  6. LIBRARY UPDATE - Update to jQuery 1.3.1 : Just keeping up with the current release, this version of the plugin uses the recent jQuery 1.3.1 release. I have tested this and it seems to be working just fine.

Download the 1.1.0 beta release of captbunzo's Flickr Album Plugin Here:

   PHP5 Version:content_flickrAlbum-1.1.0.zip
   PHP4 Version: content_flickrAlbum_php4-1.1.0.zip

Please test this out and let me know how it goes! Also, I'd love to add more features if anyone has any more ideas.


Donations Accepted

15 December 2008 17:45 GMT

I was quite thrilled today when a user of my Flickr Album Plugin graciously requested to make a donation for my efforts. And thus I realised, I hadn't done the Open Source thing and added a "feel free to donate your money to me" blurb on my page here. So, here it is: feel free to donate your money to me if my code released here has made your life easier.

Paypal Donate!

PHP 4 Compatibility Release for Flickr Plugin

15 December 2008 17:30 GMT

I worked a couple hours today tracking down a bug several folks were experiencing with my Flickr Plugin only to discover that I was using PHP 5 style object code and PHP 4 just wasn't very happy. So I have created and am releasing a PHP 4 compatible release. See below and enjoy!

I have increased the version number to 1.0.1 as a part of this release. However, this indicates only really the changes to the PHP4 compatible version. There are no changes (yet) to the PHP5 version. There are a couple of things I am working on which I will be ready to release in a couple of weeks.


captbunzo's Flickr Album Plugin

The first chunk of code I will be releasing is my Flickr Album plugin. This plugin allows you to Embed a flickr album within a Joomla article. These albums can be sourced from a particular flickr photoset, user, group or search string. Photos are displayed according to a user defined grid. I've included a basic set of instructions below. Stay tuned for a more complete user manual, etc. Feel free to email me if you read this now and want to know more.

This plugin uses 3 javascript libraries to create Flickr Albums. These libraries are as follows:

Before using this plugin you must apply for your own Flickr API Key. You can find more information about this at http://www.flickr.com/services/api/keys.

View the plugin in action: Amber @ Owlsdene Bengals

Download captbunzo's Flickr Album Plugin Here:

   PHP5 Version:content_flickrAlbum-1.1.0.zip
   PHP4 Version: content_flickrAlbum_php4-1.1.0.zip

Basic Installation & Usage Instructions:

  1. Install the plugin and then visit the plugin options page.
  2. Visit http://www.flickr.com/services/api/keys and get your Flickr API Key.
  3. Put this Flickr API Key in your plugin parameters.
  4. Visit http://idgettr.com and retrieve the Flickr User ID that you'll be using most often.
  5. Add this as the default user id in your plugin parameters.
  6. Configure any other paramters as you like.
  7. Save your parameter configuration and enable the plugin.
  8. Open up an article in any category.
  9. Add one of the examples below.
  10. Save and then view the page via the frontend.

Example Article Code:

   {flickr-album}Type=Photoset, User=35939596@N00, Photoset=72157600098702676{/flickr-album}
   {flickr-album}Type=Photoset, Photoset=72157600098702676{/flickr-album} (matching user in configuration)
   {flickr-album}Type=Photoset, Photoset=72157600098702676, Debug{/flickr-album} (debug enabled)
   {flickr-album}Type=Search, Keywords=world domination{/flickr-album}
   {flickr-album}Type=Search, Tags=joomla, Cols=5, Rows=3{/flickr-album}
   {flickr-album}Type=User, User=35939596@N00{/flickr-album}
   {flickr-album}Type=User, User=35939596@N00, Tags=geyser{/flickr-album}
   {flickr-album}Title=Everyone Love's Kittens, Type=Group, Group=365105@N23{/flickr-album}
   {flickr-album}Type=Group, Group=365105@N23, Tags=Siamese{/flickr-album}


Contact Me

If you have any questions, please feel free to contact me at: captbunzo@gmail.com.