Das unterstrichene habe ich eingesetzt hoffe ihr findet dort den fehler ich find ihn nicht
includes/functions_user.php
// These are the additional vars able to be specified
$additional_vars = array(
'user_permissions' => '',
'user_arcade_permissions' => '',
'user_timezone' => $config['board_timezone'],
'user_dateformat' => $config['default_dateformat'],
'user_lang' => $config['default_lang'],
'user_style' => (int) $config['default_style'],
'user_actkey' => '',
'user_ip' => '',
'user_regdate' => time(),
'user_passchg' => time(),
'user_options' => 895,
function user_delete($mode, $user_id, $post_username = false)
{
global $cache, $config, $db, $user, $auth;
global $phpbb_root_path, $phpEx;
global $arcade, $auth_arcade, $table_prefix;
$sql = 'SELECT *
FROM ' . USERS_TABLE . '
WHERE user_id = ' . $user_id;
$result = $db->sql_query($sql);
$user_row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);
if (!$user_row)
{
return false;
}
//Start remove arcade user data
if (!class_exists('arcade_admin'))
{
include($phpbb_root_path . 'includes/arcade/arcade_common.' . $phpEx);
}
if (!isset($arcade))
{
$arcade = new arcade_admin();
}
$arcade->delete_user($user_id, $user_row['username']);
//End remove arcade user data
memberlist.php$sql = 'UPDATE ' . TOPICS_TABLE . " SET topic_last_poster_colour = '" . $db->sql_escape($sql_ary['user_colour']) . "'
WHERE " . $db->sql_in_set('topic_last_poster_id', $user_id_ary);
$db->sql_query($sql);
global $cache, $phpbb_root_path, $phpEx, $table_prefix;
include($phpbb_root_path . 'includes/arcade/arcade_constants.' . $phpEx);
$sql = 'UPDATE ' . ARCADE_CATS_TABLE . " SET cat_last_play_user_colour = '" . $db->sql_escape($sql_ary['user_colour']) . "'
WHERE " . $db->sql_in_set('cat_last_play_user_id', $user_id_ary);
$db->sql_query($sql);
$cache->destroy('sql', ARCADE_CATS_TABLE);
$cache->destroy('sql', ARCADE_GAMES_TABLE);
$cache->destroy('sql', ARCADE_SCORES_TABLE);
$cache->destroy('_arcade_leaders');
case 'viewprofile':
// Display a profile
if ($user_id == ANONYMOUS && !$username)
{
trigger_error('NO_USER');
}
include($phpbb_root_path . 'includes/arcade/arcade_constants.' . $phpEx);
include($phpbb_root_path . 'includes/arcade/arcade_cache.' . $phpEx);
include($phpbb_root_path . 'includes/arcade/functions_arcade.' . $phpEx);
$user->add_lang('mods/arcade');
$arcade_data = display_arcade_highscores($user_id, basename(__FILE__, '.' . $phpEx));
if (sizeof($arcade_data))
{
$template->assign_vars($arcade_data);
}
if (!empty($profile_fields['row']))
{
$template->assign_vars($profile_fields['row']);
}