Nov 292012
 
Plugin

I just released a minor update to the Suffusion BuddyPress Pack. There was a report of it referencing a missing file for the latest BP version, resulting in a 404 error in the back-end. This update should take care of it.

I have also submitted a version of Suffusion for approval, however it has not been picked up by a reviewer yet.

Nov 252012
 
Plugin

I have been on a roll with respect to Photonic the last few week, only punctuated by the Thanksgiving weekend here in the US.

The latest version of the plugin has the following updates:

  1. The 500px.com component now has support for collections. However, please note that the Collections API in 500px.com is very quirky. It requires authentication, but then it only lets a user see his own collections after logging in. In other words, there way no way the API would let you show all your collections by a single call to a visitor – instead the visitor will see his collections after authentication. I have logged this as an issue, but I have no idea when it will get resolved. Naturally there was no point in offering such functionality.
    So what have I provided? I have built the capability to show a named collection. You could use this kind of an invocation, and it will show the photos in the specified collection:

    [gallery type='500px' view='collections' view_id='xyz']

    In the above, xyz is the collection id. Instead of view='collections' you could use view='sets'. They are synonymous in 500px.com parlance. How do you know the collection id? There is no programmatic way to do so. However you can see the URL of a photo in a collection, e.g. http://500px.com/photo/7206122?from=set/265673, and pick the portion after “from=set/”. So here the collection id is 265673. This is a photo from Michael Stuart, a Photonic user who has graciously consented to let me showcase his photos for the 500px.com demos.

  2. The prior versions had an issue with authenticating in 500px.com, which I have taken care of.
  3. I have added the capability to show fewer pictures on an archive page than in the single page/post. You can configure the settings from Settings → Photonic → Generic Options → Layouts.
  4. I have changed the Flickr module to be predominantly PHP-based, moving away from JavaScript. The reason for this switch is that the JS was causing some conflicts with some plugins. Additionally having a PHP-based solution will let you make use of caching much better.

That’s it for this release. My workload is increasing again from tomorrow, so updates will not be as frequent or heavy as they have been the last couple of weeks.

Nov 202012
 
Plugin

Version 1.26 of Photonic had a minor bug with the display of the login button – under some circumstances the button wouldn’t show up at all. I have patched this and made a new version, 1.27 available.

Do give it a try and let me know what you think.

Nov 182012
 
Plugin

I just released version 1.26 of Photonic, capping a few weeks of hectic development. First was the responsive version of Suffusion, then support for Font Squirrel in FontMeister, and now, OAuth2 support in Photonic for authentication in Picasa.

So this version of Photonic features:

  1. Support for private photos in Picasa
    This was a feature that took me quite some time and a few aborted attempts to develop. While Flickr, 500px.com and SmugMug use OAuth1 for authentication, Picasa uses OAuth2. The mechanisms for authentication differ, and it took me quite some time to figure out how to work with OAuth2. Thanks to Marcel Bokhorst, a suffurer, whose Add Links to Facebook plugin uses OAuth2 authentication. Marcel was gracious to help me with some OAuth2 concepts, which I have been able to put to use here.
    To enable private photo setup for Picasa:
    1. Go to the Google API Console.
    2. Create a “Client ID for web applications”. For the “Redirect URI” remember to include the URL of your WP homepage. E.g In my case the URI was http://aquoid.com/news.
    3. Go to Settings → Photonic → Picasa → Picasa Settings, and put in your new Client ID and Client Secret.
    4. On the same screen enable private photo access and save.

    Now when you visit a page with Picasa photos, it will show a box to log in. Without logging in that page will show all photos with public access, but once you log in you will be able to see private photos as well, to which you have been given access.

  2. Ability to show single photos in 500px.com
    Just like single photos in Flickr, you can now show single photos from 500px.com. The syntax is simple:
    [gallery type='500px' view='photos' view_id='4041547']

    This will show a single photo. The above shows a photo by Colin:

    Enjoying the sunshine

    Enjoying the sunshine
    A pretty girl sunning her self in a park in Madrid.
  3. More skins for Colorbox
    I have added a few other Colorbox skins. You can pick any that you like, from Settings → Photonic → Generic Options → JS Library Settings.

The reason I am excited about this release is that I can now consider integrating Instagram and potentially Facebook.

As usual, if you like this release, please do consider leaving a review for Photonic.

Nov 132012
 
Plugin

Finally I have managed to complete the new version of FontMeister. The biggest feature of this release is the support for Font Squirrel. This is a big deal because at present FontMeister is the only WP plugin to support Font Squirrel.

Unlike other services such as Google Fonts or Typekit, Font Squirrel poses a unique challenge because it doesn’t provide hosted fonts. Instead you have to download @font-face kits from Font Squirrel to use the fonts. So I wrote the code to download the file, unzip it, and make the fonts available.

I did come across one issue, though. My local installation sometimes failed to download larger @font-face kits. The problem would resolve itself if I attempted the download after some time, but would resurface again if I attempted to download other big files. I put this down to some WP configurations at my end, since I had no such issues on a public installation of the plugin.

Sep 212012
 
Plugin

Version 4.3.2 of Suffusion has been on a painfully slow “go-live” process. While the plugin was approved about 5 days back, it hasn’t been made live yet, meaning you cannot use it for at least a few more days. In the meanwhile my request for a new plugin, “Suffusion Shortcodes” got approved.

As mentioned earlier, this plugin is essentially a collection of shortcodes available within Suffusion. The primary audience for this plugin are the folks who have used the shortcodes of Suffusion extensively and feel that it is shackling them from moving to other themes. By using this plugin you will be able to keep all your content absolutely safe. I am undecided on whether I will continue with enhancing the shortcodes within Suffusion itself in the future, but I know for sure that if I make any shortcode improvements, they will definitely be in this plugin. So even if you are a Suffusion user, I encourage you to download this plugin. The plugin is active from its official WP page. The list of shortcodes and their usage can be found here.

Sep 212012
 
Plugin

I managed to track down the oddest bug I have seen in code in a long time when I worked to release version 1.25 of Photonic. After the last release quite a few users noticed that the 500px.com module had stopped working. This was particularly surprising to me because I could see 500px.com working perfectly on my local install, but failing elsewhere, such as the demo site. I never would have guessed, but the problem was that my development environment is a 64-bit machine while my live environment is a 32-bit machine. That was causing the maximum possible integer in PHP to be evaluated differently on the two platforms, and since I was comparing dates using this number as a bound, the 64-bit and 32-bit machines were returning differing results.

Anyway, this is the gist of this version of Photonic:

  1. Fixed the above issue.
  2. There was an issue that you wouldn’t have noticed if you weren’t connected to the web – trying to view a 500px.com gallery while not connected would result in a fatal error. This has been taken care of.

Hope this fixes the 500px.com issues for you.

Sep 022012
 
Plugin

I released version 1.24 of Photonic a while back. This version has the following changes:

  1. Date filtering support for 500px.com: This is thanks to code contributed by Bart Kuipers. You can add “Date from” and “Date to” fields for your 500px.com photos.
  2. I also removed the JQuery Dimensions script from the plugin – this was causing conflicts with several other JS-based plugins.

I had also gone a far way into building OAuth2 support, which would have enabled private photo support for Picasa. However the recent activities in my personal life badly disrupted the development flow for this. I will try to include that soon into the theme.

Jul 252012
 
Plugin

I released version 1.01 of Suffusion bbPress Pack with a couple of updates:

  1. Viewing group forum topics was causing an error, thanks to changes that bbPress made with their 2.1 version. I have taken care of it at my end.
  2. I put in a sanity check so that even if you haven’t got bbPress, the activation of the plugin will not cause an error.