Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#436 2006-11-25 17:40:21

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

Re: [plugin] [ORPHAN] vdh_flickr

ralph – I’m using the 0.8.7 version of vdh_flickr. I’m trying to avoid the txp:linklist tag whenever possible, and I easily swapped in your txp:vdh_flickr_set_list to serve up a list of links to my galleries while on my photos page. Now, I want to have that link list displayed on other pages, which it does just fine, but the links will route incorrectly using the current page’s root as a starting point. So if you are on my photos page, that works as it should with each link to a set preceded by /photos, but when you click from the main page, the link then starts with /default, and on my music page it starts with /music, and so on. Please visit my page to get the idea quickly if that doesn’t make any sense.

Is there a way to change the php / code in your plugin so that is just always has the links start with /photos, so that the vdh_flickr_set_list will work correctly on all my disparate pages? Or maybe it would be possible to even create a parameter for this that could be specified in the txp:vdh_flickr_set_list tag. Thanks for any help!

Last edited by aswihart (2006-11-28 15:01:23)

Offline

#437 2006-11-30 20:22:56

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

Re: [plugin] [ORPHAN] vdh_flickr

Hello aswihart,

Sorry for answering so late. I admit this is a bug. The easiest way to work around this is:

  • copy the source code from the plugin-manager to a text editor
  • find every instance of $GLOBALS['s'] and replace it with "photos" (including quotes)
  • copy the source code back to TxP

If this does not help, reinstall the plugin and let me know.

Offline

#438 2006-11-30 22:50:18

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

Re: [plugin] [ORPHAN] vdh_flickr

Thank you so much, that’s exactly what I was looking for. My website thanks you too. If I any code I could have deduced that I imagine, but alas I don’t.

Last edited by aswihart (2006-11-30 22:51:04)

Offline

#439 2006-12-01 17:57:27

ohdeer
Member
Registered: 2006-06-13
Posts: 13

Re: [plugin] [ORPHAN] vdh_flickr

I really would like to get this plugin to work but it doesnt.

I have some few questions that needs to be answered:

1. In the article where I have put the <txp:vdh_flickr nsid=“90688143@N00” />. Should it be a title in the title-form?
2. I have done all that it said I should do but my site turns up totally blank? Why?
3. If I only want the thumbs to show at my default-page. What code will I use?

Offline

#440 2006-12-01 18:05:58

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

Re: [plugin] [ORPHAN] vdh_flickr

If your site turns totally blank, there is something wrong. Most probably some incompatibility with your php version.

You can try to use the latest alpha version, which is more compatible with different setups, but lacks some features and documentation. It is capable of viewing some thumbnails, though.

Offline

#441 2006-12-01 18:18:30

ohdeer
Member
Registered: 2006-06-13
Posts: 13

Re: [plugin] [ORPHAN] vdh_flickr

Thanks! Thats was quick :)

I will try the alpha-version instead.

Offline

#442 2006-12-01 20:52:10

ohdeer
Member
Registered: 2006-06-13
Posts: 13

Re: [plugin] [ORPHAN] vdh_flickr

hmm.. I am trying the alpha-version but i get an error-message when i reload my site.

Fatal error: Call to a member function on a non-object in /customers/ohdeer.se/ohdeer.se/httpd.www/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 1016

I think I have done everything right. But my english could have been better and maybe I missunderstood something?

Offline

#443 2006-12-02 08:26:03

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

Re: [plugin] [ORPHAN] vdh_flickr

Did you switch off the old plugin before installing the new one on the server?

If this is the case, there is definately something wrong with your hoster. Most probably they did not compile xml support into php. But some smaller hosters do so after clients ask them, though.

Offline

#444 2006-12-02 14:28:20

ohdeer
Member
Registered: 2006-06-13
Posts: 13

Re: [plugin] [ORPHAN] vdh_flickr

I didnt switch off the old plugin in before.

But now when I did that, the error-message dissapeared. But the code: <txp:vdh_flickr /> witch I copied into my default-template doesnt work. All I see is the dubbel-@ in the page-template.

Last edited by ohdeer (2006-12-02 14:29:35)

Offline

#445 2006-12-02 15:09:00

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

Re: [plugin] [ORPHAN] vdh_flickr

No, do not use @-signs. These are just Textile things.

Offline

#446 2006-12-02 18:44:47

ohdeer
Member
Registered: 2006-06-13
Posts: 13

Re: [plugin] [ORPHAN] vdh_flickr

Still doesnt work. Okey, this is what Ive done so far. Maybe Ive done something wrong…

1. Created a new directory called plugins in the textpattern-directory
2. Uploaded the extracted zip-file in the plugins-directory.
3. Added the path: http://www.mydomain.se/textpattern/plugins/phpFlickr.php in Preferences -> Advanced Preferences -> plugin_cache_dir
4. Added the code <txp:vdh_flickr /> in the default-template.

Is anything of this wrong?

Offline

#447 2006-12-02 18:48:35

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

Re: [plugin] [ORPHAN] vdh_flickr

Point 3 is wrong. It should be something like /users/home/.../domains/rvdh.net/public/plugins.

Offline

#448 2006-12-02 23:21:06

ohdeer
Member
Registered: 2006-06-13
Posts: 13

Re: [plugin] [ORPHAN] vdh_flickr

Im sry but I dont understand exactly.
Where do I find the right path? Or is the one you posted the right one?

Offline

#449 2006-12-03 09:48:06

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

Re: [plugin] [ORPHAN] vdh_flickr

Just log into your Textpattern admin interface, go to Preferences -> Advanced, and look under “File directory path”. Then make sure your “plugins” directory is in the same directory on the server like the “files” directory. Next you can copy your File directory path (e.g. /users/home/someuser/domains/mydomain.com/web/public/files and replace the last chunk by “plugins” (e.g. /users/home/someuser/domains/mydomain.com/web/public/plugins). This is the path you have to enter in the “Plugin cache directory path” textfield.

Offline

#450 2006-12-03 11:12:32

ohdeer
Member
Registered: 2006-06-13
Posts: 13

Re: [plugin] [ORPHAN] vdh_flickr

Actually I cant find the File Directory Path no mather how long I look.

Made a printscreen of my Advanced Preferences…

http://www.ohdeer.se/problem.gif

Offline

Board footer

Powered by FluxBB