/** * Formats a username based on their display group * * @param string The username * @param int The usergroup for the user (if not specified, will be fetched) * @param int The display group for the user (if not specified, will be fetched) * @return string The formatted username */
function format_name($username, $usergroup, $displaygroup="") { global $groupscache, $cache, $db;
Oxygen Wrote: Is this the plugin that adds more and more queries to your board for every custom name style?
Idk? find out by yourself. But no, I guess not. :yus:
25-04-2015, 11:49 PM
AndresXZ09 Wrote: Hm, my inc/functions.php looks like this
Code:
/** * Formats a username based on their display group * * @param string The username * @param int The usergroup for the user (if not specified, will be fetched) * @param int The display group for the user (if not specified, will be fetched) * @return string The formatted username */
function format_name($username, $usergroup, $displaygroup="") { global $groupscache, $cache, $db;