Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#376 2006-10-08 17:45:33
- hazel
- Member

- From: Glastonbury, UK
- Registered: 2006-09-22
- Posts: 36
Re: [plugin] [ORPHAN] vdh_flickr
@philipashlock
The phpflickr rewrite doesnt seem to be ready yet – this new version uses your API key rather than your email/password, but it’s not verifying for me (tried on 2 different accounts), I get:
“The Flickr API returned the following error: #98 – Invalid auth token”
After a refresh, followed by:
“The Flickr API returned the following error: #108 – Invalid frob”
Of course, this could be me doing something wrong, as there are no docs at the moment.
Offline
#377 2006-10-10 14:23:22
- hazel
- Member

- From: Glastonbury, UK
- Registered: 2006-09-22
- Posts: 36
Re: [plugin] [ORPHAN] vdh_flickr
Not sure if this is useful for anyone but…
Im setting up a gallery site for someone which requires a login to see their private flickr photos. Did a quick demo on my own (‘old skool’) account, worked great, so…
Got them a flickr account but as was mentioned, currently vdh_flickr can only show private pics from old skool accounts.
After some trial and error I found you can use your old skool account (using your email/pass) to access a ‘new’ account’s private pics (using their NSID), if youre part of their ‘friends/family’ network (and the pic permissions are set accordingly).
I know, it’s a short term fix until the new version, but for those who are impatient… ;)
Last edited by hazel (2006-10-10 14:26:20)
Offline
#378 2006-10-11 18:12:51
Re: [plugin] [ORPHAN] vdh_flickr
Hi folks,
I regret that I cannot spend any more time on this project. Why? Well, lots of reasons.
- I was planning to code some lines for vdh_flickr during my holidays. And I was planning to spend some time on various small projects to earn some money. Well, my holidays are over now, some projects are not even finished, and I expect a very busy next semester. So I think hoping to find some time in the near future is an illusion.
- I’ve been jumping on the Rails train months ago. This means, I don’t use TextPattern as my primary CMS any more. I do use it in cases where the client insists on using php, but if I have the choice, I use Radiant or roll my own system. So I just don’t have the passion to put much effort into TextPattern any more (although it’s still the best php CMS I know with a great community!).
So, to cut a long story short, the best thing that could happen would be someone taking over this thing. And I’m talking of the rewritten version of vdh_flickr with goodies like configuration in the TextPattern admin panel, support for the new authentication api (private pics), caching and much more. As the new version is build upon phpflickr version 2.0.0, it should not be too difficult to extend it. It is already quite usable, but lacks features that the old version already has.
As soon as I can find the time, I will add comments to the source code of the current development version in order to ease the orientation for people who are new to the code. Furthermore, I will write some documentation for the users. I really hope that someone will take this over!
I don’t want to abandon all the vdh_flickr users and the TextPattern community, but my situation does not leave me a choice at the moment. So, I hope you can understand.
Offline
#379 2006-10-12 01:13:42
Re: [plugin] [ORPHAN] vdh_flickr
This really was not good news.. well, ain’t much I can do. good luck in your future larf/ralph whatever..
Offline
#380 2006-10-12 07:21:00
- Niconemo
- Member

- From: Rhône-Alpes, France
- Registered: 2005-04-18
- Posts: 557
Re: [plugin] [ORPHAN] vdh_flickr
Thank you for all ralph… We understand very well. :-) Good luck to you.
…
Anyone looking for a fantastic plugin to work on ? ;-)
Last edited by Niconemo (2006-10-12 07:22:11)
Nico
Offline
#381 2006-10-12 08:46:45
- hazel
- Member

- From: Glastonbury, UK
- Registered: 2006-09-22
- Posts: 36
Re: [plugin] [ORPHAN] vdh_flickr
Understood Ralph. Don’t blame you for riding the Rails :)
Those comments/docs would sure be helpful, when you get a minute…
Thanks for your work on this, im sure it will get picked up.
Offline
#382 2006-10-12 09:51:57
Re: [plugin] [ORPHAN] vdh_flickr
Hope someone takes this fantastic plugin under their wings. Great job and thanks Ralph, your plugin is invaluable! Best of luck with your new projects.
Offline
#383 2006-10-12 15:33:22
- hazel
- Member

- From: Glastonbury, UK
- Registered: 2006-09-22
- Posts: 36
Re: [plugin] [ORPHAN] vdh_flickr
I’ve put up the new vdh_flickr files Ralph sent in the hope we can get our heads round it until he posts the docs:
@Ralph – I hope this is ok, let me know if not.
—-
Some instructions from the email:
“this is the latest version of the vdh_flickr plugin. If you extract
the zip file, you will get a directory. Put it in the root of your textpattern installation and enter
the full path to the directory into:
—-
Admin -> Preferences -> Advanced Preferences -> plugin_cache_dir.
—-
Then put <txp:vdh_flickr /> into either a template or an article.
When you load a page that contains the <txp:vdh_flickr /> tag, you
will see instructions how to set up the plugin. And remember to
create some sets, because the new version can only handle sets at the
moment.
—-
Configuration is done under Admin -> Prefs -> Advances Prefs.”
I made a bit of progress since my earlier post. I replaced the default API_KEY and API_SECRET in the source with my own (more info here), but now the errors seem to be with writing that info to the db (the new version is meant to save it to txp’s prefs table).
Last edited by hazel (2006-10-12 16:38:46)
Offline
#384 2006-10-12 15:55:05
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
Don’t replace the API_KEY and API_SECRET with your own! These keys are used to track flickr api usage by application, not by individual! It’s a widespread mistake…
Offline
#385 2006-10-12 16:40:51
- hazel
- Member

- From: Glastonbury, UK
- Registered: 2006-09-22
- Posts: 36
Re: [plugin] [ORPHAN] vdh_flickr
Right, my bad.
Well, I was just pleased to get a new error. it seemed like progress ;)
Offline
#386 2006-10-17 18:31:47
- hazel
- Member

- From: Glastonbury, UK
- Registered: 2006-09-22
- Posts: 36
Re: [plugin] [ORPHAN] vdh_flickr
Has anyone had any success with the new version?
It seems either the authentication url is not getting formed properly, or the API key is invalid (or both :)
Any ideas?
Offline
#387 2006-10-17 18:35:42
Re: [plugin] [ORPHAN] vdh_flickr
I’ll test on my various TextDrive accounts tomorrow in order to see whether something is wrong.
It works fine under php4 and php5 on my local MAMP installation.
Last edited by larf (2006-10-17 18:36:12)
Offline
#388 2006-10-17 19:18:27
- hazel
- Member

- From: Glastonbury, UK
- Registered: 2006-09-22
- Posts: 36
Re: [plugin] [ORPHAN] vdh_flickr
OK, thanks. I’m kind of going nuts ;(
Im using MAMP/php5 too…
Offline
#389 2006-10-22 12:23:48
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
Well, I’ve finally found the time to comment the source code, and while doing that, I also corrected the glitches found by hazel and others. You can find the latest package here, which should finally work out of the box for everyone:
Let me know if you run into troubles, and let me know if you would like to take over development for this plugin.
Offline
#390 2006-10-22 15:53:22
- hazel
- Member

- From: Glastonbury, UK
- Registered: 2006-09-22
- Posts: 36
Re: [plugin] [ORPHAN] vdh_flickr
Thanks ralph, works great. What was the problem?
Any chance you could summarise the missing features vs. the original version?
After a brief dig, it seems limiting sets (‘set=’ or ‘none/except=’), and tag lists/links (show all with a certain tag) are not supported, right?
Offline