Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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
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
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
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
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
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
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
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
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
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
Re: [plugin] [ORPHAN] vdh_flickr
very cool. thanks Ralph :)
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
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