I've found an error in the replacement ContactUs code (point #1 above).
The original code, which used $vbulletin->userinfo['email'] to retrieve the poster's email address for insertion into the Reply-to header, only works for logged-in registered users of the board. If you allow un-logged-in visitors to use the Contact Us form, the email address they enter will not be picked up for the Reply-to header.
Instead, use $vbulletin->GPC['email'], as in the original vB coding. This works both for logged-in users and for visitors.
I've edited the code in the original post.
|