Pages (4):    1 2 3 4   
Member
Member
trojkolka   28-08-2006, 20:36
#41

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

Member
Member
Chilifrei64   28-08-2006, 21:01
#42

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/

Member
Member
Chilifrei64   28-08-2006, 21:09
#43

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.

Member
Member
trojkolka   28-08-2006, 22:15
#44

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.

Member
Member
Chilifrei64   29-08-2006, 00:38
#45

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

Member
Member
trojkolka   29-08-2006, 01:10
#46

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

Member
Member
trojkolka   29-08-2006, 01:22
#47

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.

Member
Member
trojkolka   29-08-2006, 02:33
#48

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?

Member
Member
Chilifrei64   29-08-2006, 11:45
#49

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.

Member
Member
trojkolka   29-08-2006, 12:09
#50

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.

Member
Member
trojkolka   29-08-2006, 14:05
#51

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

Member
Member
trojkolka   29-08-2006, 18:17
#52

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.

Junior Member
Junior Member
duckeo   06-09-2006, 08:34
#53

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

Member
Member
Marelo   25-09-2006, 13:56
#54

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

Member
Member
Marelo   25-09-2006, 19:51
#55

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

Junior Member
Junior Member
yarma   26-09-2006, 13:22
#56

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 ...

Member
Member
Marelo   28-09-2006, 02:49
#57

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

Member
Member
Chilifrei64   28-09-2006, 14:47
#58

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

Member
Member
Marelo   02-10-2006, 12:43
#59

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!

Junior Member
Junior Member
Senpai   06-10-2006, 21:56
#60

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 !!

Pages (4):    1 2 3 4   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.