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

New Add-on: Flickr for EE

Development and Programming

Dane Thomas's avatar
Dane Thomas
139 posts
15 years ago
Dane Thomas's avatar Dane Thomas

This is great! Any chance we could get access to a {count} variable in the {exp:flickr:photostream} tags - just handy when not displaying the images in the default 10 image square - ie. styling the first and last image with different padding.

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

Definitely, and thanks for recommending it!

Once I’m sure all the basics are working correctly I plan on adding a lot more template tags. I’ll hopefully have an update for you this weekend.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
15 years ago
Lisa Wess's avatar Lisa Wess
Try adding
$this->EE->load->library('api');
to line 221 of pi.dww_flickr.php

Line 221 already has this:

$this->EE->load->library('api/api_channel_fields');

should i completely replace it? add your line?

Tried both and neither worked.

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

Oops, had the line # off. I thought maybe adding that new line above the other library might fix it.

$this->EE->load->library('api');
$this->EE->load->library('api/api_channel_fields');

Is this how you changed it on yours?

The Api_channel_fields library extends the Api library. On my server it works fine without including the Api library but I guess yours needs it.

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

Lisa, were you able to get Flickr for EE working with that last tweak?

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
15 years ago
Lisa Wess's avatar Lisa Wess

I had changed it as per post #63, yes, as well as a full on replacement, and still got the error. I have not been able to get it to work.

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

Weird. I’m wondering if its something specific to EngineHosting. And if so, I’d like to get it fixed. The add-on seems to be working fine for other people which only makes it more frustrating. Maybe I’ll have to signup for EngineHosting for a month to test.

       
chronistin's avatar
chronistin
104 posts
15 years ago
chronistin's avatar chronistin

Great plugin, beautiful interface! I’ve been looking for something like it for a while, and it works very well for me.

I was wondering if there is a way to integrate photos from the groups I administer? Or would that require a completely different setup?

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody
Great plugin, beautiful interface! I’ve been looking for something like it for a while, and it works very well for me. I was wondering if there is a way to integrate photos from the groups I administer? Or would that require a completely different setup?

Thanks, glad its working well for you!

Its not currently possible to use photos that don’t belong to you, which means photos from your groups aren’t available. But good news, I’m working on adding this to an upcoming version!

BTW, are you using the version for EE2?

       
chronistin's avatar
chronistin
104 posts
15 years ago
chronistin's avatar chronistin

Wow, you’re quick!

Yes, this is on 2.0 - everything smooth, from setup to display. (And thanks for the documentation, many plugins are weak in that respect!)

Good to hear you will be expanding the possibilities - any time estimate on that (just rough, like next week / next month / next year)? It would be perfect for a club site I’m developing, and if it’s not too far away, I’d rather wait than go the hard way through feed importing. (I’d make them donate, too! 😉 ).

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

I’d put the ETA at a week or two. For the most part the add-on seems to be working for people pretty smoothly so the next step is to build out more features. This will include more template tags and more options when browsing your photos.

       
chronistin's avatar
chronistin
104 posts
15 years ago
chronistin's avatar chronistin

Definitely worth waiting! The more I look at the plugin, the more I like it.

       
Lisa Wess's avatar
Lisa Wess
20,502 posts
15 years ago
Lisa Wess's avatar Lisa Wess

I decided to try this again. I must have pasted the line incorrectly before. Changing the plugin around line 221 as you pasted made the photosets tag work.

However the custom field doesn’t work, likely because with a flickr custom field the publish page never finishes loading. This is in Firefox and Safari.

The Safari Error Console shows this:

SyntaxError: Parse error
example.com/system.php/expressionengine/third_party/dww_flickr/javascript/jquery.flickr.js:1SyntaxError: Parse error
example.com/system.php/expressionengine/third_party/dww_flickr/javascript/jquery.jscrollpane.js:1SyntaxError: Parse error
system.php?S=0&D=cp&C=javascript&M=load&v=1272676849:19XHR finished loading: "http://example.com/system.php?S=0&D=cp&C=content_publish&M=filemanager_endpoint&action=setup".
/system.php?S=0&D=cp&C=javascript&M=load&v=1272676849:19XHR finished loading: "http://example.com/system.php?S=0&D=cp&C=content_publish&M=filemanager_endpoint&directory=1&action=directory_contents".

Edited security info out, you should know that my system directory is above the webroot which may be part of the issue.

       
Brett DeWoody's avatar
Brett DeWoody
140 posts
15 years ago
Brett DeWoody's avatar Brett DeWoody

Ahhhh, that would be the problem! I’ll need to rearrange some files for the next version to fix this. I was hoping to keep the installation simple by including everything in a single directory. But I guess I’ll need to move a few files to the /themes directory.

Will hopefully have a fix for you this week. The new version will also include several new template tags to add some of the features chronistin mentioned.

       
kellysims's avatar
kellysims
123 posts
15 years ago
kellysims's avatar kellysims

Just ran across this and I’m having trouble getting the authentication to work. I get to step 11 in the activation process and I’m given a blank page. Tried in Safari and Firefox. Any thoughts? I didn’t see anyone else in this thread mention this yet. Using EE1 version.

       
First 3 4 5 6 7 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.