i make the change "name" : "username" to "username" : "username"
it looks working
[code:1]
function uddeIMgetNameFromID($id, $config) {
$database = uddeIMgetDatabase();
$sql="SELECT ".($config->realnames ? "username" : "username"«»)." FROM #__users WHERE id=".(int)$id;
$database->setQuery($sql);
$value = $database->loadResult();
return $value;
}[/code:1]
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.