I use realname module and username is replaced almost everywhere I just found two places where isn't and was just wondering whether it was done on purpose or just slipped through unspotted ?

From og.module :

line 790  t('Are you sure you want to make %name a group administrator for the group %title?', array('%name' => $account->name, '%title' => $node->title)),
.
.
line 830  t('Are you sure you want to remove %name as a group administrator for the group %title?', array('%name' => $account->name, '%title' => $node->title)),

I see that on other confirmation page you are using theme('username'... which works great with realname module.

line 1095  t('Are you sure you want to remove !name from the group %title?', array('!name' => theme('username', $account), '%title' => $group_node->title)),

Cheers

CommentFileSizeAuthor
#2 og_realname.patch1.33 KBPlazmus
#1 og-450050.patch1003 bytesdawehner

Comments

dawehner’s picture

Category: task » support
Status: Active » Needs review
StatusFileSize
new1003 bytes

here is a short patch which does exact this

Plazmus’s picture

StatusFileSize
new1.33 KB

I checked latest version and there is still issue with displaying realname, can you please apply included patch.

Thanks

moshe weitzman’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.