I'm using dev version because PrivateMsg problem was fixed.

Using previous versions Tribune Module works well and shows correctly the realname instead of username in chat entry.
But with the development version chat entries show username.

I don't know if it's a real bug and if it's a tribune or realname problem... anyway I've reported this problem.

PS
Thx for this module :)

CommentFileSizeAuthor
#6 realname_ext_rev2.zip4.74 KBdigemall

Comments

nancydru’s picture

If that developer will switch to theme('username', ...) the problem will go away.

nancydru’s picture

Project: Real Name » Tribune
Category: bug » feature

Reassigning to Tribune.

SeeSchloss’s picture

theme_username gives a link, and I don't want that, it also does a check_plain while I need the <i>, <b> and a fews other tags to pass through, and it would need a user_load() call for every displayed post, that's a bit much.

As I see it, the way to do that would be to override the 'post_username' theme function.

nancydru’s picture

No, it no longer does any user_loads, at least in RealName; there is a possibility that a fast query will be executed on the first occurrence of a name, but it will then be statically cached. As for passing the links, the newest -dev can be told to not create a link. If you give me a good idea of what tags you want, we can work out a way to accommodate that.

gregorybruneau’s picture

Hi,

Sorry i'm writting one year and a half after but this is interesting me.
I'm using realname and tribune and i want to display the realname instead of username.
Do you have any solution for this?

Many many many thanks for your help!

Greg

digemall’s picture

StatusFileSize
new4.74 KB

I had the same problem (I opened this issue indeed, eh eh ) and I fixed it through a simple module (I did it by myself).

Actually, this module can enable Realname override not only for Tribune module, but also for Quote module.

Usage:
Once you enable the module, you will find the menu entry "Realname Extension" under Administration / User Management.
Click on it, then just check the option: "Override post username in tribune", save configuration and... job's done ;)

Hope this help.

SeeSchloss’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

theme_username still doesn't allow overriding user's names or preventing link creation (the documentation hints that you can do it, but you can't unless you override the default implementation). And I still need the names not to be links (although I have given up on the tags).