XP Publish uploading into the wrong folder !! XP Publish uploading into the wrong folder !!
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

XP Publish uploading into the wrong folder !!

Started by hdavid, February 15, 2006, 05:34:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hdavid

Hi,

I'm having some trouble with uploading file with the WIzard XP Publisher.
I'm able to create a new album,resize file and upload the files. But all file are then uploaded in a folder called "wpw-'today date'" instead of the folder name album created with the xp wizard.

Is that normal and how can I change that to upload file the the folder album name ?

Thank you in advance for any reply.
David

Nibbler

That's normal. You are welcome to change the code to name the folder whatever you wish.

hdavid

thanks for the info.
unfortunately i'm not the coding guy.
Can anyone the change I should made in the xppublish.php to have the album freshly created instead of the wpw'date" ?

thank you in avdvance.

Joachim Müller

The coppermine database keeps track of folder names, the human doesn't have to. If you like a neat folder structure that matches the album names, use FTP-upload plus batch-add. One reason why the folder names aren't made to match the album name is that an album might contain names that mustn't be used as folder names.
If you can't code it yourself and you must have it changed, then you'll have to hire someone to code it for you. Folder names don't matter at all imo.