Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#529 2007-04-11 07:15:50

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: [plugin] [ORPHAN] vdh_flickr

this is a brilliant plugin. thank you for all the work (and thorough documenation!).

The plugin works fine, but I’m getting a few TXP errors. I’m using ver 4.0.4 and PHP version: 5.1.4.

On my article that has txp:vdh_flickr nsid=“69XXXXXX@N00”, I get:

tag_error <txp:vdh_flickr_set_img title="Proceed to this gallery" /> ->  Notice: Undefined property:  Gallery::$titles  on line 199
textpattern/lib/txplib_misc.php(512) : eval()'d code:1019 Gallery->set_img()
textpattern/publish.php:958 vdh_flickr_set_img()
processTags()
textpattern/publish.php:917 preg_replace_callback()
textpattern/lib/txplib_misc.php(512) : eval()'d code:1038 parse()
textpattern/publish.php:958 vdh_flickr_set_link()
processTags()
textpattern/publish.php:917 preg_replace_callback()
textpattern/lib/txplib_misc.php(512) : eval()'d code:251 parse()
textpattern/lib/txplib_misc.php(512) : eval()'d code:993 Gallery->__toString()

Another article I’m testing has txp:vdh_flickr_thumbnails nsid=“69XXXX@N00” set=“7215759XXXXXXXXXX” open=“window”, and I get:

tag_error <txp:vdh_flickr_thumbnails_if_multiple_pages> ->  Notice: Undefined variable: result  on line 620
textpattern/lib/txplib_misc.php(512) : eval()'d code:1169 Thumbnails->thumbnails_if_multiple_pages()
textpattern/publish.php:958 vdh_flickr_thumbnails_if_multiple_pages()
processTags()
textpattern/publish.php:917 preg_replace_callback()
textpattern/lib/txplib_misc.php(512) : eval()'d code:627 parse()
textpattern/lib/txplib_misc.php(512) : eval()'d code:1003 Thumbnails->__toString()
textpattern/publish.php:958 vdh_flickr_thumbnails()
processTags()
textpattern/publish.php:917 preg_replace_callback()
textpattern/publish/taghandlers.php:1785 parse()

Again, it seems to be working fine, but the errors make me nervous. Any suggestions?

thanks again for all your work.

Offline

#530 2007-04-11 11:46:08

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

Re: [plugin] [ORPHAN] vdh_flickr

The errors should go away if you set your production status to “live” in the preferences.

But you are right, someone should work on this ;)

Offline

#531 2007-04-11 18:32:09

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: [plugin] [ORPHAN] vdh_flickr

the notice of errors go away, but i’m sure the errors are still there. is it safe to use with a client like this?

i’m nervous. but incredibly appreciative of all the work from you and txp community!

Offline

#532 2007-04-11 19:07:45

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

Re: [plugin] [ORPHAN] vdh_flickr

I think most of the errors appear due to the fact that the plugin often does not check whether variables are set. For example, it wants to join the contents of an array to a single string, but the array is empty because some conditions do not apply in the specific context.

I have never had problems with this after setting TxP to live mode, so I would say it’s save. But it’s up to you, after all.

Offline

#533 2007-04-19 03:28:33

cssboy
New Member
Registered: 2007-03-18
Posts: 5

Re: [plugin] [ORPHAN] vdh_flickr

Same here, Dreamhost, php5, completely broken. I’d love to see this plugin fixed.

Offline

#534 2007-04-22 14:59:52

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

Re: [plugin] [ORPHAN] vdh_flickr

This plugin works fine, your webserver is the problem, read through this thread to see if you can find a solution. Lots of people start with blank screens and think the plugin is broken (including me). Did you try setting the php option to use version 4 instead? You may not have php5 set up right.

Offline

#535 2007-04-23 16:07:01

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: [plugin] [ORPHAN] vdh_flickr

Everything is working great.

Since only pro accounts get to keep a photo’s original size, link="original_size" leads to a flickr image unavailable page for non-pro images.

Is there anyway to link to the largest available resolution without manually including a link? Not a big deal, just curious.

thanks…

Offline

#536 2007-04-23 16:18:50

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

Re: [plugin] [ORPHAN] vdh_flickr

Currently, no.

Offline

#537 2007-04-23 16:40:02

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

Re: [plugin] [ORPHAN] vdh_flickr

Seems like that would be a little tricky to implement, but it would be great if that was possible. Right now I upload photos at 1600×1200, and I have the link set to bring up the “large” resolution (1024 on longest side), but “large” is only generated for original pics that are at least 1281 pixels on the longest side. So when I have smaller pics (like 800×600, of which I have very few, so not a big deal), it tries to link to the large version, but it doesn’t exist. For these it would be great to have it revert to “original” in case a “large” size isn’t available.

Offline

#538 2007-04-23 17:05:50

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: [plugin] [ORPHAN] vdh_flickr

aswilhart, do you manually set the link to large for each photo? or do you have a way to make that automatic? how?

Offline

#539 2007-04-23 17:28:53

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

Re: [plugin] [ORPHAN] vdh_flickr

mwillse,
In your vdh_flickr tag, the attributes to set are link="original_size" and original_size="b". “b” means “large”.

I actually use link="lightbox" instead of original_size, but you have to have the lightbox / slimbox (what I use) and associated effects scripts on your server, and properly linked to in the <head> of your page. Thanks to Ralph, that’s all you have to do and lightbox works w/o a problem. It’s the same thing as link="original_size" but it adds rel="lightbox" to each link, and that’s what calls up lightbox.

Offline

#540 2007-05-02 01:44:42

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: [plugin] [ORPHAN] vdh_flickr

collections? ;)

hoping there’s a way to limit number of results from a collection i.e. latest 12 images, for instance… cos u can’t do that with sets, right?

Offline

Board footer

Powered by FluxBB