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

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

I am also getting the same error as Leempi.

BTW, thanks for your help on the previous question (of where to put the files), lumis!

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

That was my bad. should be fixed now

       
nulldo's avatar
nulldo
2 posts
17 years ago
nulldo's avatar nulldo

I am getting the following error:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/siteroot/public_html/ee/sys/modules/eeflickr/mod.eeflickr.php on line 1375

Can someone explain what I need to do? Once I refresh the error msg disappears.

Thanks all! Thanks for eeflickr!

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

this is fixed now. I did not need that curl option in there anyway.

       
nulldo's avatar
nulldo
2 posts
17 years ago
nulldo's avatar nulldo

Thanks. I updated it and all is well.

       
DigiFiend's avatar
DigiFiend
41 posts
17 years ago
DigiFiend's avatar DigiFiend
  • Inside the unzipped software, you will find a modules directory. Upload this directory and everything inside it to your server and place it in the system/ directory. You should end up with it located at system/modules/eeflickr/mod.eeflickr.php and system/modules/eeflickr/mcp.eeflickr.php.
  • Inside the unzipped software, you will find a language directory. Upload this directory and everything inside it to your server and place it in the system/ directory. You should end up with it located at system/language/english/lang.eeflickr.php.

After doing that, is there any reason that eeflickr wouldn’t show on the module tabs to install? Perms seem the same, locations look good. Site is EE1.6.

Thanks, and sorry for the silly question.

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

digifiend, having bitten before by strange zip setups, I actually went in and unzipped it, then located the modules/eeflickr folder and uploaded that to my my modules folder; then I found the lang.* files and uploaded those to the language/english folder. You might want to give that a shot, as I suspect things didn’t end up quite where they should have. =)

(Meanwhile, I’ve moved this from the Plugins forum =) )

       
DigiFiend's avatar
DigiFiend
41 posts
17 years ago
DigiFiend's avatar DigiFiend

I figured out the issue, and I am officially a bonehead. It turns out that I have a system subdirectory in addition to the subdirectory that contains the live system files (no I dont know why). So it turns out that I had copied the files to a dead subdirectory. Works great when copied to the right place.

I’m looking forward to making a test page and trying this out 😊

       
DigiFiend's avatar
DigiFiend
41 posts
17 years ago
DigiFiend's avatar DigiFiend

Ive played around with this and it works great for pulling either set or pic data from a set. What I am really having problems with is visualizing and templating an initial page with set listings (pic over title), allowing somebody to click on a set, have the pics for that set pop open, and a mechanism to display the selected pic.

In other words, how does the selected set id from exp:eeflickr:photosets_getList get passed into the exp:eeflickr:photosets_getPhotos? Are there any sample templates out there that might explain typical usage?

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

takes off official hat and puts on hobby hat

It gets done by segment. So, for instance, the photosets_getList has a set of variables, one of which is {id}, you create a link passing {id} into the last segment, then on your single entry page, pull that in using the appropriate parameter (which I don’t know off-hand). you can use the same method to call in comments on that photo; but there is no tag to leave comments, or I would be doing that on my site too. 😉

       
DigiFiend's avatar
DigiFiend
41 posts
17 years ago
DigiFiend's avatar DigiFiend
*takes off official hat and puts on hobby hat* It gets done by segment. So, for instance, the photosets_getList has a set of variables, one of which is {id}, you create a link passing {id} into the last segment, then on your single entry page, pull that in using the appropriate parameter (which I don’t know off-hand). you can use the same method to call in comments on that photo; but there is no tag to leave comments, or I would be doing that on my site too. 😉

You’d think that I’d know about segmenting by now, but nope. After passing the id in the URL, I have successfully created a page with all the sets and a page that displays a particular set. Of course, it doesnt look good because none of the css is in place, but I think the hard part is behind me.

Thanks for your help with this 😊

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

Hey you got it! It’s pretty neat, eh? And you learned about one of the more powerful tools in EE’s arsenal; a good day, I say. =) Glad I was able to help, the module is new to me, too. =)

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

cool i was just about to post some code…

and the part about leaving comments.. well the complication is that in order to leave a comment each user must be independently authenticated to the API not just the module itself. so in order to use the API to post a Comment Flickr would have to ask each user if it was ok first (also provided they are a Flickr Member) then the user could post a comment using the API based on that session. Right now the Module if authentication is setup just authenticates itself to Flickr as if it were the API key’s owner. so i could use the cpmment post methoud but all comments would be posted as if they came from you.

as a standalone process individual user auth is pretty easy but i really wanted to find a way to wrap that into the EE user registration. and i have not yet begun to look into that. hopefuly it will be as simple as asking in the member cp what there flickr “nsid” is or “username” is, then a flickr allow window would open the user says “ok” and then they are logged in.

but it would add a new level of functionality allowing you to show photos ect. based on each users contact level (friend, family, contact, anonymous) and also mix that with user groups in EE. but i really wanted to get what i consider the core API methods debugged first.

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

another way for comments would be to have eeFlickr wright each images id to a weblog treating each image as a weblog entry and then have on site commenting based on that and not the flickr API

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

lumis - I did not mean to criticize; I implemented eeFlickr over the weekend and was really extremely impressed with it. You have some really great ideas for it and it’s working brilliantly now. However, since you’re here, might I ask one question? Do you know, off-hand, the default Flickr cache refresh? You mention it in the docs, but I’ve had to add refresh= to all of my tags to get new images to show up. It’s only at a 60 minute refresh and I would have thought the API itself would be that at minimum.

It’s really an amazing module; I love the idea of having it write to entries and also remote commenting, I’m torn about which I’d use if given a choice. I just love that the module itself works so well and so transparently with EE’s own methodology.

       
1 2 3 4 5 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.