Member
Member
rakaz   2006-07-06, 11:14
#1

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.

Member
Member
rakaz   2006-07-06, 13:35
#2

Download the XP Publishing wizard from:
http://rakaz.nl/extra/code/zenphoto

Member
Member
Chilifrei64   2006-07-06, 15:34
#3

A couple of things.. 1.. thank you very much.. I definately needed something like this for my friends galleries..

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?

Member
Member
Chilifrei64   2006-07-06, 15:46
#4

i got it.. minor oversight.. (redundant letters) it is creating the wrong path to zenphotos installation

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

Member
Member
rakaz   2006-07-06, 16:33
#5

I should have been clearer about that. The correct directory to put this in is where the index.php and .htaccess files are placed.

Member
Member
Chilifrei64   2006-07-06, 17:02
#6

I am still having the same problem.. after I log in (via xp publishing wizard) i get the
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).

???

Member
Member
Chilifrei64   2006-07-06, 17:19
#7

it is doing the same thing on my other webhost, this one a linux host with 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.

Member
Member
rakaz   2006-07-06, 17:22
#8

Okay... I'm going to have take a better look at this. It works on my own gallery, which is hosted on Apache and with mod-rewrite.

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.

``

Then open it from the browser and mail me the results: niels.leenheer@gmail.com

Member
Member
Chilifrei64   2006-07-06, 17:34
#9

email sent...

Member
Member
Chilifrei64   2006-07-06, 17:51
#10

after looking at what you had me to. I modified line 505 to say
$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.

Member
Member
rakaz   2006-07-06, 18:40
#11

Okay.. I now know what the problem is... I'll release 0.3 as soon as possible. Will probably take a couple of hours, because I am not near my own computer. I will take a look at it as soon as I am home.

Member
Member
rakaz   2006-07-06, 20:53
#12

0.3 is ready. It should solve all the problem you were having.

Member
Member
Chilifrei64   2006-07-06, 22:07
#13

Perfect.. works like a charm.. this is exactally what I have been needing. I host alot of galleries for my friends and some of them upload alot of photos and i needed to give them ftp accounts.. now i can take those away and just give them this..

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.