Integrate with Real Name module
bobgeier - November 3, 2009 - 23:29
| Project: | Team Notifications |
| Version: | 6.x-1.0 |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
This I hope should be a relatively easy and straightforward feature request. It would be nice if the team notification used the drupal username function so that it integrated with the Real Name module (see Real Name project). "Bob Smith" is an easier team member to pick out than some usernames like bbs1265.

#1
Since RealName simply overrides
theme_username($object), all we'd need to do is invoke this function when setting usernames so that instead of doing a straight$user->name;, we'd dotheme('username', $user);. Right?The attached files make this very small change in a few places where I noticed usernames were being set, and I have verified that RealName is invoked in the notifications form in my test intstance- "foobbs1265" becomes "Fred Foo." I did not test the autosuggest form, FWIW.
#2
forgot to change the status...