Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 CAPTCHA Anti spam v1
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 4

Skyhigh
Starting Member

USA
4 Posts

Posted - 20 April 2007 :  13:06:18  Show Profile  Visit Skyhigh's Homepage  Send Skyhigh an ICQ Message  Reply with Quote
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
Go to Top of Page

Skyhigh
Starting Member

USA
4 Posts

Posted - 20 April 2007 :  13:13:40  Show Profile  Visit Skyhigh's Homepage  Send Skyhigh an ICQ Message  Reply with Quote
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
Go to Top of Page

endomorph
Junior Member

United Kingdom
128 Posts

Posted - 01 September 2007 :  07:45:01  Show Profile  Reply with Quote
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
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 01 September 2007 :  13:39:36  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
A captcha won't stop logged in users who want to spam your forum.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

endomorph
Junior Member

United Kingdom
128 Posts

Posted - 02 September 2007 :  03:44:38  Show Profile  Reply with Quote
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
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 02 September 2007 :  13:36:45  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
I don't see the point in having a captcha for logged in users then.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

endomorph
Junior Member

United Kingdom
128 Posts

Posted - 13 September 2007 :  16:31:01  Show Profile  Reply with Quote
To stop SPAM bots<

Need help with your Snitz ? Most Snitz & ASP custom coding undertaken. Email for info | Search Engine Optimisation
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 13 September 2007 :  17:12:08  Show Profile  Visit AnonJr's Homepage  Reply with Quote
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.<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 14 September 2007 :  07:58:15  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
quote:
To stop SPAM bots
Spam bots won't be logged in and have to do a HTTP POST directly to post_info.asp. Having a captcha where you've included them e.g. quick reply, is just making your users enter the captcha and not preventing bots.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

earlabs
Starting Member

Netherlands
5 Posts

Posted - 22 September 2007 :  12:06:50  Show Profile  Reply with Quote
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<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 25 September 2007 :  08:27:36  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
The captcha mod was for version 3.4.05.

For accessability reasons I don't intend to update it. Please use the Gatekeeper mod instead.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

earlabs
Starting Member

Netherlands
5 Posts

Posted - 25 September 2007 :  16:16:59  Show Profile  Reply with Quote
Well, that's interesting news. Perhaps you should edit your original post accordingly?<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 25 September 2007 :  18:15:37  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
The download page at SnitzBitz has shown that for some time but I have updated the original topic.

They are more or less the same changes as applied to pop_mail.asp for the Gatekeeper mod. If I get a chance I will post a fix tomorrow.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

earlabs
Starting Member

Netherlands
5 Posts

Posted - 26 September 2007 :  05:56:42  Show Profile  Reply with Quote
You're a darling.<
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07