Index: openacs-4/packages/forums/tcl/forums-email-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/forums/tcl/forums-email-procs.tcl,v diff -u -r1.3 -r1.3.2.1 --- openacs-4/packages/forums/tcl/forums-email-procs.tcl 12 Jul 2004 14:49:59 -0000 1.3 +++ openacs-4/packages/forums/tcl/forums-email-procs.tcl 20 Nov 2006 20:00:25 -0000 1.3.2.1 @@ -21,7 +21,12 @@ # Variables for I18N message lookup: set posting_date $message(posting_date_ansi) - set user_name $message(user_name) + set useScreenNameP [parameter::get -parameter "UseScreenNameP" -default 0] + if {$useScreenNameP != 0} { + set user_name $message(screen_name) + } else { + set user_name $message(user_name) + } # Set up the message body set new_body "[ad_html_to_text -- $pre_body]"