// Load data
$rows = merge_array($rows, SQL_FETCHARRAY($result_users));
+ // Is ext-nickname active?
+ if (isExtensionActive('nickname')) {
+ // Then get the nickname
+ $nick = getNickname($rows['userid']);
+
+ // Is it not empty? Then use it
+ if (!empty($nick)) $rows['userid'] = $nick . '(' . $rows['userid'] . ')';
+ } // END - if
+
// Translate comma
$rows['points'] = translateComma($rows['points']);
} // END - if