Fun hacks, WP plugins, photography, and PKI junk. Languishing since 2008.
Fidgetr
Fidgetr is a WordPress widget that displays the latest photos from your Flickr photostream in an attractive manner. It features support for themes along with very simple setup and broad compatibility. You can see two examples of the themes Fidgetr contains on the right sidebar.
Please note that Fidgetr requires PHP 5. If you are receiving an error that reads “Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION” then you need to upgrade your PHP installation to use Fidgetr
Download
You can download Fidgetr from the wordpress.org plugin repository homepage for Fidgetr.
Release History
v2.3 – 2/1/2010
- Added French localization (credit: Sebastien Violet). More translations are welcome, please contact me if you’d like to help!
- Corrected some HTML validation problems and other small coding style fixes (credit: Sebastien Violet)
v2.2 – 1/12/2010
- Slimbox (lightbox) option for all themes. Check it on a per widget basis to have users go to a larger version inside Slimbox instead of being taken to the Flickr page.
- Centered default theme when sidebar is larger than the images and other small CSS fixes.
- Several improvements for Opera 10.5 pre-alpha (shadows, rounded corners)
v2.1.4 – 12/31/2009
- The CSS change caused some trouble for many users. This should fix it (added the old rules in addition to the new + slightly more specificity)
v2.1.3 – 12/27/2009
- Improve CSS specificity for all themes. This should improve the look of the widget in many cases.
- Changed some JS load timing (faster when other page elements hang)
- Upgraded slimbox to 2.03
- Further simplified flickrApi class to solely use Snoopy (removed curl)
v2.1.2 – 12/2/2009
- Improve title behavior when default theme shrinks/grows (white-space:nowrap)
- Other small CSS fixes
v2.1.1 – 11/5/2009
- Completely forgot to actually include the function and hook that did the photoset AJAX
- Modified the flickrApi class to use Snoopy for data fetching. This should broaden compatibility.
v2.1 – 11/1/2009
- Changing user updates available photosets via AJAX in the widget admin.
- Refactored some functions.
- Tested with WP 2.9.
v2.0 – 10/28/2009
- Fidgetr now uses the multi-widget API. This was a very large rewrite so please let me know if you run into bugs you didn’t see in previous versions. Layout bugs are the most likely (especially in multi-widget scenarios).
- Improved/fixed some more encoding behavior related to json_encode (and dramatically improved the behavior of the non-native function for those on older PHP5 installs)
- Added timeout to prevent Flickr outages from hanging your blog. This may require additional error handling in the future.
- Upgraded grid to slimbox 2.02
- There would be more bullet points but the first one covers changes to nearly every file in the entire widget so what more can I say!
v1.3.5 – 10/23/2009
- Better UTF-8 fix. Re-enabled native json_encode and removed an erroneous stripslashes. This should allow UTF-8 through, but also parse newlines in comments without a JSON parse failure.
v1.3.4 – 10/16/2009
- UTF-8 fix. Disabled native json_encode until I can investigate why it’s hex encoding chars it shouldn’t be…
v1.3.3 – 8/18/2009
- Tested against the latest WP
- URL updates
v1.3.2 – 6/11/2009
-Fixed a JS problem with the AJAX username check exposed by 2.8.
v1.3.1 – 6/10/2009
-A few UI fixes
-WP 2.8 compatibility
v1.3 – 5/16/2009
-Altered AJAX user check to run through the standard WP AJAX hooks. This prevents a potential security issue.
-Fixed a URL pathing mistake related to the spinner animation for the AJAX.
v1.2 – 5/13/2009
-Added support for directly specifying your NSID. Some users can’t locate their NSID via search due to privacy settings or age restrictions. If you are having trouble locating your nsid you can obtain it here: http://idgettr.com/
v1.1.2 – 4/30/2009
-Fixed a bug that prevented the CSS from loading on Windows servers. (Credit RJ Howard for reporting the issue)
v1.1.1 – 4/11/2009
-Fixed an array_merge warning for new users (thanks Jane)
v1.1 – 4/10/2009
-Added support for showing/hiding photo title.
-Various other small code improvements.
v1.0 – 3/15/2009
-Numerous CSS fixes to improve the consistency of the default and crossfade themes across different WP themes.
-Incremented version to 1.0 to catch users stuck at versions earlier than 0.6.1. Welcome back to the cutting edge!
v0.6.1.1 – 3/8/2009
-This release IS due to a bug introduced in 0.6.1. Sigh…
-Fixed fatal error due to non-numeric assignment of version number.
v0.6.1 – 3/8/2009
-This release was not due to bugs introduced in 0.6, I swear!
-Reworked the crossfade theme JS to fix some bugs and dramatically simplify the code.
v0.6 – 3/7/2009
-Photoset support! Display your latest photos or photos from a photoset.
-Removed requirement for allow_url_fopen. Fidgetr now tries to use the cURL libraries first.
-A few small bugfixes.
v0.51 – 2/28/2009
-Quick fix for a short_tags mistake. Thanks to Brian for reporting the problem.
v0.5 – 2/28/2009
-Added an AJAX check to warn the user if their Flickr username/email is invalid.
-Fixed a foreach warning that could crop up if no comments were present (bug introduced in 0.41).
-Added some advanced CSS in the default theme (visible in Safari 4 only)
v0.41 – 2/24/2009
-Fixed a quote issue with fetching comments, thanks lupinehorror!
v0.4 – 2/15/2009
-Preliminary i18n support
-Better compatibility
v0.32 – 2/4/2009
-You can now use Flickr username or email to obtain your photostream. Previously only Flickr username was allowed.
-Substantial improvements to look and feel of the widget control in wp-admin. This should help reduce confusion.
-Several optimizations to reduce DB writes and queries to the Flickr API
v0.31 – 1/30/2009
-Reworked how the themes loop through the JSON object to avoid a bug with “undefined” entries. Thanks to Rolando for spotting the issue.
v0.3 – 1/29/2009
-First public release!
-Default and crossfade now support right sidebar themes with comments.
-Many small CSS fixes for various themes.
-Comment support for crossfade and other improvements.
-Continued refactoring of core code.
v0.23 – 1/26/2009
-Most of the core widget code has been refactored to make it easier to update/maintain going forward.
-Addition of crossfade theme. This theme is not fully functional yet.
v0.2 – 1/25/2009
-Major expansion of the theming capability. Themes can now enqueue JS and CSS.
-Addition of the “grid” theme.
-Readme.txt added
-Preliminary theme documentation added.
v0.13 – 1/22/2009
-New CSS rule in default theme to fix margin/padding inherited from promiscuous themes.
v0.12 – 1/20/2009
-Added enqueue for jQuery.
v0.11 – 1/20/2009
-width fix and other IE fixes.
v0.1 – 1/20/2009
-Initial release. Private distribution only.
about 5 months ago
Hi,
I was wondering if you could tell me why my Fidgetr widget won’t show my photos. It was working fine two days ago and now it won’t show them. Please e-mail me? I’d appreciate it.
about 4 months ago
TREVOR: yes!
I too needed to do this for a client.
I used ThickBox for the presentation. Make sure the ThickBox scripts are loaded (I just added the nice “Auto ThickBox” plugin, as I use it elsewhere too. I am sure you could do it with other lightbox-like libraries… adjust accordingly.)
modify the appropriate theme file for fidgetr.
i like the crossfade look, so I edited /wp-content/plugins/fidgetr/themes/crossfade.theme.php
right after the <script … tag, incorporate this:
for(x=0;x < fidgetrObject.photo.length;x++) { if (x==0) { document.write('<span style="">'+fidgetrObject.photo[x].title+''); } else { document.write('<span style="">'+fidgetrObject.photo[x].title+''); }(I hope that makes it through the posting process!)
basically, incorporate class=”thickbox” in the anchor tag, change the href to be the fidgetrObject.photo[x].url_med…
I think this would be a great feature to incorporate into fidgetr in the future. i will happily send my code along if Paul would like to see. right now its ‘dumb’ (no toggle switch in the widget admin panel, no test for thickbox libraries) but that shouldnt be a big deal.
cheers,
Will
about 3 months ago
Hi,
It seems fidgetr is not working correctly with special characters such as öäå. Is anyone else experiencing this problem?
/Robert
about 3 months ago
Fixed, thanks for the report Robert!
about 3 months ago
Hi, the Plugin works very well!
Is it possible to use it to show two or three Flickr set in the same homepage?
about 3 months ago
Fidgetr 2.0 supports this feature, thanks for the suggestion Giovanni!
about 3 months ago
Hi Will,
I am trying to get auto thickbox to work with this, could you please advise in more detail, where to add the code to the theme file? I tried to replace the original code, with your suggested code, but it did not seem to work?
Please help, thanks!
about 3 months ago
Hullo Paul!
We’re trying to use this on our blog and it’s throwing up this on the (cloned) test blog:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /users/webs/www.usembassy.org.uk/data/testblog1/wp-content/plugins/fidgetr/flickrApi.class.php on line 100
Warning: file_get_contents(http://api.flickr.com/services/rest/?method=flickr.people.findByUsername&username=Paul+Kehrer&api_key=37718025c9d25aaa2f1199d8886d43a4&format=php_serial) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /users/webs/www.usembassy.org.uk/data/testblog1/wp-content/plugins/fidgetr/flickrApi.class.php on line 100
(it has two of these in the Widget panel; file permissions are fine for this – and other! – plugins so not sure why it’s moaning?)
Any info appreciated
Cheers,
Oliver
about 3 months ago
I’ve decided to fix this url_fopen issue once and for all and migrated to using snoopy (a PHP class that wraps fsockopen in a more elegant way). Fidgetr 2.1.1 is now released and should resolve your problem!
about 3 months ago
And it works beautifully – merci buckets!
about 3 months ago
Can you help me make fidgetr look better on this theme?
I want it centered, with two images per row, with padding around each image, and a space put down below the last row so that corner image doesn’t overlap.
Thank you so much for making this widget and for helping.
about 2 months ago
Hey Paul, Love the plugin! By far the best flickr plugin around.
Quick question… I have implemented the plugin on two sites in a widget (both in the grid template).
When I click on the images on one site, it takes me to a black lightbox where the fullsize image comes up and I can scroll through the defined gallery — this is what I want.
When I click on an image on the other site, it takes me to the actual image on flickr – I don’t want this…
How can I get the lightbox functionality to occur on the site that is taking me to the flickr photo page…
any hints?
thanks
Dave
about 1 month ago
It’s a shame, I have php5 running, yet I’m getting the same parse error as others have gotten. :/ Seems like a cool plugin, but if it won’t work… c’est la vie.
about 1 month ago
Hello, thank you for designing this plugin widget. It looks great!
Been trying to see how to delay the crossfade time between photos. Is there a relatively easy way to do this for non-tech people like me?
Thank you so much!
about 1 month ago
Oh, I’m interested to know if it’s possible to to click on the images to a light/thickbox versus linking to the flickr gallery too. Thanks Paul! Appreciate your time to help me.
about 1 month ago
If you look inside the fidgetr plugin directory you’ll see a directory called themes. Inside that there is a file called crossfade.theme.php. Find this line:
timeOutId_number; ?> = setTimeout(‘imageRotator_number; ?>(‘+(index+1)+’)', 5000);
5000 is the number of milliseconds between each crossfade. Change it to whatever you’d like! If you want to change how long it takes to crossfade look for the lines with “2500″ in them above this line. There are two of them, so be sure to change them both if you want to change the transition duration.
about 1 month ago
Hi Paul,
Your plugin seems great.
Do you think I have a chance to integrate it into WP 2.05 (my current blog) ? I can tweak some php or JS but not so much.
about 1 month ago
Hi Paul, thanks for your plugin, it’s just great!
Is there a way to show pictures right in my site (using thickbox for instance) rather than showing them in flickr site?
It works fine with the grid theme, but not with the crossfade one.
Will you help me on this, please?
about 1 month ago
After last upgrade, plugin do not work well. It shows two or three pictures; not one. Why?
look at: http://www.parrocchiasansilvestropapa.it/
about 1 month ago
This was working great until the latest upgrade, now the image does not resize correctly and pushing out into my main content area. :/
is there away to go back a version?
about 1 month ago
@ kat
.. the image does not resize correctly and pushing out into my main content area.
I Confirm. The same for me
about 1 month ago
The layout issue should be resolved now (hopefully). Let me know if anyone is still experiencing the issue after upgrading to 2.1.4.
about 1 month ago
Now it’s ok. Thanks
about 1 month ago
Thanks for this wonderful flickr plugin, i’m not sure if someone has asked this before, but i cannot get the images to auto sync with my blog when i add them to flickr, is there a time limit or should they sync automatically
(If i go into the widget settings and click “save” this solves the problem and puts the latest images in) – but i’d rather have them auto sync
Thanks
about 4 weeks ago
Hi Paul
Thanks for the reply to my mail. Happy that it autosyncs every 2 hours by default.
Thanks for your help, great plugin
Lisa
about 3 weeks ago
hi there
thanks for the great plug in design. im just wondering if is possible for fidgetr to change to display random picture from the set everytime i go to the site, rather than display the latest photos?
about 3 weeks ago
I’ve added this feature request to my list. I like the idea!
about 3 weeks ago
glad to hear that
about 3 weeks ago
I really like your plugin, but my site already has shadowbox installed, I prefer it to the others. Now with your plugin loaded the images get displayed twice once by slimbox then by shadowbox, even if I’m not using the Slimbox option in your widget. So can your plugin use an already installed shadowbox.
Cheers
about 2 weeks ago
Hi all,
I just release a french translation of the plugin.. the question is how can I send you the .po/.mo files so you will be able to include it in a future release?
Thanks again for this great plugin.
Regards.
Sebastien