coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: ipoe on May 15, 2006, 01:26:50 PM

Title: few question regarding uploading pictures...
Post by: ipoe on May 15, 2006, 01:26:50 PM
maybe i misspelled during search but I have some question for changing coppermine:

is it possible to define a standard upload album for each user, so its not nessesary for every picture to select the same album (analogue to ftp uload) or
is it possible to create automatically a new album for each new registered user (eg. %username%= albumname) or
is it possible to make the automatically created album default for his owner so user has not to choose folder?

regards,

iPoe
Title: Re: few question regarding uploading pictures...
Post by: Nibbler on May 15, 2006, 02:16:47 PM
All are possible. Decide what you want.
Title: Re: few question regarding uploading pictures...
Post by: ipoe on May 15, 2006, 08:24:58 PM
hello,
thank you for this fast answer!
if i could decide what i want to realize my biggest wish is that a user have not to select everytime his own album from the category view during uploading pictures...

i'm sure its possible, but how easy is it to accomplish this??

sincerely

iPoe
Title: Re: few question regarding uploading pictures...
Post by: moa on November 29, 2007, 06:59:11 PM
I would also like to know how to make each user upload only into their one album.

I would like to remove the 'select an album' on upload and have it link the pictures automatically to the only private album the user has. The one created upon registration.

I have changed CM so that the user's album creation is automatic with the following script in the Registration.php file.

$catid = mysql_insert_id() + FIRST_USER_CAT;
cpg_db_query("INSERT INTO {$CONFIG['TABLE_ALBUMS']} (`title`, `category`) VALUES ('".addslashes($user_name)."', $catid)");

Title: Re: few question regarding uploading pictures...
Post by: moa on December 01, 2007, 10:06:29 AM
Bump!

Would be very grateful to them that know morw than me.
Thanks