Advanced search  

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]

Pages: [1]   Go Down

Author Topic: preselect album for upload?  (Read 4278 times)

0 Members and 1 Guest are viewing this topic.

Hammerhe@rt

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
preselect album for upload?
« on: August 05, 2004, 10:00:37 am »

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
Code: [Select]
/ 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;
Logged

Hammerhe@rt

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: preselect album for upload?
« Reply #1 on: August 06, 2004, 08:26:40 am »

is there a problem or is it my fault?

can nobody help me?

do you understand the problem that i have?

mfG
Hammerhe@rt
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: preselect album for upload?
« Reply #2 on: August 07, 2004, 09:04:38 am »

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
Logged

Hammerhe@rt

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: preselect album for upload?
« Reply #3 on: August 07, 2004, 09:23:40 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: preselect album for upload?
« Reply #4 on: August 07, 2004, 09:27:17 am »

applies to adding files by URL.

GauGau
Logged

Hammerhe@rt

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: preselect album for upload?
« Reply #5 on: August 07, 2004, 09:29:31 am »

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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: preselect album for upload?
« Reply #6 on: August 07, 2004, 09:51:39 am »

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
Logged

Hammerhe@rt

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: preselect album for upload?
« Reply #7 on: August 07, 2004, 10:49:32 am »

k i will do this and i i got it i will post it here
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.