preselect album for upload? preselect album for upload?
 

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

preselect album for upload?

Started by Hammerhe@rt, August 05, 2004, 10:00:37 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hammerhe@rt

i got many album's on my gallery so if i upload 10 Pics i have to choose the album after each pic in the drop down list.....
why doesnt take the last choosen album (of the first pic) or why doenst take the drop down list the album value if i sellect upload if im in a specified album....also the value album=x in the url doenst go....

where is the error

the code in upload.ph seems here
/ Check to see if an album has been preselected by URL addition. If so, make $sel_album the album number. Otherwise, make $sel_album 0.
    $sel_album = isset($HTTP_GET_VARS['album']) ? $HTTP_GET_VARS['album'] : 0;

Hammerhe@rt

is there a problem or is it my fault?

can nobody help me?

do you understand the problem that i have?

mfG
Hammerhe@rt

Joachim Müller

there's no album preselection in coppermine, you'll have to code this if you need this feature - wishfull thinking alone won't help.

GauGau

Hammerhe@rt

and whats about the code in the upload.php ???

/ Check to see if an album has been preselected by URL addition. If so, make $sel_album the album number. Otherwise, make $sel_album 0.
$sel_album = isset($HTTP_GET_VARS['album']) ? $HTTP_GET_VARS['album'] : 0;

its also in the option build form the album selection in the upload.php but doesnt fit

Joachim Müller

applies to adding files by URL.

GauGau

Hammerhe@rt

or in other words....if i upload 10 pics then i got the album selection box (album1 selected) -> select my album 5 and then go to pic 2
but the album selection box is again at album 1 not at album 5 !!!!

and i tried to ad the album in the url....?album=5

but after the upload and selection the album there is no value in the url and the album list is again at album 1

Joachim Müller

OK, I repeat: the functionality you're looking for is not built-into coppermine. If you need it, you will have to code it. If you can't code it, you will have to live with the way it currently is.

GauGau

Hammerhe@rt

k i will do this and i i got it i will post it here