Closed (fixed)
Project:
Flickrstickr
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
19 Mar 2007 at 19:33 UTC
Updated:
31 Jul 2008 at 04:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mg2020 commentedI have the same question...
But, I put a .info file in there, and had the image functionality in the post pages, but no way to administer (i.e. no way to enter API key). The access controls were in place, but no admin to be found.
Comment #2
mg2020 commentedI have the same question...
But, I put a .info file in there, and had the image functionality in the post pages, but no way to administer (i.e. no way to enter API key). The access controls were in place, but no admin to be found.
Comment #3
bw commentedHi,
I've encountered the same problem - created an info file and receive the ability to configure permissions for the module and view it in posts but nowhere can I configure the API key, etc.
We would be happy to pay for sponsorship for backporting this to Drupal 5.
best,
bww
Comment #4
wayfarer_boy commentedA rather quick fix (dirty hack) for this is to install the current Flickr module and use it to set up the API key. This will then create a site variable called flickr_api_key. Next, edit the FlickrStickr module, and change line 308 (the flickrstickr_getapikey function) so it returns this variable, and not the flickrstickr one:
Old code:
New code:
Comment #5
lias commentedsubscribing...
Comment #6
wessex commentedSubscribing
-this looks like it could be a superb user-friendly way of adding Flickr images to content.
Comment #7
toma commentedanyway to have this module for 5.1
Thanks
Comment #8
emmajane commentedI am working on an upgrade. I have the connection to Flickr working correctly (without having to use the flickr.module for the API key -- for that you need to update the flickrstickr_menu function and then make sure your access control is set). I have also changed the module so that the user may ONLY access their own Flickr images. For this part I have hooked into the flickr.module as I see no advantage in redoing the validation script for the flickr username.
While I am slightly embarrassed by how messy my script is, I am happy to distribute it. HOWEVER, it's still not working. Unfortunately when I try to drag and drop an image it is not (1) pasting the URL back to flickr (2) displaying the correct size of image. I assume this is a problem with the javascript functions, but I'm not sure where to start.
If I have TinyMCE enabled and I drag and drop this is the HTML that is pasted into the text area:
<img id="flickrstickrphoto3" style="display: inline" src="http://static.flickr.com/1334/571500480_6f4832f271_s.jpg#left_240_240" alt="" />If I do not have TinyMCE enabled and I drag and drop this is what I get:
http://static.flickr.com/231/470018726_fb987ae648_s.jpg#left_240_240Strangely (at least I think it's strange) there does not appear to be any javascript errors when I type, "javascript:" into the address bar in Firefox.
Has anyone else seen this kind of incorrect behaviour in previous versions?
Comment #9
Christefano-oldaccount commentedCan you provide a patch so we take a look at your code? The handbook has information on creating patches at http://drupal.org/patch
Comment #10
emmajane commentedflickrstickr.info:
name = FlickrStickr
description = Enable flickr image inserter in your node forms.
dependencies = flickr
package = Flickr
flickrstickr.module patch is attached.
I used the following command to generate it:
diff -up flickrstickr5/flickrstickr.module flickrstickr/flickrstickr.module > flickrstickr5.patchI hope that's right...
As a reminder: I removed the ability to add anyone's flickr username within the "pop-up" selection tool so there is only one box to type into (the tag). Being able to type in anyone's name was not appropriate for the site I'm working on. (Of course you could still go back to your profile page and change the flickr username to someone else's... every system has its limitations).
Thanks for taking a look!
Comment #11
Anonymous (not verified) commentedHi, I'm trying to get the module to work – emmajane is there any way you could post the complete version 5 module?
I'm a bit of a n00b to drupal (and PHP), and my head is starting to rotate.
Many thanks
Comment #12
alex_b commentedPlease patch with cvs diff -u -N
You can apply this patch easier by going to /flickrstickr directory and entering
patch -p0 < flickrstickr5_0.patch
Comment #13
alex_b commentedSorry, I was too quick on the enter key: Thanks for the upgrade patch!
Comment #14
eagereyes commentedSubscribing ... looks like a cool idea
Comment #15
54drupal commentedIS there yet working version of this for Drupal 5. Need something very similar
Comment #16
wmostrey commentedThe HEAD version has been upgraded to Drupal 5 and there is now a drupal5-dev version. This will be available for download later this day, when the drupal.org cron runs and created a zip from the files.
Comment #17
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.