Allgemeiner Fehler nach Mod install

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
LiveStyle
Mitglied
Beiträge: 9
Registriert: 15.03.2009 18:02

Re: Allgemeiner Fehler nach Mod install

Beitrag von LiveStyle »

beides kontroliert

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
$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');
memberlist.php
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']);
}
LiveStyle
Mitglied
Beiträge: 9
Registriert: 15.03.2009 18:02

Re: Allgemeiner Fehler nach Mod install

Beitrag von LiveStyle »

Kann mir den keiner helfen ?
Antworten

Zurück zu „[3.0.x] Mod Support“