ZenphotoCMS Forum
Subalbums - an Update - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Subalbums - an Update (/thread-533.html)

Pages: 1 2 3 4


Subalbums - an Update - trojkolka - 28-08-2006

Can someone post a link to a working gallery with subalbums. I'm really curious how it looks like. And how do i get the subalbum svn i would like to play with it these days. Thanks in advance




Subalbums - an Update - Chilifrei64 - 28-08-2006

Working gallery
http://beta.chilifrei.net/sazp/

SVN
http://developer.berlios.de/svn/?group_id=4265

SVN Client
here is the one I use
http://tortoisesvn.tigris.org/




Subalbums - an Update - Chilifrei64 - 28-08-2006

It does not work with the subalbums branch. I didnt take into effect the new functions for the subalbums. My bad if I got your hopes up. I can see what I can do but I have no time frame.




Subalbums - an Update - trojkolka - 28-08-2006

Ok i got the SVN subalbum now but after setup if i want to go to the admin part i got this error:

[i]
Parse error: parse error, unexpected T_ELSE in C:\Program Files\Wamp\www\zptesting\zen\admin.php on line 501[/i]

What's wrong with the file it looks totally the same as the old admin.php file on that line.




Subalbums - an Update - Chilifrei64 - 29-08-2006

the subalbums branch does not work with modrewrite. set it to false and it should work for ya.




Subalbums - an Update - trojkolka - 29-08-2006

cant get it to work which theme is already pre set to use subalbums i found it in the classes but i still get undefined function errors




Subalbums - an Update - trojkolka - 29-08-2006

I got subalbums working nice stuff. Finally it's time to play!!! Thanks Alot Chilifrei64 couldnt have done it without your help. i will post here some news if i made something useful of it.




Subalbums - an Update - trojkolka - 29-08-2006

I found one problem my thumbs do show now but my full images wont show up. Chilifrei64 you got it working is there some / problem in the url or what is the problem because the url is correct and if i change the %2F to an / the full images shows but within the development theme it will not show. How do i fix this?




Subalbums - an Update - Chilifrei64 - 29-08-2006

do you have modrewrite enabled. I didnt do anything special to get it working. the %2F is correct(atleast it works on my theme) it is its equivilent.




Subalbums - an Update - trojkolka - 29-08-2006

modrewrite is on false can you maybe share your working theme, template-functions.php and Classes.php with me to let me check if the problem is not server related...

It really seems that by loading the images using the absolute path in the code like the /'s wont work but in de thumbs when it is using the php query it works allthough i'm not sure about the thumbnails by this theorie because they work like charm. I think it's rather strange.




Subalbums - an Update - trojkolka - 29-08-2006

Ok i got it working now with some tweaking using: [i]str_replace('%2F', '/', urlencode($album))[/i] in the i.php. It's weird it has to be like this but it works so now i can really work with it. If someone else has this problem i'm willing to help you with it. but changing
` // If the requested image is the same size or smaller than the original, redirect to it.

  if (!$upscale && $newh >= $h && $neww >= $w && !$crop) {

    header("Location: " . PROTOCOL . "://" . $_SERVER['HTTP_HOST'] . WEBPATH

      . "/albums/" . urlencode($album) . "/" . urlencode($image));

    return;

  }`

to
` // If the requested image is the same size or smaller than the original, redirect to it.

  if (!$upscale && $newh >= $h && $neww >= $w && !$crop) {

    header("Location: " . PROTOCOL . "://" . $_SERVER['HTTP_HOST'] . WEBPATH

      . "/albums/" . str_replace('%2F', '/', urlencode($album)) . "/" . urlencode($image));

    return;

  }`

Would do the trick i think




Subalbums - an Update - trojkolka - 29-08-2006

can someone tell me why album title, description and place are not saved when you are editing those fields. I removed the 'no images in album' check but the information is only saved when there is at least one image file in the album. But i have a subalbum so i dont want to have an image file there. can anyone point me to the right place to make saving empty album information work again.




Subalbums - an Update - duckeo - 06-09-2006

Just wanted to say I am eagerly awaitng a zenphoto release with subalbums! I've put off putting together a gallery just yet so I can use ZenPhoto straight off




Subalbums - an Update - Marelo - 25-09-2006

Hello!!

I can't use SVN here (and also, I sadly I don't know how).
So is there a way of getting this subalbums feature? Someone could e-mail me with the files needed?

I already have a gallery running, and I have translated it to Brazillian Portuguese (BTW, if anyone has interest... 1.0.3...) so will be there any trouble (since the language's strings are mixed with the code)?

Thanks in advance!
Luiz - marelox [at] gmail [dot] com




Subalbums - an Update - Marelo - 25-09-2006

ok, i could get svn to work. download the 'subalbum' folder from there to my computer, and overwritted with my zen photo old files...

Then when i clicked on the purge link, it said the loadFileNames() could not me found, so i changed it to the getFileNames() that was in the file. Stopped the error, ok...

But I'm still with no subalbums...

I have a the following folder structure:
albums/2006/September

But my gallery only show a '2006' link, with nothing inside it.

Any ideas what it's going on? Can someone help me?

Thanks




Subalbums - an Update - yarma - 26-09-2006

with some web server, i had a bug in the 'gallery index' link: i got an error :
Warning: array_search() [function.array-search]: Wrong datatype for first argument in /mnt/100/sdb/6/6/adegerai/zenphoto/zen/classes.php on line 624

it's a bug in zen/classes.php on lines 611, 617 and 624. I change
$this->index = array_search($this, $this->gallery->getAlbums(0));
to
$this->index = @array_search($this, $this->gallery->getAlbums(0));
(the original function in official zen/classes.php)

BUT: I don't had this bug on my ubuntu laptop with an apache/php5 server with only automatic configuration ...




Subalbums - an Update - Marelo - 28-09-2006

Please, can someone help us out? I tried emailing Tris by but it's been a few days and unfortnually he didn't answered me...

Is anyone alive? Is the project alive? How may we help?!

Thanks again




Subalbums - an Update - Chilifrei64 - 28-09-2006

I wouldnt say it is dead. more or less at a crawl as far as development goes. There hasnt been a major release in a while here and there doesnt seem to be one in sight.

as far as the subalbums go. A couple of things.. people tend to not respond to the stickies. Start a new thread for support on this. But to start.. I see you overwrote an existing zen install. there is no upgrade from the current to the subalbums.
Start a new album and run the install and see if that works for ya




Subalbums - an Update - Marelo - 02-10-2006

I started a new install. There were some mysql errors when first detecting the files in 'albums' folder, but then it stopped.

After, the "loadFileNames" function could not be found, so I thought the function needed was the "getFileNames" in the same file (classes.php). Then stopped this error too.

One small reminder for those who possibily were having the same problems as me: also remember to use the "testing" theme...

And here at my localhost server I have to turn mod_rewrite off, don't now if in the real server it will work...

Well, thanks to everybody... Now I'll edit the testing theme to fit my needs =]
And wait for the final release of subalbums.

ZP is the best!




Subalbums - an Update - Senpai - 06-10-2006

I've just discovered ZenPhoto and I think its ease of use is very key point BUT since I have a lot of pictures to show, I am really disappointed that subalbums are not implemented ... What is the status of this evolution ? In advance, thank you !!