Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
#451 2006-12-03 13:01:58
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
It is called “File Upload Path” in your Screenshot.
Offline
#452 2006-12-06 03:19:12
Re: [plugin] [ORPHAN] vdh_flickr
I finally upgraded to txp 4.0.4 (still using the vdh flickr 0.8.7). I get the following error on the page where I am listing all of my flickr sets: (The page does not show up, just the error)
Fatal error: Call to a member function on a non-object in /home/carolip6/public_html/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 1062
I figured out that the error is due to using the vdh_flickr_set_link tag in this list form (gallery_list):
<li><txp:vdh_flickr_set_link><txp:title /></txp:vdh_flickr_set_link> </li>
The list form is called from a page with the following code:
<txp:article form="gallery_list" sort="custom_1 asc" limit="30" />
Prior to upgrading to txp 4.0.4, the gallery_list form worked using with the vdh_flickr_set_link in it. The artist names listed in alphabetical order in the left column of the page (using the gallery_list form above). Each artist name would link directly to the thumbnails page for each artist (bypassing the preview page).
However, in order to make the page work, I had to take out the vdh_flickr tag and change the gallery_list form to the following:
<li><txp:permlink><txp:title /></txp:permlink> </li>
The error is gone now and the page shows up: http://www.carolinecarlisle.com/gallery
The problem is that when you CLICK ON AN ARTIST NAME (left column), it will take you to the preview page for the artist (using the permlink to article), rather than the thumbnails page (where I would prefer it to go – cuts down on clicks and doesn’t confuse visitors with the lonely preview thumb page). I guess the problem has to do with a change in the new version of TXP.
Any chance that there is a quick fix for this issue — perhaps in the vdh_flickr code? Thanks in advance for any help!
Offline
#453 2006-12-07 18:35:47
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
Have you changed anything else?
The error is thrown by this line in the 0.8.7 source code:
return $gal->set_link($params, $result);
The message means, that the $gal
variable does not point to an object, so vdh_flickr has not been initialized yet. So most probably the set_link
function is not the problem.
Offline
#454 2006-12-17 23:22:28
- inakit
- Member
- Registered: 2005-09-30
- Posts: 12
Re: [plugin] [ORPHAN] vdh_flickr
ralph Did you see this?
http://rvdh.net/vdh_flickr/demo4/tags/
i get this from your tags img
here
http://rvdh.net/vdh_flickr/demo4/set/1277515/img/59045368
and I get the same problem ,
Do you know why?
Thanks very much for your plugg anyway.
Inaki
Offline
#455 2006-12-18 08:35:22
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
I’ll check out why this happens…
Offline
#456 2006-12-19 18:21:31
- ralph
- Member
- Registered: 2005-02-28
- Posts: 106
Re: [plugin] [ORPHAN] vdh_flickr
@inakit:
The problem is fixed in 0.8.8, ready for download now.
Offline