The easy solution:
open pop_profile.asp in a text editor and go to this part:
if Len(ChkString(Request.Form("Sig"),"message")) > 255 then
Err_Msg = Err_Msg & "<li>Your signature can not be greater than 255 characters. "
Err_Msg = Err_Msg & "It now is <b>" & Len(ChkString(Request.Form("Sig"),"message")) & "</b> characters long.</li>"
end if
Add this right below it:
if (instr(Request.Form("Sig"),"http")> 0) Or (instr(Request.Form("Sig"),"www")> 0) then
Err_Msg = Err_Msg & "<li>You're not allowed to put URLs in your signature.</li>"
end if
Now go to this part:
if Len(Request.Form("Sig")) > 255 then
Err_Msg = Err_Msg & "<li>The signature can not be greater than 255 characters. "
Err_Msg = Err_Msg & "It now is <b>" & Len(Request.Form("Sig")) & "</b> characters long.</li>"
end if
And add this right below it:
if (instr(Request.Form("Sig"),"http")> 0) Or (instr(Request.Form("Sig"),"www")> 0) then
Err_Msg = Err_Msg & "<li>You're not allowed to put URLs in your signature.</li>"
end if
I tested it and it works just fine. Since e-mail addresses don't use http or www this will filter out URLs but leave e-mail addresses alone.
Sorry for the lack of line numbers but the only version of the forums that I have on my computer right now are modded so the line numbers won't help much.
http://www.frutzle.com
Snitz Exchange | Do's and Dont's