We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

eeFlickr : Flickr photo gallery

Development and Programming

fitzage's avatar
fitzage
100 posts
17 years ago
fitzage's avatar fitzage

Umm…actually…I think I just figured it out. I was using it in a context that it didn’t belong. Move along…

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

Added a new Tag for creating a “tag cloud” or tag list

{exp:eeflickr:tagcloud}



you can get it here

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

yeah this post was actually split from a much older post about flickr and put in the plug-in section by the admins.

and the reason i did this as a module is because i plan on adding flickr user auth to this so there can be a back end management of flickr’s permissions to EE user groups. still early yet.

Added a new tag {exp:eeflickr:tags}

{exp:eeflickr:tags photo_id="1677038702" ignore="cat|dog|frog" cache="yes" refresh="720"}
    {id}
    {author}
    {authorname}
    {url_tag}
    {raw}
    {tag}
    {machine_tag}
{/exp:eeflickr:tags}
       
fitzage's avatar
fitzage
100 posts
17 years ago
fitzage's avatar fitzage

Has anyone else had any problems with this plugin with recent ee updates?

I’m running 1.6 build 20070815 on my personal site, and have a little test page for EEFlickr that works fine.

On a site I’m building for somebody else, I had a newer build and anytime I try to use tags from the EEFlickr module, the entire page loads blank, as if there was a php error somewhere. I tried updating to EE 1.6.1, and the problem still exists.

Now, they are on two different servers. I could attempt an upgrade to my personal site and see if that has the same problem. I just wanted to see if you’d experienced anything like that.

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

fitzage I will upgrade to 1.6.1 tonight and find out whats up.

       
fitzage's avatar
fitzage
100 posts
17 years ago
fitzage's avatar fitzage

I upgraded to 1.6.1 on my other server, and EEFlickr still works just fine. It appears that there is something wrong with the other server configuration. Not sure if it’s a PHP problem or what. I’ll have the techs look at it later, but I don’t think the problem is with the plugin.

The situation is that I have 3 Premier Shared accounts from Joyent, and one virtual dedicated Accelerator. It works fine on the Accelerator, but not on the shared servers. Do you know if the EEFlickr module requires a lot of RAM or anything like that?

       
fitzage's avatar
fitzage
100 posts
17 years ago
fitzage's avatar fitzage

As it turns out, I just had to enable some additional php modules that were not enabled on the shared system, but were on the dedicated system. Works now.

       
jejuna's avatar
jejuna
105 posts
17 years ago
jejuna's avatar jejuna

Using the quick example for {exp:eeflickr:photos} on your site, I’m getting the following errors:

Notice: unserialize(): Argument is not an string in /www/pmh4674/public_html/nrt/modules/eeflickr/mod.eeflickr.php on line 1060

Warning: Invalid argument supplied for foreach() in /www/pmh4674/public_html/nrt/modules/eeflickr/mod.eeflickr.php on line 1069

Notice: Undefined variable: shrimp in /www/pmh4674/public_html/nrt/modules/eeflickr/mod.eeflickr.php on line 1082

I’m using EE 1.5.2, PHP Version 4.3.9, hosted on Engine hosting.

Any ideas???

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

Debra i got the same errors the other day and after a quick check it was because Flickr was returning a server error page and not the typical API response “ok or fail”.

try clearing your cache directory on the server. if this does not solve your issue send me a email. with the tag you are using.

I will have server error checking for any flickr downtimes in the next version.

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

New Version 0.6

and i apologize in advance for changing around allot of the tags. it was a Necessary Evil. anyway the big updates in this version:

*You now use your own API key. set in the CP *you can authenticate your Flickr account to Flickr to show Private, friends and/or family only photos *error checking if Flickr is down etc. use cached REST data if down. *refresh= now also sets the cache timeout for API calls cache, not just the tag output cache *allot of code cleanup.

and happy turkey day.

       
j25's avatar
j25
47 posts
17 years ago
j25's avatar j25

I am assuming that in order to upload this module, I put it in the “modules” folder via FTP, correct? Do I upload the whole “eeflickr Folder”?

When I tried to do this, the Module tab of the CP gave me this error:


Error Unable to load the following language file: /lang.eeflickr Folder.php


Thank you for helping me with the basics! I am very excited to get this flickr module up and running, it is just what I have been looking for as I am very unhappy with the EE Photo Gallery Module.

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

the eeflickr folder goes in the modules folder the language file lang.eeflickr.php goes in the language/english folder

       
Pål Degerstrøm's avatar
Pål Degerstrøm
28 posts
17 years ago
Pål Degerstrøm's avatar Pål Degerstrøm

lumis,

Thanks for adding support for private pictures, it makes it infinitely more useful!

       
lumis's avatar
lumis
119 posts
17 years ago
lumis's avatar lumis

added 5 new tags

» exp:eeflickr:favorites_getList Returns a list of favorite public photos for the given user.

» exp:eeflickr:contacts_getPublicList Get the contact list for a user.

» exp:eeflickr:groups_pools_getContext Returns next and previous photos for a photo in a group pool.

» exp:eeflickr:groups_getInfo Get information about a group.

» exp:eeflickr:photos_getAllContexts Returns all visible sets and pools the photo belongs to.

http://www.lumis.com/eeflickr/

       
Leempi's avatar
Leempi
9 posts
17 years ago
Leempi's avatar Leempi

I’m getting the following error when I try to put in some code:

Parse error: syntax error, unexpected '(', expecting '}' in /home/noseir3/public_html/moeenpinda/asdf2362/modules/eeflickr/mod.eeflickr.php on line 1100

This is with the 0.6.5 beta and ee 1.6.1. Using the example code from: http://www.lumis.com/eeflickr/tag/favorites_getlist/ with the user_id changed

       
1 2 3 4 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.