ZenphotoCMS Forum
To trisweb. sub-cat is done - 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: To trisweb. sub-cat is done (/thread-261.html)

Pages: 1 2


To trisweb. sub-cat is done - WeiChen - 31-01-2006

source
http://blog.dukechina.org/zp.tgz //my code is poorly commented
live demo
http://blog.dukechina.org/zp/
I modified zp 1.0 to support sub-catigories.
if you have any question contact me by email or leave a message on my website
http://blog.dukechina.org/
I also add a slideshow function, see demo
http://blog.dukechina.org/gallery/photography/dukefall/slideshow
ajax.js was modified for better view.




To trisweb. sub-cat is done - bensp - 31-01-2006

wow, seriously great work.

trisweb, whilst your here: for ZenPhoto help/install/tutorials, why dont you set up a wiki?

BenSp




To trisweb. sub-cat is done - adas - 31-01-2006

Sub-categories is good think




To trisweb. sub-cat is done - rhscdn - 31-01-2006

The slideshow looks great!




To trisweb. sub-cat is done - genosypheus - 31-01-2006

@WeiChen: Welcome to the Zenphoto + Wordpress community! Truly great feaures you've implemented to zenphoto, especially the slideshow and pop-out comment. Looks smooth, both in FF 1.5 and IE 6.0.

A quick suggestion: Lower the comment pop-out such that it won't block the photo.

I'll be following your contributions, God bless!




To trisweb. sub-cat is done - fungifred - 31-01-2006

I don't think I like the slideshow plugin and the popup commenting did not work for me. I think ZenPhoto should focus on being small, lightweight and flexible, I see it beeing good as a theme but not as something that is integrated into ZP.




To trisweb. sub-cat is done - aitf311 - 31-01-2006

wow! hopefully the sub cats get implemented soon but the other two new features, i agree with fungifred should be left to the plugin api, whenever its done




To trisweb. sub-cat is done - WeiChen - 01-02-2006

fungifred: I agree with you that the gallery should be small and flexible. That's why I like zenphoto. However, when I realize it does not support sub-catigories, and waited several days for the new release, finally, I decided to write my own gallery. What you see at http://blog.dukechina.org/gallery is actually written all by myself. But about 10% of the code and the default theme are from ZP. It seems the zp developers are not interested in implementing sub-cats, while many users are expecting this feature, so I spent several hours yesterday to implement this feature to zp. But still there's a lot to do to optimize the code and structure of zp.

I like the popup commenting, because most people do not comment, and it is a waste of space to show the comment form for each photo. and It is ajaxy. I don't know why it did not work for you. As for the slide show, some of my friends are crazy about it, and it is just my theme, and do not need any support in zp's kernel.




To trisweb. sub-cat is done - aitf311 - 01-02-2006

I dont think there is much need for you being so negative towards the developers, they have said they are working on it. They have families and lives, so needless to say, they cant work on Zenphoto all the time.

Your contribution is appreciated but your attitude is not.




To trisweb. sub-cat is done - WeiChen - 01-02-2006

aitf311: I did mean that. I don't know which sentence makes you think I am "so negative towords the developers".
sorry for the confusing.




To trisweb. sub-cat is done - cowboydan - 02-02-2006

Is this possible to include your slideshow system into ZenPhoto without using your theme ? I mean, I made my own theme and I would like to have only the slideshow feature on top of it. Is it possible to do this in any way ?




To trisweb. sub-cat is done - WeiChen - 02-02-2006

Yes, it is possible.
download the slideshow code here,
http://blog.dukechina.org/slide.tgz
extract it to your theme folder and add
/////////////

////////////
in the beginning of your album.php
then the link to your slidesshow is
http://xx.xxx.xxx/zp/index.php?album=others&slideshow
that is the link of your album plus "&slideshow"




To trisweb. sub-cat is done - coucoudean - 02-02-2006

Hello WeiChen

Is it possible to only use sub-catigories, and not slide show?
thank

http://coucoudean.free.fr/




To trisweb. sub-cat is done - coucoudean - 02-02-2006

I can't see image... :

Fatal error: Call to a member function on a non-object in ....classes.php on line 761

any suggestion?
thank




To trisweb. sub-cat is done - picus - 02-02-2006

I would very much like to use sub-categories alone also. Thanks very much for doing this. If we could get the code for just the sub-cat implementation that would be awesome!




To trisweb. sub-cat is done - coucoudean - 03-02-2006

Solution of Wei Chen :

just change this line in index.php
include(???$themepath/$theme/slideshow.php???);
to
include(???$themepath/$theme/image.php???);




To trisweb. sub-cat is done - picus - 03-02-2006

Any word on how to add sub-cats? Thanks




To trisweb. sub-cat is done - WeiChen - 03-02-2006

picus:A hacked version of zp add the sub-cats can be find here:
http://blog.dukechina.org/zp.tgz
It works, but still a lot work to do. you can try out.




To trisweb. sub-cat is done - picus - 03-02-2006

Thanks! I'm going to give it a shot now. I'll let you guys know how it goes.




To trisweb. sub-cat is done - picus - 03-02-2006

It works wonderfully:

http://www.rockpaperpixels.com/zenphoto/

Here are a couple suggestions for future versions/releases. I am working on these now but I'm an admitted php newb.

  1. Add functionality to the admin page so it understands sub folders. As it stands you can not select the sub folders unless you manually edit the url when you're editting an album.

  2. Descriptions do not seem to work in sub-categories. It would be great to have that abilty.

Otherwise it looks awesome. Thanks so much!