Posted - 02/19/2018 : 19:19:15
Hopefully the ECT team will adopt dbdave's suggestion to add an Email verification feature to the "Ask a Question / Email a Friend" form. If you proceed to modify emailfriend.php/asp, then perhaps you could also consider making these very simple improvements ... ---------------------------------------- (1) Print line breaks in the "Comments" section of the email message body. Alter LINE 78 of emailfriend.php as follows: $yourcomments=str_replace(array("\r\n", "\n", "\r"),$emlNl,substr(getpost('yourcomments'),0,2000));---------------------------------------- (2) In the email message body, print ProdID - ProdName ... just in case the visitor deletes that info from the comments field when entering their question. Also print VisitorName and VisitorEmail in the body. Alter LINE 80 as follows: $seBody='A question about: ' . getpost('origprodid') . $emlNl . 'Received from: ' . $yourname . ', ' . $youremail . $emlNl . $emlNl . $yourcomments . $emlNl;---------------------------------------- (3) Enhance detail in email Subject line to include VisitorName and ProdIDAlter LINE 86 as follows: $thesubject=$xxAsqSub . ' from ' . $yourname . ' about ' . $theprodid;So if you added this language override to includes.php: $xxAsqSub='A question';Then the email message title would read something like: A question from Gary Flack about minicss-widgetsGary
|