Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#16 2005-03-22 08:05:01

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: [plugin] [ORPHAN] vdh_flickr

@bb50014:
That’s right, the plugin does not work in a subdirectory. But I think I can get this resolved in the next version.

Offline

#17 2005-03-22 08:07:44

bb50014
Member
From: fiesole, italia
Registered: 2004-04-13
Posts: 15
Website

Re: [plugin] [ORPHAN] vdh_flickr

too funny my question was answered while i was typing it… RT!
thanks…

> bb50014 wrote:

> @alicson

the site you use the plug-in… is it in a sub-directory or at the pub level?

i still trying to figure out how to make it work from txp in a sub directory

ie: …/public_html/sub/textpattern

works fine if installed in the pub level

…/public_html/textpattern

also just curious do you have your .htacccess one level up from the txp directory our in the root level of the txp directory. i have mine one level/dir up.

.htaccess
/textpattern

anyways it’s a very cool little plug

Offline

#18 2005-03-22 16:39:59

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: [plugin] [ORPHAN] vdh_flickr

I just released version 0.3.1 which does not have any features added, but should run in a subdirectory. So you guys can start playing with it…

When I tested the plugin with textpattern installed in a subdir, I used this .htaccess file:

RewriteBase /subdir/subsubdir
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php
AddDefaultCharset UTF-8

I guess the RewriteBase part might be important.

Offline

#19 2005-03-23 01:36:51

bb50014
Member
From: fiesole, italia
Registered: 2004-04-13
Posts: 15
Website

Re: [plugin] [ORPHAN] vdh_flickr

hi ralph

seems like the extra ‘Rewrite’ line in the .htaccess doesn’t work for me it re-directs the site to the Root ‘public_html’ version.

using the orig .htaccess and new plug-in 0.3.1 i get something like this in my sub-dir version (i can see the sets, but when i click on one i get this below)

…com/it/photogalphotogal/?set=175411
which just re-directs back to the index for the sub-directory…

where the english version with 0.3.0 is working

…com/photogal/?set=175411

thanks for working on a new version, looks like (non programmer speaking here) your getting close.

brian

> larf wrote:

> I just released version 0.3.1 which does not have any features added, but should run in a subdirectory. So you guys can start playing with it…

When I tested the plugin with textpattern installed in a subdir, I used this .htaccess file:

RewriteBase /subdir/subsubdir
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php
AddDefaultCharset UTF-8

I guess the RewriteBase part might be important.

Offline

#20 2005-03-23 10:28:44

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: [plugin] [ORPHAN] vdh_flickr

That’s strange, it works perfect here.

> …com/it/photogalphotogal/?set=175411

And this looks like the plugin shows the correct path.

So I think this is related to the .htaccess files.
Only to be sure, you have one textpattern installation in “public_html”, and a second one in
“public_html/it”. If that is the case, there should be one .htaccess file in “public_html” with “RewriteBase /” in it, and there should be another .htaccess file in “public_html/it” which should have “RewriteBase /it” in it.
If that does not work, try to leave out the RewriteBase part first only in the “public_html” .htaccess file, then in both ones.

Offline

#21 2005-03-23 12:12:59

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: [plugin] [ORPHAN] vdh_flickr

Ah, damn, now I see your problem: photogalphotogal isn’t correct, it should be photogal!

But I must say I don’t know why it does not work.
<a href=“http://typo3.emst.de/”>Here</a> I have installed textpattern and vdh_flickr in the root directory, <a href=“http://typo3.emst.de/subdir/subsubdir/”>here</a> I have installed it in a subdir of a subdir (just to make sure it also works in cascaded subdirs).

But I think I’ll have some time this evening for investigaton…

Offline

#22 2005-03-23 16:15:22

bb50014
Member
From: fiesole, italia
Registered: 2004-04-13
Posts: 15
Website

Re: [plugin] [ORPHAN] vdh_flickr

yeah i’m still getting ‘…com/photogalphotogal/…’

i tried adding the lines in both my .htacess files

RewriteBase /
(for the ‘public_html’ TP dir)

RewriteBase /public_html/it
(for the ‘public_html/it’ TP dir)

for the english version it gave me the photogalphotogal/

for the italian version it gave me a internal server error

———————my current .htacess files are back to this———
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

RewriteRule ^(.*) index.php

AddType application/x-httpd-fastphp5 .php
Action application/x-httpd-fastphp5 /php-fastcgi/php5-fcgi

Offline

#23 2005-03-23 17:51:04

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: [plugin] [ORPHAN] vdh_flickr

I think it should be:

RewriteBase / (for the ‘public_html’ TP dir)

RewriteBase /it (for the ‘public_html/it’ TP dir)

Last edited by larf (2005-03-23 17:54:22)

Offline

#24 2005-03-23 20:05:53

bb50014
Member
From: fiesole, italia
Registered: 2004-04-13
Posts: 15
Website

Re: [plugin] [ORPHAN] vdh_flickr

hmmmm…

i just went in and added the correct line in…

still getting …com/photogalphotogal/?set=175411

i see the sets, but get redirected with the above url

i wonder if this has something to do with TD’s virtual server setup, …i have an acct. with TD that is brianb.textdrive.com and the domains live in a dir in that account… virtual

thanks again, brian

Offline

#25 2005-03-24 15:00:16

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: [plugin] [ORPHAN] vdh_flickr

I decided that my method of determining in what subdirectory txp is installed was shit and implemented another method for version 0.3.2.
I propose you just try it out and change the .htaccess files to their original state.

Offline

#26 2005-03-24 16:05:57

bb50014
Member
From: fiesole, italia
Registered: 2004-04-13
Posts: 15
Website

Re: [plugin] [ORPHAN] vdh_flickr

it works great!

thanks-grazie :)
brianb

> larf wrote:

> I decided that my method of determining in what subdirectory txp is installed was shit and implemented another method for version 0.3.2.
I propose you just try it out and change the .htaccess files to their original state.

Offline

#27 2005-04-05 11:55:05

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: [plugin] [ORPHAN] vdh_flickr

Hello!

I’ve just released version 0.4 with some new stuff. I suppose you just check out the help file <a href=“http://www.rvdh.net/vdh_flickr/”>here</a>.

Offline

#28 2005-04-09 19:59:10

larf
Archived Plugin Author
Registered: 2005-01-31
Posts: 159
Website

Re: [plugin] [ORPHAN] vdh_flickr

Hello!

Now there’s version 0.5 online.
This version gives you many options to customize your gallery, for example switch descriptions on and off or change the text of descriptions. Furthermore, it comes with an excellent slideshow option.

Check it out!

Offline

#29 2005-04-10 00:07:21

alicson
Member
Registered: 2004-05-26
Posts: 465
Website

Re: [plugin] [ORPHAN] vdh_flickr

very cool. thanks Ralph :)


textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation

Offline

#30 2005-04-10 22:57:04

jonhicks
Member
From: Oxfordshire UK
Registered: 2004-03-22
Posts: 256
Website

Re: [plugin] [ORPHAN] vdh_flickr

This is superb! The convenience of Flickr, with the design of your own site – I like the cut of its jib, thanks!


Cheers,
Jon VC#9

Offline

Board footer

Powered by FluxBB