Not sure if that would work.
Because the mod uses the username when they register on the forum
and by default the registration form does not ask for a display name.
SMFHacks,
WelcomeTopic.xml :
'subject' => str_replace("{username}",$row['memberName'],$row2['welcomesubject']),
'body' => str_replace("{username}",$row['memberName'],$row2['welcomebody']),
Username - is used only for identification by SMF (for login).
It is saved in members.memberName .
Name - is the displayed name that people will see.
It is saved in members.realName .
After the registration -
the default value of members.realName
is equal to members.memberName value.
When an administrator included the {username} variable
in Welcome Topic settings -
the mod should display a value of the database field
members.realName
instead of members.memberName , i.e.
'subject' => str_replace("{username}",$row['realName'],$row2['welcomesubject']),
'body' => str_replace("{username}",$row['realName'],$row2['welcomebody']),
Shouldn't it ?