[Suggestion/request] photoalbum

Creating and modifying plugins.
SHRIKEE
Regular
Posts: 128
Joined: Tue Feb 21, 2006 2:49 am
Location: Netherlands
Contact:

Post by SHRIKEE »

maybe the /blog somehow is in the settings field... (where the double //s were)
My kingdom For i am king of my heap of trash

Developing code on:
Workstation: Windows 2000 sp4, TSW webcoder 2005
Server: fedora core 4 amd64, apache 2.0.54, php 5.0.4, mysql 4.1.11.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

Ok, the double slash resulted from the default value for the permalink. I had a slash in front of the "pages/gallery.html". This seems to be a much bigger problem in the 1.4 version then is was in the previous versions... So I am going back through my code changes in 1.3 to see what I did wrong...

Shrikee, would you mind pulling your 1.4 version from download until I get a handle on what is going wrong?

Dave, I have set up an environment with serendipity in a subfolder, so I will work through the plugin and get the paths working. Once I have that I will forward my changes to SHRIKEE and ask him to post it as a download.

Once he has that I will need you to download the plugin, and then we can work on the problem with your pages not advancing correctly...

Sorry about this.
SHRIKEE
Regular
Posts: 128
Joined: Tue Feb 21, 2006 2:49 am
Location: Netherlands
Contact:

Post by SHRIKEE »

ill remove the download. but the file works for me, i assume it does for you too.

im wondering if it isnt a server specific issue here and not a bug.
My kingdom For i am king of my heap of trash

Developing code on:
Workstation: Windows 2000 sp4, TSW webcoder 2005
Server: fedora core 4 amd64, apache 2.0.54, php 5.0.4, mysql 4.1.11.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

The problem with malformed urls that Dave stumbled over is not server specific, it is specific to an install placed in a subfolder... I think I have it fixed (I just dumped full urls entirely and went to relative urls)... I will email you the updated files in a few minutes (I want to test them through a clean install and make sure they work...)

The problem with pagination may well be a server specific problem... I haven't been able to replicate that error... But I want to get a working version of the plugin together and on Dave's server (and for download) before we try to tackle that problem...
davecjr
Regular
Posts: 167
Joined: Fri Oct 29, 2004 3:09 pm
Contact:

Post by davecjr »

I just sent mgroeninger an email. I hope this isn't all because of me but I don't mind being the test bed if it fixes something! I wish I was smart enough to help more!
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

Naw, it's my fault, not yours... I made an assumption about a variable when I should have tested it...

I'm glad you posted about the bug, rather than just uninstalling the plugin and using something else...
Dangtz
Regular
Posts: 6
Joined: Wed Jun 29, 2005 5:21 pm

Post by Dangtz »

Is this plugin php4.3.11 compatible. Im having probs getting it to display the thumbs in a directory. But it works on my other server that has php5 installed on it. Could this be the issue or do i need to continue to debug it.

What its doing specifically is it displays the base dir images only when Output images strictly set to yes is selected. At no itll display all images properly. But on both I cannot only show individual directory thumbs. Any ideas?
davecjr
Regular
Posts: 167
Joined: Fri Oct 29, 2004 3:09 pm
Contact:

Post by davecjr »

I can't help much but I can say that I have 4.3.11 and mgroeinger just helped me get some other problems worked out and all seems fine now! I am also running s9y 1.0 beta 2.
Dangtz
Regular
Posts: 6
Joined: Wed Jun 29, 2005 5:21 pm

Post by Dangtz »

interesting i got it to work. what i did was turn off the rewrite function load the site then turned it back on and it started working. Dunno what happened but its all working great now.
chrisrx
Posts: 2
Joined: Fri Apr 14, 2006 3:12 am

Post by chrisrx »

Is there any way for me to set up some system so that each user can have their own individual gallery?
SHRIKEE
Regular
Posts: 128
Joined: Tue Feb 21, 2006 2:49 am
Location: Netherlands
Contact:

Post by SHRIKEE »

nope

serendipity does not feature owner or user rights for media folders.

usergallery is only a plugin to make certain folders and its imagecontent available for the public. admin functions go through serendipitys media manager/library
My kingdom For i am king of my heap of trash

Developing code on:
Workstation: Windows 2000 sp4, TSW webcoder 2005
Server: fedora core 4 amd64, apache 2.0.54, php 5.0.4, mysql 4.1.11.
chrisrx
Posts: 2
Joined: Fri Apr 14, 2006 3:12 am

Post by chrisrx »

But I thought serendipity saves at least some form of uploader information, so users can't mess around with other users files.
I'm not sure how this information is saved though (only been using serendipity a few days) but wouldn't it be possible to use this information to seperate files with some form of user list
SHRIKEE
Regular
Posts: 128
Joined: Tue Feb 21, 2006 2:49 am
Location: Netherlands
Contact:

Post by SHRIKEE »

if such information is saved that is possible yes. even if its not, its possible. it then just needs more work to make it happen :)

such functions are out of the scope of usergallery. As mentioned earlier usergallery only offers a frontend functionality and no admin functions.

My guess, if you want this, is that the media manager should be altered to your wishes.
My kingdom For i am king of my heap of trash

Developing code on:
Workstation: Windows 2000 sp4, TSW webcoder 2005
Server: fedora core 4 amd64, apache 2.0.54, php 5.0.4, mysql 4.1.11.
SHRIKEE
Regular
Posts: 128
Joined: Tue Feb 21, 2006 2:49 am
Location: Netherlands
Contact:

Post by SHRIKEE »

usergallery has been updated once more.

http://www.sothq.net/archives/66-New-ve ... llery.html
My kingdom For i am king of my heap of trash

Developing code on:
Workstation: Windows 2000 sp4, TSW webcoder 2005
Server: fedora core 4 amd64, apache 2.0.54, php 5.0.4, mysql 4.1.11.
Post Reply