https://www.icyphoenix.com/viewtopic.php?f=26&t=1070&p=8610#p8610
-----------------------------------
krisbfunk
Fri 09 Feb, 2007 00:27

Re: Personal Gallery  Permissions Problem For New Members
-----------------------------------
here are the only instances of album_create_personal_gallery in album_upload.php

[code linenumbers=false]// check if it's a 'fake' category id, which look like this -<user_id> (a minus sign followed by the userid)
if( isset($_POST['pic_title']) ) // is it submitted?
{
	if (!album_validate_jumpbox_selection($cat_id))
	{
		message_die(GENERAL_ERROR, $lang['No_valid_category_selected']);
	}

	if ($cat_id < 0)
	{
		message_die(GENERAL_ERROR, $lang['No_valid_category_selected']);
		/*
		$album_user_id = abs($cat_id); // convert the negative 'cat_id' into to a user id
		if ($album_user_id > 0 && album_check_user_exists($album_user_id))
		{
			// NOTE : if we want to create personal galleries the upload setting ($album_config['personal_gallery']) as set in the ACP
			//        we should change the next line so it looks like this :
			//
			//album_create_personal_gallery($album_upload_user_id, $album_config['personal_gallery_view'], $album_config['personal_gallery']);
			//
			// this will how ever make it possible for all users to upload to other persons personal galleries as default.
			// So the best solution would be this which sets the upload permission to private which in this case means a moderator or the
			// owner of the gallery and of cause the admin :)
			album_create_personal_gallery($album_user_id, $album_config['personal_gallery_view'], ALBUM_PRIVATE);
			$cat_id = album_get_personal_root_id($album_user_id);
		}
		*/
	}
}[/code]

thanks for looking into it Artie, I'll do the update when it comes out and see how that goes.


