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!
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.
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 =) )
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 😊
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?
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. 😉
*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 😊
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 - 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.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.