Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#691 2009-02-08 22:28:07

zeeforel
Member
From: Nieuwerkerk a/d IJssel, NL
Registered: 2004-10-16
Posts: 92
Website

Re: [plugin] [ORPHAN] vdh_flickr

Hi to you all,

I have just started to work with this plugin and found that I get a number of tag-errors when in debugging status when using this tag:

<txp:vdh_flickr_thumbnails nsid=“51155389@N00” latest=“20” /> (purpose: creating a nice moblog)

Errors:

tag_error <txp:vdh_flickr_thumbnails nsid=“51155389@N00” latest=“20” /> -> Notice: Undefined index: set on line 288
…………………………
tag_error <txp:vdh_flickr_thumbnails_if_description> -> Notice: Undefined variable: result on line 468
…………………………
tag_error <txp:vdh_flickr_thumbnails_if_multiple_pages> -> Notice: Undefined variable: result on line 640

However switching to “test” or “live” status still provides what I am looking for without errors on screen: a nice set of thumbnails. Any idea about the relevancy of the errors? The plugin seems to be looking for a (photo)“set” number but according to documentation this is optional and could be subtituted with latest=“20”.

I am on TxP: 4.0.7 by the way.

Another issue is that the plugin should provide access to private photo-sets in Flickr, but it is asking for the email / password. I have tried my yahoo address / pw combo which gives me access to flickr.com, but the plugin is not able to use it (no private photo’s in results). Is the Flickr API looking for something else (my original before yahoo integration account id whatever that may be)?

Many thanks in advance.

Offline

#692 2009-02-09 09:56:42

ralph
Member
Registered: 2005-02-28
Posts: 106

Re: [plugin] [ORPHAN] vdh_flickr

Hi zeeforel,

the code of vdh_flickr could be improved to avoid these errors, but they won’t do no harm to your page when running in live mode.

The private photo thing is currently not working, because flickr switched to OAuth-authentification years ago, which was never implemented in vdh_flickr.

Offline

#693 2009-02-09 13:56:34

zeeforel
Member
From: Nieuwerkerk a/d IJssel, NL
Registered: 2004-10-16
Posts: 92
Website

Re: [plugin] [ORPHAN] vdh_flickr

Thanks Ralph,

I guess I will start using the plugin then. May try to extract only the parts that I need for creating a moblog:
+ only thumbnails that
+ show full image when clicked on it.

…if I find the time…

Offline

#694 2009-03-10 23:30:10

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: [plugin] [ORPHAN] vdh_flickr

Hello fellow vdh_flickrer’s! I have been working hard to use this plugin along with Slideshow2

I’ve almost got it, just one little hitch — you can read all about it and maybe even help me out!!

Hope to hear back from someone! : ) ….with php knowledge of how to use implode and or join

Offline

#695 2009-03-23 14:29:50

gdtroiano
Archived Plugin Author
From: Highland Park, NJ
Registered: 2005-01-29
Posts: 59
Website

Re: [plugin] [ORPHAN] vdh_flickr

Has anyone had any success getting vdh_flickr to show a specific set for each article with article_list?

Individual article pages work fine, but on article list pages only the pictures associated with the 1st article appear for every article.

Offline

#696 2009-03-26 00:47:03

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: [plugin] [ORPHAN] vdh_flickr

Does anyone want to take a crack at getting image captions from Flickr to show up when using the vdh_flickr plugin with lightbox? It appears as though it might be impossible to pull the image caption data from flickr to accompany the thumbnails (which is necessary if you are trying to use a lightbox). I know it involves accessing flickr’s API and getting params… xml… etc.

Ralph tried to implement this last year (post #645 in this forum topic) but he only added the thumbnail title and not the image caption to the lightbox. I thought I’d throw it out there again in case anyone is curious and might have more php and flickr knowledge than I do. It sure would be nice to be able to do this! … actually, it would be more than nice… it would be absolutely awesome!!

Offline

#697 2009-04-04 13:11:42

aswihart
Member
From: Pittsburgh, PA
Registered: 2006-07-22
Posts: 345
Website

Re: [plugin] [ORPHAN] vdh_flickr

@gdtroiano – How are you going about associating sets with articles?

Offline

#698 2009-04-04 13:28:11

gdtroiano
Archived Plugin Author
From: Highland Park, NJ
Registered: 2005-01-29
Posts: 59
Website

Re: [plugin] [ORPHAN] vdh_flickr

aswihart wrote:

@gdtroiano – How are you going about associating sets with articles?

I have a custom field named “flickr” that contains the flickr set ID, e.g. 72157594411901430. Then in the article form I have this:

<txp:if_artilcle_list>
<txp:asy_wondertag>
<txp:vdh_flickr_thumbnails_list wraptag="ul" break="li" thumbnail_size="t" img_size="o" random="3" class="pictures" open="lightbox" set="<txp:glz_custom_field name="flickr" />" />
</txp:asy_wondertag>
</txp:if_artilcle_list>

Like I said, it displays the appropriate photos when used with <txp:id_individual_article>, just not with <txp:if_article_list>. In an article list it only shows the photos associated with the first article for all of the following articles.

Thanks!

Offline

#699 2009-04-04 14:12:40

photonomad
Member
Registered: 2005-09-10
Posts: 290
Website

Re: [plugin] [ORPHAN] vdh_flickr

gdtroiano: I have never been able to get asy_wondertag to work with vdh_flickr. I wish it would work… I haven’t tried nesting tags within vdh_flickr with 4.0.7+ yet, but I imagine that it won’t work either.

Have you tried running vdh_flickr by typing the set number directly into the vdh_flickr tag? The vdh_flickr tag needs to be in the body or the excerpt of an individual article. It won’t work in an article form. When you output an article list of these articles, the list of sets will appear in preview mode via vdh_flickr.

Last edited by photonomad (2009-04-04 14:18:50)

Offline

#700 2009-04-04 23:14:08

gdtroiano
Archived Plugin Author
From: Highland Park, NJ
Registered: 2005-01-29
Posts: 59
Website

Re: [plugin] [ORPHAN] vdh_flickr

photonomad wrote:

gdtroiano: I have never been able to get asy_wondertag to work with vdh_flickr. I wish it would work… I haven’t tried nesting tags within vdh_flickr with 4.0.7+ yet, but I imagine that it won’t work either.
Have you tried running vdh_flickr by typing the set number directly into the vdh_flickr tag? The vdh_flickr tag needs to be in the body or the excerpt of an individual article. It won’t work in an article form. When you output an article list of these articles, the list of sets will appear in preview mode via vdh_flickr.

Actually, asy_wondertag isn’t even necessary anymore for the custom field to work within the vdh_flickr_thumbnails_list tag.

Hmm…the tag does work in an article form, as long as it’s for displaying an individual article. I’ll have to play around with putting the tag in the article body, though.

Last edited by gdtroiano (2009-04-10 13:31:09)

Offline

#701 2009-04-28 20:09:01

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: [plugin] [ORPHAN] vdh_flickr

hello, i got a “failed to connect” and i checked that: allow_url_fopen = On in the php.ini file. any ideas?

the tag i am calling is: <txp:vdh_flickr nsid=“0000000@N00” /> (fake numbers in there)

Offline

#702 2009-04-28 20:46:30

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: [plugin] [ORPHAN] vdh_flickr

i can confirm it’s host related cause calling that tag on my own host has it working right away.

Offline

#703 2009-04-28 23:58:16

jan
Member
From: Utrecht, The Netherlands
Registered: 2006-08-31
Posts: 71
Website

Re: [plugin] [ORPHAN] vdh_flickr

Yeah, allow_url_fopen might be on, but only for a restricted set of domains


Kensington TXP powered rock

Offline

#704 2009-04-29 01:59:35

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: [plugin] [ORPHAN] vdh_flickr

jan wrote:

Yeah, allow_url_fopen might be on, but only for a restricted set of domains

hmmm they use the vdeck system. i guess i’ll have to get tech support again.

Offline

#705 2009-04-30 05:09:55

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: [plugin] [ORPHAN] vdh_flickr

just to follow up, the tech support fixed this for me in the php.ini file. and it works now :)

Offline

Board footer

Powered by FluxBB