1

Topic: "Real Names"

Is there a way to display "real names" instead of user names in the forum? (I.e. on each post, moderator lists, etc.)

Thanks!

2 (edited by zaher 2004-11-24 05:37)

Re: "Real Names"

open 
  "viewtopic.php"
find
  // Retrieve the posts (and their respective poster)
$result = $db->query('SELECT u.email, u.title, u.url, u.location, 


add
   u.realname,

to become
  // Retrieve the posts (and their respective poster)
 $result = $db->query('SELECT u.email, u.title, u.url, u.location, u.realname,

find 
// get_title() requires that an element 'username' be present in the array

add before

   $user_realname = $cur_post['realname'];
    if ($user_realname!='')
    {
                if ($pun_config['o_censoring'] == '1')
                    $user_realname = censor_words($user_realname);

                $info .= "<br>".$user_realname;
    }
If your people come crazy, you will not need to your mind any more.