008 - Create a Joomla! v 1.5 plugin for Flickr Images.
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
afq -
This was working for me back on Dec 15. Now, on my server environment I am having trouble - and on my localhost. I incorrectly assumed you changed the caching and that perhaps those changes caused new problems. It sounds like my assumption was incorrect. Do you have any ideas on why this no longer works in either environment. What changes have been made since the 15th? Do you still have your work from that date?
Thanks!
Amy
This was working for me back on Dec 15. Now, on my server environment I am having trouble - and on my localhost. I incorrectly assumed you changed the caching and that perhaps those changes caused new problems. It sounds like my assumption was incorrect. Do you have any ideas on why this no longer works in either environment. What changes have been made since the 15th? Do you still have your work from that date?
Thanks!
Amy
-
- Joomla! Apprentice
- Posts: 20
- Joined: Fri Nov 30, 2007 3:10 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Amy -
The version you used on December 15th is attached to this post.
Unfortunately, I'm not in the habit of developing using SVN or CVS, so I haven't "officially" kept track of the changes I've made - but all my changes have been minor things, such as improving the XML, documentation, adding styling support, internationalization, and rolling my own API key into the plugin. (all the things you suggested on Dec. 15)
In regards to:
Cheers!
The version you used on December 15th is attached to this post.
Unfortunately, I'm not in the habit of developing using SVN or CVS, so I haven't "officially" kept track of the changes I've made - but all my changes have been minor things, such as improving the XML, documentation, adding styling support, internationalization, and rolling my own API key into the plugin. (all the things you suggested on Dec. 15)
In regards to:
Code: Select all
Notice: Undefined variable: user in C:\Documents and Settings\AStephen\Desktop\Projects\websites\fresh\plugins\content\jigglr.php on line 118
I originally meant to say that to you, but I addressed it to mcsmom instead.As for that Notice you pointed out - I know the exact cause of the problem, but fixing it would require a bunch of extra conditionals that would really clutter the flow of the code. Since it's not a security flaw, is it absolutely imperative that I fix that Notice?
Cheers!
You do not have the required permissions to view the files attached to this post.
Last edited by afq on Mon Dec 24, 2007 12:16 am, edited 1 time in total.
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
To confirm: Are you asking me if this error I reported is acceptable since it's not a security issue?
AmyStephen wrote:
Notice: Undefined variable: user in C:\Documents and Settings\AStephen\Desktop\Projects\websites\fresh\plugins\content\jigglr.php on line 118
-
- Joomla! Apprentice
- Posts: 20
- Joined: Fri Nov 30, 2007 3:10 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Right. I mean, I guess it's dumb question - I have the fix and everything, I was just wondering if it was absolutely necessary.
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Let me know when you have something to test. Or, if you want access to my installation as an administrator, that can be arranged.
Thanks!
Amy
Thanks!
Amy
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
If you have a fix - let's get this puppy closed today! Let me know if you have something to review. It's a fabulous extension!
Amy
Amy
-
- Joomla! Apprentice
- Posts: 20
- Joined: Fri Nov 30, 2007 3:10 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Hehe, sorry for the slight delay. I had the plugin fixed and everything, but I completely forgot to upload it. We had some unexpected stuff going on because of Christmas ;)
The fixed version is attached to this post.
Notes
I noticed that the Joomla! System Cache might cause confusion if a user posts something containing {flickr} content tags BEFORE enabling Jigglr - since the output from Jigglr is not present, the original {flickr} tag will end up being cached, not the images. I made the necessary adjustments to the README.
The only thing that I could not fix was the issue with invalid path delimiters and so on. I tried out my idea of forcing phpFlickr to only load the PEAR libraries bundled with Jigglr by using the following code:
But unfortunately, all I got was this:
That is, Joomla! almost completely stopped working. If I had more time, maybe I could keep on pushing to find a better solution, but for now, I think I'll have to leave it at that. I've also placed a notice in the README about this issue.
The fixed version is attached to this post.
Notes
I noticed that the Joomla! System Cache might cause confusion if a user posts something containing {flickr} content tags BEFORE enabling Jigglr - since the output from Jigglr is not present, the original {flickr} tag will end up being cached, not the images. I made the necessary adjustments to the README.
The only thing that I could not fix was the issue with invalid path delimiters and so on. I tried out my idea of forcing phpFlickr to only load the PEAR libraries bundled with Jigglr by using the following code:
Code: Select all
$original = ini_get('include_path');
ini_set('include_path', dirname(__FILE__) . DIRECTORY_SEPARATOR . 'PEAR');
require_once <file>;
ini_set('include_path', $original);
Code: Select all
<div class="componentheading">
Welcome to the Frontpage</div>
<table class="blog" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<div>
You do not have the required permissions to view the files attached to this post.
Last edited by afq on Sat Dec 29, 2007 8:50 pm, edited 1 time in total.
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Quickly, before I continue my exploration. I installed this and was reading through those AMAZING instructions you added and then I saw the nicest comments! Very nice, thanks!
OK. Back to my cool Flickr extension that will help me unleash hundreds of Flickr images I already have waiting to be presented on a Joomla! v 1.5 website (which, BTW, I don't think final is far off - and this will be HOT.)
Amy
Edit: Go check it out, I'm serious this Flickr Extension is going to be red hot. I don't believe there is another Flickr extension available for v 1.5 *and* this one unleashes all the power needed.
OK. Back to my cool Flickr extension that will help me unleash hundreds of Flickr images I already have waiting to be presented on a Joomla! v 1.5 website (which, BTW, I don't think final is far off - and this will be HOT.)
Amy
Edit: Go check it out, I'm serious this Flickr Extension is going to be red hot. I don't believe there is another Flickr extension available for v 1.5 *and* this one unleashes all the power needed.
Last edited by AmyStephen on Sun Dec 30, 2007 12:32 am, edited 1 time in total.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Fri Nov 30, 2007 3:10 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Amy - thanks a lot for the compliments! Although maybe you're giving me a bit too much credit - all I really did was make a simple plugin layer for phpFlickr :P
Anyways, I'm not really sure what I should do next. Do I upload my plugin to the Google Task thread?
Anyways, I'm not really sure what I should do next. Do I upload my plugin to the Google Task thread?
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
I am having one problem with this plugin, and that is getting the limit value to work. I started digging into the code, but didn't have time to debug this. Do you know what limit is not working?
-
- Joomla! Apprentice
- Posts: 20
- Joined: Fri Nov 30, 2007 3:10 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Ah, my bad. I looked through the code and I saw this:
Where it should be
I also fixed a couple of other bugs, including a styling error and an issue with the photo id parameter. Seems like I got a bit hasty - I'll be spending some time thoroughly re-checking the plugin for more bugs, so it's likely I'll upload another more stable version tomorrow.
Code: Select all
is_int($check['limit'])
Code: Select all
is_int(intval($check['limit']))
You do not have the required permissions to view the files attached to this post.
Last edited by afq on Tue Jan 01, 2008 4:39 am, edited 1 time in total.
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Excellent - limit is working, now.
Everything looks FANTASTIC!
Check the code closely - and if you think it's good - post it. I accept it as final.
Have you got this on the JED already? It's going to move quickly! Excellent work!
Amy
Everything looks FANTASTIC!
Check the code closely - and if you think it's good - post it. I accept it as final.
Have you got this on the JED already? It's going to move quickly! Excellent work!
Amy
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
afq -
When this is posted on your Google Task page, I will mark it complete.
Thanks for the great job,
Amy
When this is posted on your Google Task page, I will mark it complete.
Thanks for the great job,
Amy
-
- Joomla! Apprentice
- Posts: 20
- Joined: Fri Nov 30, 2007 3:10 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Amy - will do.
Everything seems to be in tip-top shape, but I want to do one more round of intensive double-checking. In the meanwhile, I've submitted the plugin to JED and it's currently pending review.
I'll be sure to post it on Google once I feel it's as clean as I can make it :)
Thanks a lot for all your support all the way through this!
Everything seems to be in tip-top shape, but I want to do one more round of intensive double-checking. In the meanwhile, I've submitted the plugin to JED and it's currently pending review.
I'll be sure to post it on Google once I feel it's as clean as I can make it :)
Thanks a lot for all your support all the way through this!
Last edited by afq on Fri Jan 04, 2008 7:34 am, edited 1 time in total.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Fri Nov 30, 2007 3:10 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Okay, it's posted on the Google Task.
I'm finally done. I fixed up a couple of small bugs, two big ones that completely slipped by me, and polished the documentation. The plugin should be pretty stable at this point.
I had a couple hours on my hands today, so I also went ahead and added two big features to make the plugin more complete:
Cheers,
I'm finally done. I fixed up a couple of small bugs, two big ones that completely slipped by me, and polished the documentation. The plugin should be pretty stable at this point.
I had a couple hours on my hands today, so I also went ahead and added two big features to make the plugin more complete:
- Support for displaying Flickr photosets
- Ability to output Adobe Flash slideshows identical to the one Kdevine linked to earlier
Cheers,
You do not have the required permissions to view the files attached to this post.
Last edited by afq on Fri Jan 04, 2008 7:36 am, edited 1 time in total.
-
- Joomla! Apprentice
- Posts: 20
- Joined: Fri Nov 30, 2007 3:10 pm
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
The Jiggler is looking even better!
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Afeique -
I was looking for the Jigglr and cannot find it. I see the JoomlaCode place http://joomlacode.org/gf/project/jigglr/ but there are not any files. I also do not see it in the Extensions library.
Are you still maintaining this? Hope so! Look forward to hearing from you, thanks!
Amy
I was looking for the Jigglr and cannot find it. I see the JoomlaCode place http://joomlacode.org/gf/project/jigglr/ but there are not any files. I also do not see it in the Extensions library.
Are you still maintaining this? Hope so! Look forward to hearing from you, thanks!
Amy
-
- Joomla! Apprentice
- Posts: 20
- Joined: Fri Nov 30, 2007 3:10 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Hi, Amy,
I mistakenly nuked a large portion of my website, and while I still have the Jigglr code backed up, all the documentation/demos were destroyed...I didn't want to rewrite it all, so I deleted the project for the time-being.
Whether this becomes permanent or not, I dunno. I feel guilty not being more proactive, but since time is so tight, I prefer pursuing other projects.
I mistakenly nuked a large portion of my website, and while I still have the Jigglr code backed up, all the documentation/demos were destroyed...I didn't want to rewrite it all, so I deleted the project for the time-being.
Whether this becomes permanent or not, I dunno. I feel guilty not being more proactive, but since time is so tight, I prefer pursuing other projects.
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Afeique -
That is all perfectly understandable and it certainly is not the first time that a developer has found time lacking to support a GPL'ed extension. The main thing is getting a maintainer for the code. This is an excellent plugin and we need to find a way to keep it available for the community.
There are a couple of options we can take depending on how you want to proceed.
Option 1: We can get the code back out on JoomlaCode and JED and get you help and a team to rebuild missing documentation and work with you on improvements, bug fixes.
Option 2: We can find someone / team willing to maintain this code. Even I would be willing to help maintain it, if necessary. It is a great extension.
Do you have a preference? If you could email me a copy of the latest code, that would be great ( [email protected] ).
I appreciate your prompt response - that rocks! Thanks for your contributions to the Joomla! community!
Amy
That is all perfectly understandable and it certainly is not the first time that a developer has found time lacking to support a GPL'ed extension. The main thing is getting a maintainer for the code. This is an excellent plugin and we need to find a way to keep it available for the community.
There are a couple of options we can take depending on how you want to proceed.
Option 1: We can get the code back out on JoomlaCode and JED and get you help and a team to rebuild missing documentation and work with you on improvements, bug fixes.
Option 2: We can find someone / team willing to maintain this code. Even I would be willing to help maintain it, if necessary. It is a great extension.
Do you have a preference? If you could email me a copy of the latest code, that would be great ( [email protected] ).
I appreciate your prompt response - that rocks! Thanks for your contributions to the Joomla! community!
Amy
- hotnuts21
- Joomla! Explorer
- Posts: 315
- Joined: Wed Aug 17, 2005 11:11 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
DId anyone take up the torch for this plugin? Its a great addon for joomla but I dont seem to be able to find it on JED. Has it been renamed?
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
The extension (as of that time) is posted as an attachment. I did not hear more on this.
Thanks!
Amy
Thanks!
Amy
- hotnuts21
- Joomla! Explorer
- Posts: 315
- Joined: Wed Aug 17, 2005 11:11 pm
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
OK thanks Amy, I notice there are a couple of extensions that utilise the phpflickr library now currently available for 1.5. I will have a play with all of them and I may well take this on myself if I get time as its something we need to use in work.
Paul
Paul
-
- Joomla! Champion
- Posts: 7018
- Joined: Wed Nov 22, 2006 3:35 pm
- Location: Nebraska
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
That would be great, Paul. It's a very valuable capability to have on one's site. Thanks for considering.
Amy
Amy
- kane738
- Joomla! Apprentice
- Posts: 28
- Joined: Mon Oct 02, 2006 2:48 pm
- Location: UK
- Contact:
Re: 008 - Create a Joomla! v 1.5 plugin for Flickr Images.
Hi there!
I too love this extension. Brilliant work! Found a small bug in it though I think:
when I link to a specific photo by id, eg:
the link-back url to flickr doesn't seem to be formed right - it comes up as something like
where "Array" should be the user name. I had a look at the code myself and couldn't figure it out - my PHP skills are pretty non-existent
Does anyone else get this problem or am I doing something wrong?
I too love this extension. Brilliant work! Found a small bug in it though I think:
when I link to a specific photo by id, eg:
Code: Select all
{flickr photo=472217607}
Code: Select all
<a href="http://www.flickr.com/Array/472217607">
Does anyone else get this problem or am I doing something wrong?