Hi,
The author pane shows the login name(raw-username) above the avatar. How to show the real name instead?

p.s. I'm using 'realname' module; it works everywhere else in the site

Comments

Michelle’s picture

Project: Advanced Forum » Author Pane
Version: 7.x-2.0-rc1 » 7.x-2.x-dev

I don't know why it's not working and don't have time to dig into it but wanted to get this moved over to the right queue.

Vasu’s picture

Project: Author Pane » Advanced Forum
Version: 7.x-2.x-dev » 7.x-2.0
Category: support » feature

Sorry that I didn't make it clear.
I do not use 'Author pane' module.
What I meant was that the name on top of the avatar is author's user-name.
Is there any way the real name of the author can be shown using a token from an user account field or from one of the contributed modules like name or realname.

p.s. updated to the latest 7x-2.0.

Michelle’s picture

Oh, then it's using the simplified version which does:

$name = theme('username', array('account' => $context));

That's using theme_username as it should be so it should pick up the Real Name module. If it's not, you may need to ask in its queue.

I'm going to leave this active for now since I've done so little with the 7.x branch and troky may have more input but I don't see any issue on AF's end.

Vasu’s picture

Status: Active » Closed (fixed)

Sorry. Not related to advanced forum at all. Error still persisted after disabling advanced forum. Changing to correct tokens in 'realname' module setting solved the problem.
Anyway thanks for your time :)

Michelle’s picture

Glad you figured it out. :)