I've had a Snitz forum running on my website for a few months now and things are good, apart that is from the almost daily registration of either a dutch or russian spammer using a gmail address.
I read the help files and FAQ but could not find anything about blocking the use of certain certain email adresses at the registration stage. Some sort of GUI add on would help the less experienced folk such as myself for whom VB is not a first language.
Undaunted I wrote my own little bit of code to stop anybody signing up to my forum using a gmail address and a few others for good measure. Find this the bit in 'register.asp' somewhere around line 280
If strAutoLogon <> 1 then if Request.Form("Email") = "" then Err_Msg = Err_Msg & "<li>You Must give an e-mail address</li>" end if Then add this code if InStr((Request.Form("Email")),"gmail")>0 then Err_Msg = Err_Msg & "<li>Your E-mail Addresses didn't match.</li>" end if
if InStr((Request.Form("Email")),"verytec")>0 then Err_Msg = Err_Msg & "<li>Your E-mail Addresses didn't match.</li>" end if
if InStr((Request.Form("Email")),"cvportal")>0 then Err_Msg = Err_Msg & "<li>Your E-mail Addresses didn't match.</li>" end if
if InStr((Request.Form("Email")),".ru")>0 then Err_Msg = Err_Msg & "<li>Your E-mail Addresses didn't match.</li>" end if
I know it is very basic and could do with some refinement but does seems to be working well so far.
Gaaghhh, fiddlesticks... I must have an earlier version 'Blocked E-Mail Domains' does not appear under Admin Options for me. Oh well, my forum is long overdue for an overhaul.
I agree with you not all gmail users are up to no good and a blanket ban is far from an ideal solution. Just as restricing access solely by IP adderess is also going to prevent legitimate users getting in.
Will download the latest version and see what has changed.