FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » use real name in notification subject line
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
use real name in notification subject line [message #25274] Fri, 03 June 2005 15:51 Go to next message
jhogue is currently offline  jhogue   United States
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 messageGo to next message
Ilia is currently offline  Ilia   Canada
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
Thanks for the reply [message #25288 is a reply to message #25285] Fri, 03 June 2005 19:50 Go to previous messageGo to next message
jhogue is currently offline  jhogue   United States
Messages: 28
Registered: April 2005
Location: at the computer
Karma: 0
Junior Member
I had a feeling that was the answer.
I think we'll just use the real name as the alias, and I'll mod the email template to use the alias in the subject line.

Thanks!

Jeff
Re: Thanks for the reply [message #25290 is a reply to message #25288] Fri, 03 June 2005 19:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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
I'll give it a shot this weekend [message #25292 is a reply to message #25290] Fri, 03 June 2005 20:05 Go to previous message
jhogue is currently offline  jhogue   United States
Messages: 28
Registered: April 2005
Location: at the computer
Karma: 0
Junior Member
thanks again.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FUDForum very slow. Bad consistency check
Next Topic: A few users having log-in problems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 23:39:09 GMT 2024

Total time taken to generate the page: 0.02994 seconds