The steril theme does the same thing the default theme was doing too
MySQL Query ( INSERT INTO zpc_options (name, value, description, bool) VALUES ('Theme_colors', 'light', 'Set the colors of the theme', ''); ) Failed. Error: Out of range value adjusted for column 'bool' at row 1
@sbillard: i tried another approach. look for the zen-logo.jpg that has to be in the album folder. If it is found outside htdocs, it behaves as an ousider folder. if not, normal behaviour. I haven't tried thoroughly yet.
`function getAlbumFolder($root=SERVERPATH) {
global $_zp_conf_vars;
if (!array_key_exists('album_folder', $_zp_conf_vars)) {
$_zp_conf_vars['album_folder'] = ALBUMFOLDER;
}
if (file_exists(zp_conf('album_folder')."/zen-logo.jpg")) {
//outside htdocs
return zp_conf('album_folder');
}
else {
return $root . zp_conf('album_folder');
}
}`
That is dangerous, because that file is put into the album folder as part of the zp initialization. So, if you change the album folder, presumably it will be put wherever you put the album folder.
Do you see a problem with looking at the number of folder names in the path?
indeed, i didn't realize that, it would be impossible to change the albums folder.
the thing is that ALBUMSFOLDER is defined as /fotos/ which represents at the root of the server (http://localhost/fotos/), not as /localhost/fotos/.
i went for the easy way, define a parameter for absolute or relative path:
define('ABSOLUTE_ALBUMFOLDER', false);
(of course, overridden in zp-config.php to true)
`function getAlbumFolder($root=SERVERPATH) {
global $_zp_conf_vars;
if (!array_key_exists('album_folder', $_zp_conf_vars)) {
$_zp_conf_vars['album_folder'] = ALBUMFOLDER;
}
if (ABSOLUTE_ALBUMFOLDER) {
return zp_conf('album_folder');
}
else {
return $root . zp_conf('album_folder');
}
}`
on the new nightly build.. it is lookin much better. upgrades went fine and playin around was going fine.. Only 1 thing to report now
Comments set to allow
Moderate is NOT checked
Spam filter set to none
I get this error
Zenphoto Error
MySQL Query ( INSERT INTO zpc_comments (imageid, name, email, website, comment, inmoderation, date) VALUES ('20', 'danfrei', 'editedout@editedout.com', 'http://www.chilifrei.net', 'DROPPED!!!', '', NOW()) ) Failed. Error: Out of range value adjusted for column 'inmoderation' at row 1
This is after a clean upgrade from 1.0.8.2 so looks like maybe a default option not getting put in the DB problem like some of the other things.
Otherwise lookin great.. Ill keep pluggin away at it.
Also with comments.. If I choose akismet and put in my key. No comments get posted. No matter how hard I try to not type something spam like it always flags me.
Once I go back in and choose the forgiving option. my comments go into moderation.
And unless I am missing something when I uncheck them, I would assume they would no longer be flagged as in moderation. But all I can do after I uncheck them is press the Delete selected comments button. And if i press it (with the moderation checkbox unchecked)... they go right back to being checked. I cannot save it unchecked. Am I missing something there?
The uncheck on moderation is not implemented yet.
The sql error is another case of your mySql complaining about a value of false. I'll get that fixed in the next update. Keep trying things since I don't see those errors.
Craig (thinkdreams) did the Akismet plugin. Hope he is monitoring this thread and will look into the detection.
hello,
i have right now upgraded to comunity build and a can say that it is great Until now i have found one error... it is in probably in sorting of images.
Take a look here:
http://gallery.harcek.info/akcie/pohoda2007/
Sorting of this album is to "filename" but it looks like it is reversed some way. Image which should be first is first on second page. Another one is that two images are shown two times in this album...
I know that i'm not using themes which is modified for this new build but i have tested it with default theme (dark) and it was the same.
Otherwise good work, and i hope 1.1 will be here soon
Best regards
p.s.: i was thinking about creating an issue in trac, but i'm not 100% sure if it isn't just error in theme which i am using. so take a look at it please and let me know if i have to put it in trac.
jordi-kun:
atif311
I have made some changes to the ticket 101 implementation. The way it works now is to place some changes in the zp-config file. (New example released with the changes.)
`//location of album folder. Usually these are left null.
// change 'album_folder' to rename the album folder inside the zenphotos installation
// change 'external_album_folder' to locate your album folder outside the zenphoto folders
$conf['album_folder'] = '/albums/';
$conf['external_album_folder'] = null;`
change the first $conf to rename the internal folder
change the second to point to an external folder.
external overrides internal.
works good! thanks sbillard.
One thing i noticed is the toggle() javascript function. it seems that in internet explorer doesn't work, note that i use firefox ^^'
this seems to fix it, working in both firefox and IE6, don't know why though:
`// if(xState=='none') xState = 'table';
if(xState=='none') xState = '';`
Hello,
First of all I would like to thank you all for your great work!!
I'm having some issue with my gallery,
Since I've updated to the newest nightly build, I'm able to upload pictures, I see the thumbnail but in the sort album page, when I click on the image, I get the image processing error. And on my gallery, I can also see the thumbnail but not real size picture will load. I checked the permission on my album folder and cache folder and everything seems to be ok.
I'm running zenphoto on an Windows XP box with IIS.
Would this be a bug or is it something in my configuration that is wrong?
Thank you
you can see my web site here
www.mattgalarneau.com/zenphoto