I wanted to let everybody know that I am working on a new addition to Zenphoto; support for the XP Publish wizard. It is already fully functioning and I just need to style it a bit. I’ll try to finish it in the next couple of hours, and put it online. Once it is online, you can install it by dropping a single file in the zenphoto directory. Then download a regedit file. Open the file and you’re done.
Comments
http://rakaz.nl/extra/code/zenphoto
Here is my problem.. I think there are some pathing issues.. you say to put it in the zen directory but then reference items in /zen/admin.js and other stuff.. when ran it starts to look for /zen/zen/admin.js. if i load it into the zenphoto root everything displays properly and i can download the reg file
but then from that point it does not work(xp publishing wizard)..
any ideas?
EDIT.. after reading your instructions again.. it does say to put it in the zproot but then you say to access it via domain.com/gallery/zen/xp_publish.php.
either way.. it is still not working for me.. the registry information has been added and the information seems to be correct..
The wizard could not connect to the internet, or the web service returned a page that is invalid. To try again, click back
any ideas?
example:
http://beta.chilifrei.net/xppublish
path to the gallery
it autocreated this path in the reg file:
"href"="http://beta.chilifrei.net/xppublish/xppublish/xp_publish.php?cmd=publish"
when it should be:
"href"="http://beta.chilifrei.net/xppublish/xp_publish.php?cmd=publish"
notice 1 less xppublish in the path. ..
not sure if you are seeing the same thing or not.
but after the login.. i still get the same error
The wizard could not connect to the internet, or the web service returned a page that is invalid. To try again, click back.
And it is still not creating the correct path in the reg file. it is adding my gallery foldername twice in the url.
What are the requirements for this. The server this is on is Server 2003 IIS6 (obviously no mod-rewrite).
???
the reg file it is creating has the wrong path... (doubling up on the gallery folder name) and even after I change it to the correct path it still doesnt let me log in.
The fact that it adds the gallery foldername twice in the regedit file is pretty weird. Could you create a small file with the following contents. Then place this in the same directory that contains the index.php file and the zen directory.
`<?php<br />
require_once("zen/template-functions.php");
echo __FILE__ . "
";
echo FULLWEBPATH ."
";
echo $_SERVER['PHP_SELF'] . "
";
?>`
Then open it from the browser and mail me the results: niels.leenheer@gmail.com
$lines[] = '"href"="' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] . '?cmd=publish"';
and now I get the right path in the registry. but my machines still will not connect to the install. it will show the login form. then spit back out the error:
The wizard could not connect to the internet, or the web service returned a page that is invalid. To try again, click back.
excellent plugin.. works like a charm now..
The only other thing I would probably do is make you log into zenphoto before it allows you to download the file.. otherwise I could download the reg file for anyones gallery.. I know I would still have to log in using the wizard...but since this is like a management feature.. best to make it only available to managers.. just a minor thought..
great work.. thanks.