drop pending members for gender=1 - Postet den (1159 Views)
Average Member
phy1729
Innlegg: 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.<
   
 Sidestørrelse 
Postet den
Snitz Forums Admin
ruirib
Innlegg: 26364
26364
No code for that, probably you could just use a SQL statement. What database are you using?<
Postet den
Forum Moderator
AnonJr
Innlegg: 5768
5768
Originally posted by phy1729
so this would eliminate all spam for me.
Until they figure it out... blackeyedead<
Postet den
Average Member
phy1729
Innlegg: 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.<
Postet den
Snitz Forums Admin
ruirib
Innlegg: 26364
26364
So what you need is a change to the registration code. Are you using email validation / restrict registration?<
Postet den
Average Member
phy1729
Innlegg: 589
589
email validation would it be something like
if strEmail = "1" and strRestrictReg = "0" and gender <> "1" then<
Postet den
Snitz Forums Admin
ruirib
Innlegg: 26364
26364
I'm just trying to find out where you need to add the code.<
Postet den
Forum Moderator
AnonJr
Innlegg: 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.<
Postet den
Average Member
phy1729
Innlegg: 589
589
I know but it cuts the number of bots down.<
Postet den
Average Member
phy1729
Innlegg: 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.<
 
Du må legge inn en melding