Multiple File Upload

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Multiple File Upload

Beitrag von Blisk »

I did install this mod, but doesn't work, i was trying to get some suppoert, but didn't find where to get it about this mod.
I checked installation, but it loks ok, except this line

Code: Alles auswählen

#-----[ FIND ]------------------------------------------
#
	if ($thiscat['cat_approval'] == 0)
#
#-----[ REPLACE WITH ]------------------------------------------
#
//--- Multiple File Upload mod : begin
//--- version : 1.0.2
	if (count($upload_errors) > 0)
	{
		if ($pic_count == count($upload_errors))
			$message = $lang['Album_upload_not_successful'];
		else
			$message = $lang['Album_upload_partially_successful'];

	 	for ($index = 0; $index < count($upload_errors); $index++)
        	$message .= $upload_errors[$index];
	}
	elseif ($thiscat['cat_approval'] == 0)
//--- Multiple File Upload mod : end
#
#-----[ FIND ]------------------------------------------
#
	if ($thiscat['cat_approval'] == 0)
	{
		$template->assign_vars(array(
#
#-----[ REPLACE WITH ]------------------------------------------
#
//--- Multiple File Upload mod : begin
//--- version : 1.0.2
	if ($thiscat['cat_approval'] == 0 && count($upload_errors) == 0)
//--- Multiple File Upload mod : end
	{
		$template->assign_vars(array(	
#
in my file is

Code: Alles auswählen

// --------------------------------

	if ($thiscat['cat_approval'] == 0)
	{
		$message = $lang['Album_upload_successful'];
	}
	else
	{
		$message = $lang['Album_upload_need_approval'];
	}

	if ($thiscat['cat_approval'] == 0)
	{
	 	if (album_is_debug_enabled() == false)
	 	{
		    $template->assign_vars(array(
		        'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(album_append_uid("album_cat.$phpEx?cat_id=$cat_id")) . '">'
                )
            );
		}
	}
	if ($album_user_id == ALBUM_PUBLIC_GALLERY)
	{
		$message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(album_append_uid("album_cat.$phpEx?cat_id=$cat_id")) . "\">", "</a>");
	}
	else
	{
		$message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(album_append_uid("album_cat.$phpEx?cat_id=$cat_id")) . "\">", "</a>");
	}


	$message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(album_append_uid("album.$phpEx")) . "\">", "</a>");

	message_die(GENERAL_MESSAGE, $message);
}

Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Use this part:

Code: Alles auswählen

// --------------------------------

//--- Multiple File Upload mod : begin
//--- version : 1.0.2
	if (count($upload_errors) > 0)
	{
		if ($pic_count == count($upload_errors))
			$message = $lang['Album_upload_not_successful'];
		else
			$message = $lang['Album_upload_partially_successful'];

	 	for ($index = 0; $index < count($upload_errors); $index++)
        	$message .= $upload_errors[$index];
	}
	elseif ($thiscat['cat_approval'] == 0)
//--- Multiple File Upload mod : end
	{
		$message = $lang['Album_upload_successful'];
	}
	else
	{
		$message = $lang['Album_upload_need_approval'];
	}

//--- Multiple File Upload mod : begin
//--- version : 1.0.2
	if ($thiscat['cat_approval'] == 0 && count($upload_errors) == 0)
//--- Multiple File Upload mod : end
	{
	 	if (album_is_debug_enabled() == false)
	 	{
		    $template->assign_vars(array(
		        'META' => '<meta http-equiv="refresh" content="3;url=' . append_sid(album_append_uid("album_cat.$phpEx?cat_id=$cat_id")) . '">'
                )
            );
		}
	}
	if ($album_user_id == ALBUM_PUBLIC_GALLERY)
	{
		$message .= "<br /><br />" . sprintf($lang['Click_return_category'], "<a href=\"" . append_sid(album_append_uid("album_cat.$phpEx?cat_id=$cat_id")) . "\">", "</a>");
	}
	else
	{
		$message .= "<br /><br />" . sprintf($lang['Click_return_personal_gallery'], "<a href=\"" . append_sid(album_append_uid("album_cat.$phpEx?cat_id=$cat_id")) . "\">", "</a>");
	}


	$message .= "<br /><br />" . sprintf($lang['Click_return_album_index'], "<a href=\"" . append_sid(album_append_uid("album.$phpEx")) . "\">", "</a>");

	message_die(GENERAL_MESSAGE, $message);
}
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

TNX I tryed this but when I try to upload pic. there is still only one form for upload.
I setup to be 3. in ACP, but it is only 1.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Then you must check the installation on the template file.
The part above will only check the uploaded images and do not set the input fields ;)
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I did twice, I already comapred tpl files from one forum where this works ok, and my new forum where I am trying to install MODs again!

I did enable debugging, and get this!

Code: Alles auswählen

DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Test category'(id=0), $album_permission = NULL
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Test category'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1,
		['manage'] => 0
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'ez detzerete'(id=0), $album_permission = NULL
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'ez detzerete'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1,
		['manage'] => 0
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_read_tree : user id = 0, $album_data['auth'] =

array = (
		[1] => array = (
			['view'] => 1,
			['upload'] => 1,
			['rate'] => 1,
			['comment'] => 1,
			['edit'] => 1,
			['delete'] => 1,
			['moderator'] => 1,
			['manage'] => 0
		),
		[3] => array = (
			['view'] => 1,
			['upload'] => 1,
			['rate'] => 1,
			['comment'] => 1,
			['edit'] => 1,
			['delete'] => 1,
			['moderator'] => 1,
			['manage'] => 0
		)
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_read_tree : $cats =

array = (
		[0] => array = (
			['cat_id'] => '1',
			['cat_title'] => 'Test category',
			['cat_desc'] => '',
			['cat_order'] => '10',
			['cat_view_level'] => '-1',
			['cat_upload_level'] => '0',
			['cat_rate_level'] => '0',
			['cat_comment_level'] => '0',
			['cat_edit_level'] => '0',
			['cat_delete_level'] => '2',
			['cat_view_groups'] => NULL,
			['cat_upload_groups'] => NULL,
			['cat_rate_groups'] => NULL,
			['cat_comment_groups'] => NULL,
			['cat_edit_groups'] => NULL,
			['cat_delete_groups'] => NULL,
			['cat_moderator_groups'] => NULL,
			['cat_approval'] => '0',
			['cat_parent'] => '0',
			['cat_user_id'] => '0',
			['count'] => '0',
			['username'] => '',
			['parent'] => -1
		),
		[1] => array = (
			['cat_id'] => '3',
			['cat_title'] => 'ez detzerete',
			['cat_desc'] => '',
			['cat_order'] => '20',
			['cat_view_level'] => '-1',
			['cat_upload_level'] => '0',
			['cat_rate_level'] => '0',
			['cat_comment_level'] => '0',
			['cat_edit_level'] => '0',
			['cat_delete_level'] => '2',
			['cat_view_groups'] => NULL,
			['cat_upload_groups'] => NULL,
			['cat_rate_groups'] => NULL,
			['cat_comment_groups'] => NULL,
			['cat_edit_groups'] => NULL,
			['cat_delete_groups'] => NULL,
			['cat_moderator_groups'] => NULL,
			['cat_approval'] => '0',
			['cat_parent'] => '0',
			['cat_user_id'] => '0',
			['count'] => '0',
			['username'] => '',
			['parent'] => -1
		)
	)


----------------------------------------------------
	
	
	phpBB2.de - Your No.1 Source		
 FAQ  •  Search  •  Smilie Album  •  Inventory  •  Sitemap  •  Preferences  •  Bookmarks   •  New Posts (0)  •  Usergroups  •  Profile  •  Bookmakers  •  You have no new messages  •   Chat Chat   Log out [ bossman ]
		
	Calendar 
Calendar eventCalendar
Tue 19 Sep 2006
	
Wed 20 Sep 2006
	
Thu 21 Sep 2006
	
Fri 22 Sep 2006
	
Sat 23 Sep 2006
	
Sun 24 Sep 2006
	
Mon 25 Sep 2006
DEBUG :
----------------------------------------------------
album_get_auth_keys =

array = (
		['keys'] => array = (
			[-1] => 0,
			[1] => 1,
			[3] => 2
		),
		['id'] => array = (
			[0] => -1,
			[1] => '1',
			[2] => '3'
		),
		['real_level'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 0
		),
		['level'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 0
		),
		['idx'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 1
		)
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_get_auth_keys =

array = (
		['keys'] => array = (
			[-1] => 0,
			[1] => 1,
			[3] => 2
		),
		['id'] => array = (
			[0] => -1,
			[1] => '1',
			[2] => '3'
		),
		['real_level'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 0
		),
		['level'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 0
		),
		['idx'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 1
		)
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_no_newest_pictures sql = 'SELECT c.cat_id, p.pic_id, COUNT(p.pic_id) AS pic_total FROM phpbb_album AS p, phpbb_album_cat AS c WHERE c.cat_id IN (1,3) AND p.pic_cat_id = c.cat_id AND p.pic_time >= 1156182115 GROUP BY c.cat_id'
----------------------------------------------------
DEBUG :
----------------------------------------------------
$pictotalrows =

array = ()


----------------------------------------------------
DEBUG :
----------------------------------------------------
$user_id = 0
$cur_cat_id = -1
$display = 1
album data =

array = (
		['sub'] => array = (
			[-1] => array = (
				[0] => '1',
				[1] => '3'
			)
		),
		['keys'] => array = (
			[1] => 0,
			[3] => 1
		),
		['parent'] => array = (
			[0] => -1,
			[1] => -1
		),
		['id'] => array = (
			[0] => '1',
			[1] => '3'
		),
		['data'] => array = (
			[0] => array = (
				['cat_id'] => '1',
				['cat_title'] => 'Test category',
				['cat_desc'] => '',
				['cat_order'] => '10',
				['cat_view_level'] => '-1',
				['cat_upload_level'] => '0',
				['cat_rate_level'] => '0',
				['cat_comment_level'] => '0',
				['cat_edit_level'] => '0',
				['cat_delete_level'] => '2',
				['cat_view_groups'] => NULL,
				['cat_upload_groups'] => NULL,
				['cat_rate_groups'] => NULL,
				['cat_comment_groups'] => NULL,
				['cat_edit_groups'] => NULL,
				['cat_delete_groups'] => NULL,
				['cat_moderator_groups'] => NULL,
				['cat_approval'] => '0',
				['cat_parent'] => '0',
				['cat_user_id'] => '0',
				['count'] => '0',
				['username'] => '',
				['parent'] => -1
			),
			[1] => array = (
				['cat_id'] => '3',
				['cat_title'] => 'ez detzerete',
				['cat_desc'] => '',
				['cat_order'] => '20',
				['cat_view_level'] => '-1',
				['cat_upload_level'] => '0',
				['cat_rate_level'] => '0',
				['cat_comment_level'] => '0',
				['cat_edit_level'] => '0',
				['cat_delete_level'] => '2',
				['cat_view_groups'] => NULL,
				['cat_upload_groups'] => NULL,
				['cat_rate_groups'] => NULL,
				['cat_comment_groups'] => NULL,
				['cat_edit_groups'] => NULL,
				['cat_delete_groups'] => NULL,
				['cat_moderator_groups'] => NULL,
				['cat_approval'] => '0',
				['cat_parent'] => '0',
				['cat_user_id'] => '0',
				['count'] => '0',
				['username'] => '',
				['parent'] => -1
			)
		),
		['personal'] => array = (
			[1] => 0,
			[3] => 0
		),
		['auth'] => array = (
			[1] => array = (
				['view'] => 1,
				['upload'] => 1,
				['rate'] => 1,
				['comment'] => 1,
				['edit'] => 1,
				['delete'] => 1,
				['moderator'] => 1,
				['manage'] => 0
			),
			[3] => array = (
				['view'] => 1,
				['upload'] => 1,
				['rate'] => 1,
				['comment'] => 1,
				['edit'] => 1,
				['delete'] => 1,
				['moderator'] => 1,
				['manage'] => 0
			)
		)
	)


authentication keys =

array = (
		['keys'] => array = (
			[-1] => 0,
			[1] => 1,
			[3] => 2
		),
		['id'] => array = (
			[0] => -1,
			[1] => '1',
			[2] => '3'
		),
		['real_level'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 0
		),
		['level'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 0
		),
		['idx'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 1
		)
	)

Code: Alles auswählen

DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Test category'(id=0), $album_permission = NULL
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Test category'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1,
		['manage'] => 0
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Test category'(id=0), $album_permission = NULL
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Test category'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1,
		['manage'] => 0
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'ez detzerete'(id=0), $album_permission = NULL
----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'ez detzerete'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['rate'] => 1,
		['comment'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['moderator'] => 1,
		['manage'] => 0
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_read_tree : user id = 0, $album_data['auth'] =

array = (
		[1] => array = (
			['view'] => 1,
			['upload'] => 1,
			['rate'] => 1,
			['comment'] => 1,
			['edit'] => 1,
			['delete'] => 1,
			['moderator'] => 1,
			['manage'] => 0
		),
		[3] => array = (
			['view'] => 1,
			['upload'] => 1,
			['rate'] => 1,
			['comment'] => 1,
			['edit'] => 1,
			['delete'] => 1,
			['moderator'] => 1,
			['manage'] => 0
		)
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_read_tree : $cats =

array = (
		[0] => array = (
			['cat_id'] => '1',
			['cat_title'] => 'Test category',
			['cat_desc'] => '',
			['cat_order'] => '10',
			['cat_view_level'] => '-1',
			['cat_upload_level'] => '0',
			['cat_rate_level'] => '0',
			['cat_comment_level'] => '0',
			['cat_edit_level'] => '0',
			['cat_delete_level'] => '2',
			['cat_view_groups'] => NULL,
			['cat_upload_groups'] => NULL,
			['cat_rate_groups'] => NULL,
			['cat_comment_groups'] => NULL,
			['cat_edit_groups'] => NULL,
			['cat_delete_groups'] => NULL,
			['cat_moderator_groups'] => NULL,
			['cat_approval'] => '0',
			['cat_parent'] => '0',
			['cat_user_id'] => '0',
			['count'] => '0',
			['username'] => NULL,
			['parent'] => -1
		),
		[1] => array = (
			['cat_id'] => '3',
			['cat_title'] => 'ez detzerete',
			['cat_desc'] => '',
			['cat_order'] => '20',
			['cat_view_level'] => '-1',
			['cat_upload_level'] => '0',
			['cat_rate_level'] => '0',
			['cat_comment_level'] => '0',
			['cat_edit_level'] => '0',
			['cat_delete_level'] => '2',
			['cat_view_groups'] => NULL,
			['cat_upload_groups'] => NULL,
			['cat_rate_groups'] => NULL,
			['cat_comment_groups'] => NULL,
			['cat_edit_groups'] => NULL,
			['cat_delete_groups'] => NULL,
			['cat_moderator_groups'] => NULL,
			['cat_approval'] => '0',
			['cat_parent'] => '0',
			['cat_user_id'] => '0',
			['count'] => '0',
			['username'] => NULL,
			['parent'] => -1
		)
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Personal Gallery of bossman'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Personal Gallery of bossman'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
$album_config['personal_gallery'] = 0
----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['manage'] => 1,
		['rate'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['comment'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Personal Gallery of testna'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Personal Gallery of testna'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
$album_config['personal_gallery'] = 0
----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['manage'] => 1,
		['rate'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['comment'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Personal Gallery of testni11'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Personal Gallery of testni11'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
$album_config['personal_gallery'] = 0
----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['manage'] => 1,
		['rate'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['comment'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Personal Gallery of testna1'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Personal Gallery of testna1'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
$album_config['personal_gallery'] = 0
----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['manage'] => 1,
		['rate'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['comment'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Personal Gallery of testni'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Personal Gallery of testni'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
$album_config['personal_gallery'] = 0
----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['manage'] => 1,
		['rate'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['comment'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Personal Gallery of krompir'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Personal Gallery of krompir'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
$album_config['personal_gallery'] = 0
----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['manage'] => 1,
		['rate'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['comment'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : before album_user_access : 'Personal Gallery of joko'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_permissions : after album_user_access : 'Personal Gallery of joko'(id=0), $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
$album_config['personal_gallery'] = 0
----------------------------------------------------
DEBUG :
----------------------------------------------------
final : $album_permission =

array = (
		['view'] => 1,
		['upload'] => 1,
		['manage'] => 1,
		['rate'] => 1,
		['edit'] => 1,
		['delete'] => 1,
		['comment'] => 1,
		['moderator'] => 1
	)


----------------------------------------------------
DEBUG :
----------------------------------------------------
album_get_auth_keys =

array = (
		['keys'] => array = (
			[-1] => 0,
			[1] => 1,
			[3] => 2
		),
		['id'] => array = (
			[0] => -1,
			[1] => '1',
			[2] => '3'
		),
		['real_level'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 0
		),
		['level'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 0
		),
		['idx'] => array = (
			[0] => -1,
			[1] => 0,
			[2] => 1
		)
	)
Zuletzt geändert von Blisk am Mi 20.Sep, 2006 19:43, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Fine results, but not usefull!
Please attach the album_upload.php and album_upload_body.tpl to take a look.
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

tnx for helping I hope this MOD will work, it is very usefull.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

The installation ist correct.
What did you entered at ACP?
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

I sended you info by pm to see the ACP settings!
Zuletzt geändert von Blisk am Do 21.Sep, 2006 15:25, insgesamt 1-mal geändert.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Yes, I saw it.
I'll take a look this afternoon or tomorrow...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

thanks, it's no need to hurry.
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

You have set "Pre generate the upload fields" to "no", so the fields will not be generated on page load.
And you must enable Javascript in your Browser!
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Blisk
Beiträge: 873
Registriert: Di 21.Sep, 2004 12:06
Kontaktdaten:

Beitrag von Blisk »

Thanx for helping, I didn't know what that means!
it was weird, because on other forum that works!
have a nice day!
Antworten