few question regarding uploading pictures... few question regarding uploading pictures...
 

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

few question regarding uploading pictures...

Started by ipoe, May 15, 2006, 01:26:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ipoe

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

Nibbler


ipoe

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

moa

#3
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)");


moa

Bump!

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