use real name in notification subject line [message #25274] |
Fri, 03 June 2005 15:51 ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
jhogue
![United States United States](/forum/images/flags/us.png) Messages: 28 Registered: April 2005 Location: at the computer
Karma: 0
|
Junior Member |
|
|
I want the subject line of email notifications to use the poster's real name, not login or alias. Is this a global setting I missed, or do I edit
iemail_frm_subject and replace VAR:poster_login with
VAR:??????????? (poster's real name).
Thanks a bunch in advance.
Jeff
|
|
|
Re: use real name in notification subject line [message #25285 is a reply to message #25274] |
Fri, 03 June 2005 19:44 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Ilia
![Canada Canada](/forum/images/flags/ca.png) Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The real name is not being fetched by the query, so you need to modify the query inside imsg_edt.inc.t to fetch the column from the users table and then use it inside the template.
FUDforum Core Developer
|
|
|
|
Re: Thanks for the reply [message #25290 is a reply to message #25288] |
Fri, 03 June 2005 19:54 ![Go to previous message Go to previous message](/forum/theme/default/images/up.png) ![Go to next message Go to next message](/forum/theme/default/images/down.png) |
Ilia
![Canada Canada](/forum/images/flags/ca.png) Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The simplest solution, to avoid many modifications is to modify the query and using AS keyword change the realname column name to alias. This way you only need to edit a single file.
FUDforum Core Developer
|
|
|
|