Seite 2 von 2

Verfasst: 12.06.2005 13:57
von phpBBNoob
hm... hat keiner ne Idee?

Verfasst: 12.06.2005 17:01
von Braveheart
Moin,
du hast da ein paar Klammern vergessen!

Finde:

Code: Alles auswählen

   // Start add - Last visit MOD
   'L_LOGON' => $lang['Last_logon'],
   'LAST_LOGON' => ($userdata['user_level'] == ADMIN || (!$board_config['hidde_last_logon'] &&
    $profiledata['user_allow_viewonline'])) ? (($profiledata['user_lastlogon'])?
	create_date($board_config['default_dateformat'], $profiledata['user_lastlogon'],
	$board_config['board_timezone']):$lang['Never_last_logon']):$lang['Hidde_last_logon'],
   'L_TOTAL_ONLINE_TIME' => $lang['Total_online_time'],
   'TOTAL_ONLINE_TIME' => make_hours($profiledata['user_totaltime'],
   'L_LAST_ONLINE_TIME' => $lang['Last_online_time'],
   'LAST_ONLINE_TIME' => make_hours($profiledata['user_session_time']-$profiledata['user_lastlogon'],
   'L_NUMBER_OF_VISIT' => $lang['Number_of_visit'],
   'NUMBER_OF_VISIT' => ($profiledata['user_totallogon']>0) ? $profiledata['user_totallogon']: $lang['None'],
   'L_NUMBER_OF_PAGES' => $lang['Number_of_pages'],
   'NUMBER_OF_PAGES' => ($profiledata['user_totalpages']) ? $profiledata['user_totalpages']: $lang['None'],
   // End add - Last visit MOD
Ersetze mit:

Code: Alles auswählen

	// Start add - Last visit MOD
	'L_LOGON' => $lang['Last_logon'], 
	'LAST_LOGON' => ($userdata['user_level'] == ADMIN || (!$board_config['hidden_last_logon'] && $profiledata['user_allow_viewonline'])) ? (($profiledata['user_lastlogon'])? create_date($board_config['default_dateformat'], $profiledata['user_lastlogon'], $board_config['board_timezone']):$lang['Never_last_logon']):$lang['Hidden_last_logon'], 
	'L_TOTAL_ONLINE_TIME' => $lang['Total_online_time'],
	'TOTAL_ONLINE_TIME' => make_hours($profiledata['user_totaltime']),
	'L_LAST_ONLINE_TIME' => $lang['Last_online_time'],
	'LAST_ONLINE_TIME' => make_hours($profiledata['user_session_time']-$profiledata['user_lastlogon']),
	'L_NUMBER_OF_VISIT' => $lang['Number_of_visit'],
	'NUMBER_OF_VISIT' => ($profiledata['user_totallogon']>0) ? $profiledata['user_totallogon']: $lang['None'],
	'L_NUMBER_OF_PAGES' => $lang['Number_of_pages'], 
	'NUMBER_OF_PAGES' => ($profiledata['user_totalpages']) ? $profiledata['user_totalpages']: $lang['None'], 
	// End add - Last visit MOD
Dann müsste es klappen. :grin:

Gruß,
Thomas

Verfasst: 12.06.2005 17:34
von phpBBNoob
jo super danke :) Nur frag ich mich echt wie man bei copy & paste klammern vergessen kann *g*