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!
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → "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!
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;
}
PunBB Forums → PunBB 1.2 troubleshooting → "Real Names"
Powered by PunBB, supported by Informer Technologies, Inc.