Hello, I've tried to tweak the code so that the user's full names are displayed instead of their username.
I want users to register using their email address, provide a password and their full names.
The system should then append the user's full name (or display name) which is mandory during registeration instead of a username as it is right now. Having users register another "username" that they've to remember ontop of other usernames and email address they already have to me is sort of to much.
Now, iv'e looked at the qa-app-format.php file and seen this function;
Each element in $questions represents a question and optional associated answer, comment or edit, as retrieved from database.
Return an array of elements (userid,handle) for the appropriate user for each element.
foreach ($questions as $question)
'userid' => @$question['ouserid'],
'handle' => @$question['ohandle'],
'userid' => @$question['userid'],
'handle' => @$question['handle'],
//return user's full names instead of their handle instead, but what's the key for the @$question associated array?
//'handle' => @$question['name'],
//'handle' => "okwii david",
So i've tried replacing something like @$question['name'] for @$question['handle'], but it seems there's no "name" key in the $question array.
So what file/function should i tweak. What should i do? Thanks in advance