is it possible to set default album while uploading is it possible to set default album while uploading
 

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

is it possible to set default album while uploading

Started by Vargha, May 20, 2006, 10:21:43 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Vargha

hey guys :D
umm is it possible to set a default album while uploading
for example when a user wants to upload a pic, he/she doesnt have to select an album, i want it to be like, upload pic, and it will auto go into the album i want it to be, so i dont want the user to choose what album he/she wants to upload to.

so if you guys can help me ill be happy :)
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Joachim Müller

has been asked and answered before, please use the search.

Vargha

i can't find it, can u please give me the link if u found it  ;D
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Vargha

i got it, this is how it works but only if you have 1 album

open upload.php
find
Quote$listArray[$list_count]['cat'] = $vRes['name'];
        } else {
            $listArray[$list_count]['cat'] = $lang_upload_php['albums_no_category'];
then delete it

then find
Quote<option value="' . $val['aid'] . '"' . ($val['aid']
and change it to
Quote<option value="' . $val['aid'] . '"' . ($val['title']
save it and done
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

Joachim Müller

I told you before that you're suppossed to post a link to the thread that explained what you're after instead of repeating the code that was mentioned in the posting that helped you. Please respect this policy, as it keeps the board usable for others as well.

Vargha

umm but i didnt get it from anywhere, i came up with it my self hehe
i found bout the codes my self, sorry i just wanted to share, i could not find bout it on the board
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)