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?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 extensions → 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?
Where exactly do you want to show real names of users?
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...
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>';
}
Hi Slavok... Thanks!!! is there a way of that becoming a plugin?
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.
PunBB Forums → PunBB 1.3 extensions → Is there a way to display the real name instead of the username?
Powered by PunBB, supported by Informer Technologies, Inc.