Author |
Topic |
Skyhigh
Starting Member
USA
4 Posts |
Posted - 20 April 2007 : 13:06:18
|
quote: Originally posted by garyrobar
Thanks for making this mod available. It is greatly appreciated.
I am getting the following error Send an E-MAIL Message
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'Go_Result'
/forum/pop_mail.asp, line 108
I had this same issue, what I ended up doing was changing all references to Go_Result to be:
Err_Msg = Err_Msg & "You entered the wrong Anti SPAM confirmation code !"
Make sure you remove the , 0 at the end of the line as well.< |
George "Skyhigh" Blouin Solaris7.com Admin CommandoHQ.com Admin |
|
|
Skyhigh
Starting Member
USA
4 Posts |
Posted - 20 April 2007 : 13:13:40
|
quote: Originally posted by PowerRun
I have installed it and after fixing all the buggy code I found it still doesn't work. If I enter a wrong number of characters and then enter the correct number, but all wrong letters, it'll let me send e-mail
I fixed this issue by changing this:
'CAPTCHA Mod
if strLinkSpamCaptcha = 1 then
Dim strUsersInput
strUsersInput= Request.Form("captcha")
Select Case len(trim(strUsersInput))
case "4"
If Session("Snitz.captcha") <> "" then
If UCase(strUsersInput) <> UCase(Session("Snitz.captcha")) then
Go_Result "You entered the wrong Anti SPAM confirmation code !", 0
End if
End IF
case "0"
Go_Result "You did not enter the Anti SPAM confirmation code !", 0
case else
Go_Result "You entered the wrong amount of characters for the Anti SPAM confirmation code !", 0
End Select
End if
Session.Contents.Remove("Snitz.captcha")
'CAPTCHA Mod
To This
'CAPTCHA Mod
if strLinkSpamCaptcha = 1 then
Dim strUsersInput
strUsersInput= Request.Form("captcha")
Select Case len(trim(strUsersInput))
case "4"
If Session("Snitz.captcha") <> "" then
If UCase(strUsersInput) <> UCase(Session("Snitz.captcha")) then
Go_Result "You entered the wrong Anti SPAM confirmation code !", 0
Else
Session.Contents.Remove("Snitz.captcha")
End if
End If
case "0"
Go_Result "You did not enter the Anti SPAM confirmation code !", 0
case else
Go_Result "You entered the wrong amount of characters for the Anti SPAM confirmation code !", 0
End Select
End if
'CAPTCHA Mod
The issue was that the captcha session variable is being removed as soon as the check is run. If the user then uses the "Go Back and ReEnter" link the submission is no longer checked.
This change only removes the session variable IF they correctly entered the code.< |
George "Skyhigh" Blouin Solaris7.com Admin CommandoHQ.com Admin |
|
|
endomorph
Junior Member
United Kingdom
128 Posts |
Posted - 01 September 2007 : 07:45:01
|
Just finished installing this MOD after being hit by spam bots over the last 6 weeks. After wading through the errors in the install notes, and after modifying code myself, I now have it running on the following -
1. Registration 2. Email 3. Create topic 4. Reply to topic (including quick reply) 5. Edit topic
The last 3 in the original MOD only worked if you were not logged in, whereas I have modified it to work for members who are logged in too. I have also changed it so admin and moderators do not see it (as they are trusted).
If your interested, take a look at www.timesharetalk.co.uk
Demo account Login: demo Password: demo
If anyone would like help in doing the same, drop me a line and I'll be only too happy.
< |
Need help with your Snitz ? Most Snitz & ASP custom coding undertaken. Email for info | Search Engine Optimisation |
Edited by - endomorph on 01 September 2007 08:45:32 |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
endomorph
Junior Member
United Kingdom
128 Posts |
Posted - 02 September 2007 : 03:44:38
|
No, but nothing will. That has to be done manually. I have never had a problem really with manual SPAM, only bots< |
Need help with your Snitz ? Most Snitz & ASP custom coding undertaken. Email for info | Search Engine Optimisation |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
endomorph
Junior Member
United Kingdom
128 Posts |
Posted - 13 September 2007 : 16:31:01
|
To stop SPAM bots< |
Need help with your Snitz ? Most Snitz & ASP custom coding undertaken. Email for info | Search Engine Optimisation |
|
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 13 September 2007 : 17:12:08
|
But if a spam bot isn't a registered user, they can't register/post anyway... and if they are a registered user, they've already gotten past the CAPTCHA, which would indicate a bigger problem.< |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
earlabs
Starting Member
Netherlands
5 Posts |
Posted - 22 September 2007 : 12:06:50
|
hi Podge
am in the process of implementing the captcha, which would be great if it worked... A snag I found. In pop_mail.asp you tell me to replace if YEmail <> "" then Response.Write(YEmail) et cetera with something else. However: in my pop_mail.asp (version 3.4.06) there is no such line . There are only if YEmail = "" lines. So, what do I do?
Cheers JS< |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
earlabs
Starting Member
Netherlands
5 Posts |
Posted - 25 September 2007 : 16:16:59
|
Well, that's interesting news. Perhaps you should edit your original post accordingly?< |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
earlabs
Starting Member
Netherlands
5 Posts |
Posted - 26 September 2007 : 05:56:42
|
You're a darling.< |
|
|
Topic |
|