Seite 3 von 10
Verfasst: 15.06.2005 13:08
von Markus67
Hi ...
suche:
Code: Alles auswählen
if ( $mode == 'user' && $HTTP_POST_VARS['userlevel'] == 'user' && ( $user_level == '99' || $user_level == '5' || $user_level == '4' || $user_level == '3' || $user_level == ADMIN)
//
// Make admin a user (if already admin) ... ignore if you're trying
// to change yourself from an admin to user!
//
T_IF ( $userdata['user_id'] != $user_id )
ersetze mit:
Code: Alles auswählen
if ( $mode == 'user' && $HTTP_POST_VARS['userlevel'] == 'user' && ( $user_level == '99' || $user_level == '5' || $user_level == '4' || $user_level == '3' || $user_level == ADMIN) )
{
//
// Make admin a user (if already admin) ... ignore if you're trying
// to change yourself from an admin to user!
//
if ( $userdata['user_id'] != $user_id )
Markus
Verfasst: 15.06.2005 13:50
von sascha0810
OK ich glaube wir sind noch net fertig jetzt erscheint die Fehlermeldung am Rand
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /usr/export/www/vhosts/funnetwork/hosting/sascha081088/admin/admin_ug_auth.php on line 507
den Text habe ich aktualliesiert kannst du wieder unter dem Link finden
Verfasst: 15.06.2005 13:57
von Markus67
Hi ...
suche:
Code: Alles auswählen
AND u.user_level NOT IN (" " . BOT . ", " . VIP . ", " . SUPPORT . ", " . MOD . ", " . MAIN_MOD . ", " . ADMIN . ")
ersetze mit:
Code: Alles auswählen
AND u.user_level NOT IN (" . BOT . ", " . VIP . ", " . SUPPORT . ", " . MOD . ", " . MAIN_MOD . ", " . ADMIN . ")
Markus
Verfasst: 15.06.2005 13:58
von sascha0810
Worin besteht der unterschied
Verfasst: 15.06.2005 14:01
von sascha0810
geschrieben getan und es geht DANKE aber wo kann ich da was einstellen???
Verfasst: 15.06.2005 14:06
von sascha0810
musste ich das auch machen???
#
#-----[ COPY ]------------------------------------------
# if you are using the Username Color Mod, ignore this line
#
copy root/level_list.php to level_list.php
copy root/templates/subSilver/level_list_body.tpl to templates/subSilver/level_list_body.tpl
und das
#
#-----[ FIND ]------------------------------------------
# if you are using the Username Color Mod, ignore this line
#
define('PAGE_GROUPCP', -11);
#
#-----[ AFTER, ADD ]------------------------------------------
# if you are using the Username Color Mod, ignore this line
#
define('PAGE_LEVEL_LIST', -99);
und das
#
#-----[ FIND ]------------------------------------------
# if you are using the Username Color Mod, ignore this line
#
'L_WHOSONLINE_ADMIN' => sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>'),
'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'),
#
#-----[ REPLACE WITH ]------------------------------------------
# if you are using the Username Color Mod, ignore this line
#
'L_WHOSONLINE_ADMIN' => sprintf($lang['Admin_online_color'], '<a href="' . append_sid("level_list.$phpEx?level=1") . '" style="color: #' . $theme['fontcolor3'] . '">', '</a>'),
'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<a href="' . append_sid("level_list.$phpEx?level=2") . '" style="color: #' . $theme['fontcolor2'] . '">', '</a>'),
#
und das
#
#-----[ OPEN ]------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------
# if you are using the Username Color Mod, ignore this line
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
# if you are using the Username Color Mod, ignore this line
#
case PAGE_USER_LEVEL:
$location = $lang['Viewing_level_list'];
$location_url = "index.$phpEx?pane=right";
break;
#
#-----[ FIND ]------------------------------------------
# if you are using the Username Color Mod, ignore this line
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
# if you are using the Username Color Mod, ignore this line
#
case PAGE_USER_LEVEL:
$location = $lang['Viewing_level_list'];
$location_url = "index.$phpEx?pane=right";
break;
#
?????????????????????????????????????????????????????????
Verfasst: 15.06.2005 14:11
von Markus67
Hi ...
hast du den Color Groups MOD eingebaut? Falls nein musst du die ganzen Änderungen auch noch machen.
Markus
Verfasst: 15.06.2005 14:14
von sascha0810
ich glaube nicht
Verfasst: 15.06.2005 14:15
von Markus67
Hi ...
na dann zum Endspurt und die paar Dateien noch ändern bzw. hochladen
Markus
Verfasst: 15.06.2005 14:30
von sascha0810
Welche Dateien soll ich hochladen???
Habe jetzt anscheinend ein Problem mit dem Countdown Mod!!!
Die Fehlermeldung kommt wenn ich im AdminBereich unter Countdown klicke
Could not get countdown settings
DEBUG MODE
SQL Error : 1146 Table 'sascha081088.COUNTDOWN_TABLE' doesn't exist
SELECT * FROM COUNTDOWN_TABLE
Line : 91
File : admin_countdown.php