Tribune and realname

digemall - January 12, 2009 - 20:10
Project:Tribune
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

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 :)

#1

NancyDru - January 24, 2009 - 22:24

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

#2

NancyDru - January 24, 2009 - 22:24
Project:RealName» Tribune
Version:6.x-1.x-dev» 6.x-1.x-dev
Category:bug report» feature request

Reassigning to Tribune.

#3

SeeSchloss - March 9, 2009 - 21:16

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.

#4

NancyDru - March 9, 2009 - 23:57

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.

 
 

Drupal is a registered trademark of Dries Buytaert.