pop_send_to_friend.asp
around line #45 find the following:
if Request.QueryString("mode") = "DoIt" then
Err_Msg = ""
if (Request.Form("YName") = "") then
Err_Msg = Err_Msg & "<li>You must enter your name!</li>"
end if
insert the following directly above the red highlighted line of code: if strLogonForMail <> "0" and (MemberID < 1 or isNull(MemberID)) then
Err_Msg = Err_Msg & "<li>You Must be logged on to send a message</li>"
end if
so it now looks like this:if Request.QueryString("mode") = "DoIt" then
Err_Msg = ""
if strLogonForMail <> "0" and (MemberID < 1 or isNull(MemberID)) then
Err_Msg = Err_Msg & "<li>You Must be logged on to send a message</li>"
end if
if (Request.Form("YName") = "") then
Err_Msg = Err_Msg & "<li>You must enter your name!</li>"
end if