The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
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.<
Postet den
No code for that, probably you could just use a SQL statement. What database are you using?<
Postet den
Originally posted by phy1729Until they figure it out...
so this would eliminate all spam for me.
Postet den
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
So what you need is a change to the registration code. Are you using email validation / restrict registration?<
Postet den
email validation would it be something like
if strEmail = "1" and strRestrictReg = "0" and gender <> "1" then<
if strEmail = "1" and strRestrictReg = "0" and gender <> "1" then<
Postet den
I'm just trying to find out where you need to add the code.<
Postet den
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
I know but it cuts the number of bots down.<
Postet den
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.<
regHomepage = ""
if strEmail = "1" and strRestrictReg = "0" and gender <> "1" then
'## E-mails Message to the Author of this Reply.<
Email Member
Message Member
Post Moderation
Filopplasting
If you're having problems uploading, try choosing a smaller image.
Forhåndsvis post
Send Topic
Loading...