"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Upload/inc/functions_online.php" between
mybb_1821.zip and mybb_1822.zip

About: MyBB is a multilingual, standards-compliant and free forum (discussion board) software.

functions_online.php  (mybb_1821):functions_online.php  (mybb_1822)
skipping to change at line 1170 skipping to change at line 1170
elseif(!empty($user['bot'])) elseif(!empty($user['bot']))
{ {
$online_name = format_name($user['bot'], $user['usergroup']); $online_name = format_name($user['bot'], $user['usergroup']);
} }
// Otherwise we've got a plain old guest // Otherwise we've got a plain old guest
else else
{ {
$online_name = format_name($lang->guest, 1); $online_name = format_name($lang->guest, 1);
} }
$online_time = my_date($mybb->settings['timeformat'], $user['time']); $online_time = my_date('relative', $user['time']);
// Fetch the location name for this users activity // Fetch the location name for this users activity
$location = build_friendly_wol_location($user['activity']); $location = build_friendly_wol_location($user['activity']);
// Can view IPs, then fetch the IP template // Can view IPs, then fetch the IP template
if($mybb->usergroup['canviewonlineips'] == 1) if($mybb->usergroup['canviewonlineips'] == 1)
{ {
$user['ip'] = my_inet_ntop($db->unescape_binary($user['ip'])); $user['ip'] = my_inet_ntop($db->unescape_binary($user['ip']));
if($mybb->usergroup['canmodcp'] == 1 && $mybb->usergroup['canusei psearch'] == 1) if($mybb->usergroup['canmodcp'] == 1 && $mybb->usergroup['canusei psearch'] == 1)
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)