I finally have FlickrService and a FlickrGallery page running under 2.3.1. Here are all the various steps:
Fix compile error
Change line 159 in FlickrService.php according to Ticket #3719
On my system, FlickrGallery_CMS.js causes the wrong fields to be hidden, making the CMS for FlickrGallery unusable.
I commented out line 25 in FlickrGallery.php:
tagged images returned with Username selection
If there is an entry in the tags field in the CMS, all tagged photos will be returned along with the user's photos in 'Photos taken by' is chosen.
FlickrGallery.php line 48 changed to:
$photos = $flickr->getPhotos(NULL, $this->User, $this->NumberToShow, $page, $this->Sortby);
Wrong link back to Flickr page
In the Lightwindow popup, there is a link back to the Flickr page. This doesn't work if we have a user's photos or photoset displayed
In FlickrService.php line 81 is replaced by the following 2 lines:
$pageUrluser_ID = $user_id == "" ? "" : $this->User($user_id); $results->addImagePageUrl($results->PhotoItems, $pageUrluser_ID); //gets individual image page url
and line 143 is replaced by these 2 lines:
$pageUrluser_ID = $user == "" ? "" : $this->User($user); $results->addImagePageUrl($results->PhotoItems, $pageUrluser_ID); //gets individual image page url
(note these line numbers may no be exact because of multiple edits to this file)
Lightwindow popups don't work
The standard prototype.js and behaviour.js are conflicting with Lightwindow.
Block them from loading by adding the following immediately above
near the end of FlickrGallery.php
Requirements::block('jsparty/prototype.js'); Requirements::block('jsparty/behaviour.js'); Requirements::block('jsparty/prototype_improvements.js');
Lightwindow popup isn't centred
apply the patch in Ticket #3512 to Lightwindow.js