simple request regrarding multiple uploads simple request regrarding multiple uploads
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

simple request regrarding multiple uploads

Started by ganeshcp, November 20, 2005, 07:21:14 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ganeshcp

hi,

I have installed the mod that sorts the album list while doing a upload.
But when I do multiple upload I need to choose the category for every picture that has been uploaded. Can anyone write a mod that automatically chooses the category that was applied for the prev pic?

Thnks.


i tried this mod but it wudn't work
http://forum.coppermine-gallery.net/index.php?topic=9391.0

Nibbler

All you need is to find

$result = add_picture($album, $filepath, $picture_name, $title, $caption, $keywords, $user1, $user2, $user3, $user4, $category, $raw_ip, $hdr_ip, $movie_wd, $movie_ht);

in upload.php and add this afterwards:

$HTTP_GET_VARS['album'] = $album;

ganeshcp

works like a charm. life is so much simpler now  ;D

ganeshcp

 :\'(
unfortunately this doesn't work for 1.4.2...help anyone?

Nibbler