![]() |
|
Subalbums Preview - 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 Preview (/thread-925.html) Pages:
1
2
|
Subalbums Preview - trisweb - 02-12-2006 http://www.trisweb.com/photos The theme is an updated testing theme, hastily made. I'll be porting the default theme as well for the 1.1 release eventually. SUB-ALBUMS ARE NOT COMPLETE YET. The administration interface is in the works, and simply [i]does not work[/i] yet. mod_rewrite, sorting of subalbums and their images, and and much more needs to be done. In the meantime, there will be a 1.0.4 release early next week (ran out of time this week) for the bugfixes and improvements made in the last 6 months (so sorry). [i]Here's a secret...[/i] For those of you anxious to get the jump, the 1.0.4 release will actually be from the sub-albums branch, and I'll make the sub-albums theme available. The limitations are, of course, no mod_rewrite, no administration, no paging of SA's, and no sorting of SA's or their images. But it's fun to play with and works exactly like before apart from that. Subalbums Preview - Chilifrei64 - 02-12-2006 I've..... snif snif... become so happy.. Thank you Thank you Thank you I am one of those anxious people... do you expect many other significant changes with the code for 1.0.4 between now and the release.. I may just port my main gallery over this weekend? Subalbums Preview - DarrellD - 02-12-2006 Hip Hip, Horay! Yay for Tristan! (dammit, i gotta learn how to use svn) Subalbums Preview - trisweb - 02-12-2006 :-) I'll give you a shortcut to a tarball... http://dh.trisweb.com/websvn/dl.php?repname=zenphoto&path=%2Ftrunk%2F&rev=0&isdir=1 You guys know the drill for the install. DB has been updated, so run upgrade.php. Shouldn't change much before the release. [i]Edit 12/6/06: Updated the download URL above for the move to /trunk[/i] Subalbums Preview - DarrellD - 02-12-2006 Thanks Tristan, but I have a question. When you say The reason why I ask is because when I load it up, it'll read the first image in my SA on the main page (index.php) but then when I click on it, there isn't any kind of indication that it reads the SA in there, it's as if it were an empty gallery. Is that what you mean by paging of SA's? Subalbums Preview - thinkdreams - 02-12-2006 Groovy. I grabbed it too. I'll try and get a working demo up with all my photos on my dev portion. I have lots of pic to "nest" in subalbums for testing. Subalbums Preview - thinkdreams - 03-12-2006 Got it up. Works fine for me. I can even live without the mod_rewrite. http://www.thinkdreams.com/zensub I like the fact that you can have pictures in a "root" album, and then addtional subalbums underneath that. Now to port my theme over and see if I can break it. (Evil Laugh...) Tristan- Let me know if you need me to experiment with anything specific, otherwise, I'll see what breaks, and let you know. Subalbums Preview - Chilifrei64 - 03-12-2006 I just ported over my main gallery and so far so good. Ill let you know if I come across anything else.. but until then.. congrats on another fine piece of work.. (I know it is early and 1.0.4 still hasnt been released.. but I just couldnt wait any longer) Subalbums Preview - aitf311 - 04-12-2006 Woohoo, after turning mod_rewrite off and refreshing my photo db, subalbums are working like a charm! Anticipation has been met! Subalbums Preview - trisweb - 06-12-2006 Also to everyone upgrading, you may want to clear your cache folder of any .jpg files from the older version (leave the folders -- that's how things are organized now). Subalbums Preview - RevenantEagle - 06-12-2006 Just downloaded and started to port my current gallery over to the subalbums version, but ran into a rather large problem: On any gallery page, I get about 25 lines of: Warning: Invalid argument supplied for foreach() in /path/to/zenphoto/gallery/zen/kses.php on line 429
Warning: Cannot modify header information - headers already sent by (output started at /path/to/zenphoto/gallery/zen/kses.php:429) in /path/to/zenphoto/gallery/index.php on line 9 ` This also occurs under the theme management page. Something in my database not right, or did something not upload properly? Subalbums Preview - thinkdreams - 06-12-2006 Well, I've got most of my theme elements ported over to my custom theme from the subalbums release testing-dev theme. Go here to see it in action. The items I'm still working on:
Otherwise, even without mod_rewrite it's going well. Hopefully I can port my non-dev side over soon. Definitely a noticable speed improvement from 1.0.3 and I like the subalbums capability. It definitely makes organization of albums a lot better. Subalbums Preview - trisweb - 06-12-2006 [b]@RevenantEagle[/b] -- The zp-config.php file has changed, the errors you are seeing is the missing configuration for the kses html-filtering library. Either merge your old zp-config.php into the new one, or just manually copy the new config lines into your old one. There are two or three or four I think, I forgot which. [b]@thinkdreams[/b] -- Looks great! About the RSS feeds and other hacks, it's probably the new way images/albums are stored in their arrays -- they used to be objects already, but now they're just file and folder names (strings). That's where most of the speed improvement comes from. If you want an actual object from those names, you have to call [i]Edit[/i] -- Check the other thread you posted, but it's actually now Image->id instead of Image->getImageId() which has been removed. Sorry about that Subalbums Preview - thinkdreams - 06-12-2006 No biggie. Thanks Tris. I think I'll be holding off the hacks until you get a few more changes made to the 1.0.4 and get closer to 1.1. I'm really interested about seeing how you're going do the admin interface for subalbums. For now it does everything I want it to.... Subalbums Preview - trisweb - 06-12-2006 Cool FYI To all: the [b]subalbums branch (at I've edited the link to the tarball above, but here it is again if you still want to play with it. http://dh.trisweb.com/websvn/dl.php?repname=zenphoto&path=%2Ftrunk%2F&rev=0&isdir=1 Remember this is DEVELOPMENT TESTING CODE and no promises of stability or security can be made. Subalbums Preview - Chilifrei64 - 07-12-2006 maybe no promises... but your reputation stands behind you Subalbums Preview - DarrellD - 07-12-2006 Hahaha, Chilifrei is right! Thanks Tristan. I'll make sure to check it out. Subalbums Preview - thinkdreams - 07-12-2006 I have an interesting question: During my perusal of the subalbums functionality, how does it assign a default image thumb to the root album? I've looked in the DB, and even added an entry in the album's thumb field for a new thumb, but there was no change on the thumbnail chosen. I'm just curious. Subalbums Preview - thinkdreams - 07-12-2006 I also got the rating and hits counts working again. Used: $_zp_current_image->id to replace getImageID() As a suggestion, you might want to comment on that function in the code, it's still in the template-functions.php file so that people know to use something else from now on. (Unless you are already way ahead of me on that....) In case anyone is checking, I removed my testing DB altogether and ported everything to my main gallery. A little DB work, and I have most of my comments back on (I only had two so it wasn't a great deal of work) It's at: Thinkdreams Zenphoto. Some things still may look a bit funny, but all in all it's nice. Subalbums Preview - trisweb - 08-12-2006 Ohhhh it was in template-functions... I thought it was a method! (Well, it was, gone now). I've updated the function (not the method) to work again, so no more worries as long as you're not looking for Image->getImageID(). Plain old getImageID() works. Re: default thumbnails -- it's all in the method |