Closed (fixed)
Project:
Facebook-style Statuses (Microblog)
Version:
6.x-1.0-beta1
Component:
Code - Functionality
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
28 Jan 2009 at 23:15 UTC
Updated:
1 Mar 2009 at 07:20 UTC
With RealName.module in place, the status updates block properly recognizes the Real Name username hook and displays real name, while other blocks like regular status only display username. Probably a difference in username hook coding (?)
Comments
Comment #1
icecreamyou commentedYeah... will fix.
Comment #2
gausarts commentedI'd like to add a feature request, if you don't mind. When realname is considered, will this be possible to only display, say first name then? That'll make it more like facebook and above all, it'll save some space when dealing in a narrow block. Activitystream.module can split realname and grab only the firstname. I have tried to duplicate some function from it, but I am not a php geek:)
Here's for your consideration taken from line#317:
Thanks
Comment #3
icecreamyou commentedI think what I'll do is use the full name and make it themeable--that way you can override it in your theme if you want to use only the first name. Here's what you should put in your theme to override it (obviously it won't do anything until I get the code in the module):
Comment #4
gausarts commentedThat's lovely. I can't wait to see it applied. Thanks for quick response.
Comment #5
icecreamyou commentedActually, the Real Name module will already take care of this once I fix the original problem. There's no need to do any hack-ish theme overrides. You may have to use the dev version of Real Name for that to work, however. That also means I'm not going to add a separate, FBS-specific username theme function.
This is one of two remaining issues I need to solve before I release a 1.0-RC. It's not particularly difficult to do, I just have to find the time and motivation. But be assured it will be solved, and soon. After a full 1.0 release I'm going to start on a 2.x branch.
Comment #6
icecreamyou commentedFixed.