preselect album for upload? preselect album for upload?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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