Topic: Is there a way to display the real name instead of the username?

Is there a way to display the real name on forum posts instead of the username?

Re: Is there a way to display the real name instead of the username?

Where exactly do you want to show real names of users?

3 (edited by colak 2009-12-20 11:39)

Re: Is there a way to display the real name instead of the username?

I'm interested in this too. (partly). User name is fine where it is but is there a way to display the real name under the user name in the posts?

ie

Slavok
real name: Slava
PunBB Developer
etc...

Forum, Art, Architecture, Passion.

Have you ever visited the textpattern forum?

Re: Is there a way to display the real name instead of the username?

If you want to add the post's author name to the profile's information paste this code into the "vt_row_pre_post_actions_merge" hook:

if ($cur_post['poster_id'] > 1)
{
    $forum_page['author_ident']['realname'] = '<li><span>Real name: '.forum_htmlencode($cur_post['realname']).'</span></li>';
}

5 (edited by colak 2009-12-21 10:15)

Re: Is there a way to display the real name instead of the username?

Hi Slavok... Thanks!!! is there a way of that becoming a plugin?

Forum, Art, Architecture, Passion.

Have you ever visited the textpattern forum?

Re: Is there a way to display the real name instead of the username?

You can try creating an extension by yourself: it is quite simple to do because there is only one hook in this extension. You can take a code of any official extention as an example and study it out. If you have more questions, please, contact us immediately. We are ready to provide any assistance.