Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#556 2007-06-11 14:25:28

lunaport
Member
From: Chicago, IL
Registered: 2004-03-03
Posts: 13
Website

Re: [plugin] [ORPHAN] vdh_flickr

Great. Thanks for looking into it. I’m in no hurry to have it fixed—just wanted to confirm that what I was seeing wasn’t me doing something wrong.

Offline

#557 2007-06-14 12:41:21

marvincooper
Member
Registered: 2004-10-13
Posts: 43

Re: [plugin] [ORPHAN] vdh_flickr

I’ve just started to use this plugin and I want to show private pictures from flickr. The plugin documentation says I need my flickr username and email address, but now flickr has been yahoo’d, so how can I do this with the new yahoo login for flickr?

Offline

#558 2007-06-15 19:24:22

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

Re: [plugin] [ORPHAN] vdh_flickr

Showing private pics is not possible with the current version of the plugin, I’m sorry. Once I tried to completely rewrite the whole plugin from scratch with support for the new auth api. You can download vdh_flickr_alpha_03.zip, but it is not as feature complete as the current stable version and the installation is a little bit different. More info in the package.

Offline

#559 2007-06-16 03:34:49

marvincooper
Member
Registered: 2004-10-13
Posts: 43

Re: [plugin] [ORPHAN] vdh_flickr

OK, thanks

Offline

#560 2007-06-26 03:13:18

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

Re: [plugin] [ORPHAN] vdh_flickr

I’m having trouble linking to the orginal size. I think it might be a problem with the Flickr account and not the plugin because I’ve gotten my setup to work with a different flickr user. I’ve asked flickr to look into it, but thought check to see if any else here had a similar problem.

The people I’m setting this up for have a new Pro account. So it should work. But I just get photo unavailable from a weird domain.

Has anyone else had this problem with a flickr account?

Using a stranger’s flickr account, everything works fine

Here’s the test that uses the same forms and vdh tag, but does not work

The high-res link seems correct: http://static.flickr.com/1252/593247601_55e4954080_o.jpg seems correct.

On flickr, you’ll see the photo does have an original size available

Thanks for listening. Any thoughts greatly welcomed…

Offline

#561 2007-06-26 09:37:56

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

Re: [plugin] [ORPHAN] vdh_flickr

Flickr changed the URL scheme of the original images some time ago. So freshly uploaded images do not work at the moment. This is a pretty quick fix, so I think I can do it within this week.

Offline

#562 2007-06-26 17:09:49

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

Re: [plugin] [ORPHAN] vdh_flickr

Oh. I thought I was going crazy. So will your plugin need to generate a different url depending on when the image was uploaded? I’m not a coder, but maybe I’ll see if I can’t figure out a temporary fix for your plugin.

Thanks for digging into this and giving us such a great utility. Do you take paypal donations?

Offline

#563 2007-06-26 19:37:18

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

Re: [plugin] [ORPHAN] vdh_flickr

I adjusted the plugin to use the new url scheme. In order to link to original images, you must allow anyone to download your photos in the flickr privacy settings. You can download the new version on the download page.

Offline

#564 2007-06-26 21:52:09

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

Re: [plugin] [ORPHAN] vdh_flickr

thanks ralph. I updated the plugin but the link still isn’t working. The url has the new farm scheme, but still leads to the same not available page.

http://farm2.static.flickr.com/1252/593247601_55e4954080_o.jpg

Offline

#565 2007-06-26 23:01:55

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

Re: [plugin] [ORPHAN] vdh_flickr

I posted to the flickr forum and someone replied:

“That’s because you’re not using the originalsecret. If you go to that page, you’ll see that the URL for the original size is this: farm2.static.flickr.com/1252/593247601_fed61fe726_o.jpg. So, it seems that your plugin isn’t handling originalsecret.”

It seems that the secret is different for original size than the rest. more info about that from flickr

Offline

#566 2007-06-27 09:18:41

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

Re: [plugin] [ORPHAN] vdh_flickr

Sorry, this was my mistake. I fixed the issue, so after redownloading and installing 0.8.11 you should be fine.

Offline

#567 2007-06-28 17:08:39

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

Re: [plugin] [ORPHAN] vdh_flickr

Thanks Ralph for the quick turn around. Truly appreciate it!

aswihart: I'm moving this setup to a friend's host with php 4.4.4 and it's not working. I tried $GLOBALS[‘use_php4’] = 0;@ and $GLOBALS['use_php4'] = 1; but vdh is either ignored by txp or the page never successfully loads at all.

Is the only code that you found that needed changing?

I’ve asked the host to enable php 5, but they’ve been slow to respond.

Offline

#568 2007-06-29 11:03:18

fuls
Member
Registered: 2005-11-16
Posts: 117
Website

Re: [plugin] [ORPHAN] vdh_flickr

Hi,

I’m having some setup troubles with this plugin. Can someone show me the code for “Demo3” with thumbnails and also how to turn of the title and “Show as slideshow in new window”. I’d like to show latest 6 photo thumbnails from flickr and to open them in flickr and I’m using the plugin tag inside the page (not in article).

The latest=“6” doesn’t work for me (why is that?), so I used random=“6” and really can’t find the way to turn of title and slideshow link.

Thank you.

Last edited by fuls (2007-06-29 11:05:34)

Offline

#569 2007-06-29 18:43:01

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

Re: [plugin] [ORPHAN] vdh_flickr

The code for latest pics works like this:
<txp:vdh_flickr_thumbnails nsid="12345" latest="6" />

In order to turn off title and slideshow link, you must create an own form.

Offline

#570 2007-07-02 18:19:41

riot
Member
Registered: 2005-10-09
Posts: 22

Re: [plugin] [ORPHAN] vdh_flickr

I have been having problems with this plugin recently. Every few minutes or so I’ll get a “Failed to connect to flickr.com!” error that lasts for another 20 minutes. I upgraded to 8.11 from 8.10 with no issues. Im running another site with this plugin and have never had an issue.

Here are some snippets:

<txp:vdh_flickr nsid="8132196@N08" set_form="flickr_preview" thumbnails_form="flickr_thumbs" img_form="flickr_image" />
Textpattern version: 4.0.4 (r1956)
Last Update: 2007-06-02 13:58:03/2007-06-01 02:18:29
Document root: /home/rosa/public_html
$path_to_site: /home/rosa/public_html
Textpattern path: /home/rosa/public_html/textpattern
Permanent link mode: section_title
open_basedir: /home/rosa/:/usr/lib/php:/usr/local/lib/php:/tmp
Temporary directory path: /tmp
Site URL: www.equal-ground.org
PHP version: 4.4.7
Register globals: 1
Server Local Time: 2007-07-02 13:16:23
MySQL: 4.1.21-standard-log
Locale: en_GB.UTF-8
Server: Apache
Apache version: Apache
PHP Server API: apache
RFC 2616 headers: 
Server OS: Linux 2.6.21.5
Active plugins: asv_breadcrumb-1.0, vdh_flickr-0.8.11

Pre-flight check: 
------------------------
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd
------------------------

.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
RewriteBase /

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^(.+) - [PT,L]

 RewriteRule ^(.*) index.php
</IfModule>
DirectoryIndex index.php index.html
#php_value register_globals 0

------------------------

Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
17 Tables: -

PHP extensions: xmlrpc/0.51, xml, tokenizer/0.1, standard/4.4.7, sockets, session, pspell, posix, overload, mysql, mhash, mcrypt, mbstring, imap, gd, ftp, domxml/20020815, curl, ctype, calendar, bcmath, zlib/1.1, pcre, openssl, apache, ionCube Loader, Zend Optimizer

pretext_data: array (
  'id' => '',
  's' => '',
  'c' => '',
  'q' => '',
  'pg' => '',
  'p' => '',
  'month' => '',
  'author' => '',
  'request_uri' => '/3bdc5a979581618e74e64c55f018a9d3/?txpcleantest=1',
  'qs' => 'txpcleantest=1',
  'subpath' => '\\/',
  'req' => '/3bdc5a979581618e74e64c55f018a9d3/?txpcleantest=1',
)

/include/txp_category.php: r1879 (aee777474b2f67ca07fc25756ba25c15)
/include/txp_plugin.php: r1917 (74184c0d8ed8608f840707a255178617)
/include/txp_auth.php: r1879 (b1dd4072b7daf4e997c6ff65ce3d1b2d)
/include/txp_form.php: r1913 (16ec600b41438b4cca10d2c8a19b2db8)
/include/txp_section.php: r1891 (2959593586ba3e97bc602f369c32e738)
/include/txp_tag.php: r1915 (3b4a7f73d92f9bbbe09985c5aa830d29)
/include/txp_list.php: r1892 (41f4d32fd070234b78f94adefebd5234)
/include/txp_page.php: r1913 (34331a5468bbb18dd9f6a282f3aa11e8)
/include/txp_discuss.php: r1909 (9b9ee934a30f52cd7a4d8cb45c8380ab)
/include/txp_prefs.php: r1946 (05615b6275d8927a2a0d51918d70a896)
/include/txp_log.php: r1919 (ed54d02e865319f2506c642a6bde768b)
/include/txp_preview.php: r1238 (5a4ae3ff0d68f4cb573d6d62a00ce9e8)
/include/txp_image.php: r1955 (20be975e67fa7c4aa9a1a3e51bfaf379)
/include/txp_article.php: r1889 (7749f699c03d0c57e04fafe17dbfa94c)
/include/txp_css.php: r1897 (f5cf1c20badb96a063c7c180e9020359)
/include/txp_admin.php: r1879 (d36dac010d21df7bcf9cf5e242b34d58)
/include/txp_link.php: r1879 (0652287df8bb32c66cfa1b939402404a)
/include/txp_diag.php: r1902 (96697ade63048e517177f4129d47de76)
/include/txp_file.php: r1895 (6ed67b094522e51b028dc88baa07444c)
/include/txp_import.php: r1238 (634e75d1b61958875ff275e3130f23ad)
/lib/admin_config.php: r1747 (1563fcbaffe25b3272b0d85ff9d5571d)
/lib/txplib_misc.php: r1956 (182c50b86195f1abe9dbe15728df3cae)
/lib/taglib.php: r1535 (04806ef864d5b0d2974e0e5f6397a2d7)
/lib/txplib_head.php: r1887 (b110efd071e9a5bb395beea66ced128a)
/lib/classTextile.php: r1943 (2c559991e34738eef1990dc079bd91c4)
/lib/txplib_html.php: r1937 (c206ca9cb9a54a7a95f3355b77fd0fa2)
/lib/txplib_db.php: r1879 (d68b6ea69950e405c4fec23b8641d9c2)
/lib/IXRClass.php: r765 (cbe59b59246dce060a4b4a52b4d448d8)
/lib/txplib_forms.php: r1887 (0049a228dc8eb346f8603478a7c1b2e2)
/lib/class.thumb.php: r1955 (12961180eee3add5096e69e0a154284e)
/lib/constants.php: unknown (0e40251c717c52b2b7fe992b62a3e97a)
/lib/txplib_update.php: r1239 (757f8189fcc53a795d7c807f17b2e788)
/lib/txplib_wrapper.php: unknown (584448787b4a3488200722672c0eee0d)
/publish/taghandlers.php: r1949 (3fa1b9ded18e6074b2495a3f4e3c33b5)
/publish/atom.php: r1864 (50602e2f1c443819a0a60f14f39d3093)
/publish/log.php: r1637 (a4a772567079f18101a1752446f3f6d4)
/publish/comment.php: r1951 (a3f803d744fea80808eb27a3f6b28674)
/publish/search.php: r1748 (b0182abc287055fe0932c263b2a5266d)
/publish/rss.php: r1864 (ae43eaa9ebe6b00e63810ae60ca7c6b6)
/publish.php: r1945 (abff727405efc6c4ec8b1cb403290063)
/index.php: r1948 (adf86f44861797f4969373c708ef48fb)
/css.php: r944 (763fa7658fc19ad23a5b2126fcdf366c)

Offline

Board footer

Powered by FluxBB