Folgender Fix bindet die Sprachdatei des Mods nach Einstellung des Benutzerprofiles ein:
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_phpbb_security.' . $phpEx);
#
#-----[ OPEN ]------------------------------------------
#
includes/phpbb_security.php
#
#-----[ FIND ]------------------------------------------
#
include_once($phpbb_root_path .'language/lang_'. $board_config['default_lang'] .'/lang_phpbb_security.'. $phpEx);
#
#-----[ REPLACE WITH ]------------------------------------------
#
// include_once($phpbb_root_path .'language/lang_'. $board_config['default_lang'] .'/lang_phpbb_security.'. $phpEx);
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoMHier ist folgender Fix auszuführen:
Code: Alles auswählen
#
#-----[ OPEN ]------------------------------------------
#
includes/phpbb_security.php
#
#-----[ FIND ]------------------------------------------
#
function phpBBSecurity_IsMember()
{
global $db;
$q = "SELECT *
FROM ". POSTS_TABLE ."";
$r = $db->sql_query($q);
$member_data = $db->sql_fetchrowset($r);
return $member_data;
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
function phpBBSecurity_IsMember()
{
global $db;
$q = "SELECT poster_ip
FROM ". POSTS_TABLE ."
GROUP BY poster_ip";
$r = $db->sql_query($q);
$member_data = $db->sql_fetchrowset($r);
return $member_data;
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM