drop pending members for gender=1 - Posted (1163 Views)
Average Member
phy1729
Posts: 589
589
Is there a way to silently drop any pending member that provides a gender of 1? by silently drop I mean don't output an error just delete the record. All the span I have gotten thus far has provided a gender of one so this would eliminate all spam for me.<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Snitz Forums Admin
ruirib
Posts: 26364
26364
No code for that, probably you could just use a SQL statement. What database are you using?<
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
Originally posted by phy1729
so this would eliminate all spam for me.
Until they figure it out... blackeyedead<
Posted
Average Member
phy1729
Posts: 589
589
Well hopefully it's automated so they wouldn't figure it out, but I'm using MS Access 2000 using virtual path. What I was think was that when the bot registered the code would check the gender field just as it would check that the password to match or the email address not to be in use but it wouldn't throw an error the code would just silently drop the request and delete the bot from the database.<
Posted
Snitz Forums Admin
ruirib
Posts: 26364
26364
So what you need is a change to the registration code. Are you using email validation / restrict registration?<
Posted
Average Member
phy1729
Posts: 589
589
email validation would it be something like
if strEmail = "1" and strRestrictReg = "0" and gender <> "1" then<
Posted
Snitz Forums Admin
ruirib
Posts: 26364
26364
I'm just trying to find out where you need to add the code.<
Posted
Forum Moderator
AnonJr
Posts: 5768
5768
Originally posted by phy1729
Well hopefully it's automated so they wouldn't figure it out

you'd be surprised... a handful of bots have made it past similar measures I've made. (namely Shaggy's Birthday MOD) They've all been caught by the e-mail validation though.
Please don't misunderstand: I'm not trying to discourage this. (I'll be putting it to use myself) While it will work for the vast majority of the idiots out there, someone will figure it out starting this whole game of cat and mouse all over again.<
Posted
Average Member
phy1729
Posts: 589
589
I know but it cuts the number of bots down.<
Posted
Average Member
phy1729
Posts: 589
589
would this work? register.asp line 616ish
regHomepage = ""

if strEmail = "1" and strRestrictReg = "0" and gender <> "1" then
'## E-mails Message to the Author of this Reply.<
 
You Must enter a message