fimo wrote:I could see that there was a new feature in the 0.5.1 version where its possible to see a
members 1 place scores (thanks...)
The text is at the moment somthing like this:"
ARCADE_USER_HIGHSCORES' => 'View highscores',
'ARCADE_USER_SCORES' => 'View all scores',
How can i make it so its using the members username in this text ?
ie "View
"MEMBERS" highscores
and also "View all of
"MEMBER NAME" scores

So well, I hope these changes makes you happy.
OPEN
includes/arcade/arcade_stats.php
FIND
Code: Select all
'L_ARCADE_USER_STATS_TYPE' => ($highscores) ? $user->lang['ARCADE_USER_SCORES'] : $user->lang['ARCADE_USER_HIGHSCORES'],
REPLACE WITH
Code: Select all
'L_ARCADE_USER_STATS_TYPE' => ($highscores) ? sprintf($user->lang['ARCADE_USER_SCORES'], $userdata['username']) : sprintf($user->lang['ARCADE_USER_HIGHSCORES'], $userdata['username']),
OPEN
language/en/mods/arcade.php
FIND
Code: Select all
'ARCADE_USER_HIGHSCORES' => 'View highscores',
'ARCADE_USER_SCORES' => 'View all scores',
REPLACE WITH
Code: Select all
'ARCADE_USER_HIGHSCORES' => 'View %s’s highscores',
'ARCADE_USER_SCORES' => 'View all scores of %s',
For other languages do it in the same way / easy
Casual developer for
AJAX Chat on behalf of the author / Arcade Center powered by phpBB Arcade
A problem well put is half solved. (John Dewey, 1859–1952)