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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Captcha MOD
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

kolucoms6
Average Member

845 Posts

Posted - 15 February 2008 :  08:43:10  Show Profile
If we look at the code of Readme.txt and HTML file , in zip file of CAPTCH MOD ,

there are differences in it.

When I used HTML file code it gave me many errors.

When I tried Text file code, somewhat it worked out.

Still, I am getting error :


Microsoft VBScript compilation error '800a03f6'

Expected 'End'

/forum/post.asp, line 1713

Podge
Support Moderator

Ireland
3775 Posts

Posted - 15 February 2008 :  09:43:37  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Can you post a text version of post.asp ?

The Captcha mod was for v 3.4.05 so it may need a little tweaking in order to get it to work with an earlier or newer version.

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

kolucoms6
Average Member

845 Posts

Posted - 15 February 2008 :  10:01:42  Show Profile


http://m.domaindlx.com/cpharma/post.txt
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 15 February 2008 :  11:59:32  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
As far as I can tell you accidentally deleted two end if's when you inserted the captcha code.

At line 644 add

	end if
end if
The whole section should look like this (with the red end if's added)

	'CAPTCHA Mod
	if strLinkSpamCaptcha = 1 then
	captcha = generateCode()
	Session("Snitz.captcha") = captcha 'Store the code in a Session Object
		Response.Write 	"              <tr>" & vbNewLine & _
				"				 <td bgColor=""" & strPopUpTableColor & """ noWrap vAlign=""top"" align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>Anti-Spam Code:</b></font></td>" & vbNewLine & _
				"                <td bgColor=""" & strPopUpTableColor & """ valign=""top""><a href=""#""><acronym title=""Please enter the four letter code in the box below. Click to reload the image.""><img src = ""captcha.asp?c=" & SHA256(captcha) & """ border=""0"" onClick=""window.location.reload()""></acronym></a><br /><input name=""captcha"" maxLength=""25"" size=""25"" type=""text"" value=""""></td>" & vbNewLine & _
				"              </tr>" & vbNewLine
	else
	Session("Snitz.captcha") = ""
	end if
	'Captcha Mod
	end if
end if

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

Podge
Support Moderator

Ireland
3775 Posts

Posted - 18 February 2008 :  11:16:00  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Did it work ?

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

kolucoms6
Average Member

845 Posts

Posted - 18 February 2008 :  15:37:01  Show Profile
Worked..

Thna a lot :-)
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 18 February 2008 :  15:39:05  Show Profile
Even after Catcha Mod, I am still getting BOT signing up ??
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 18 February 2008 :  17:30:36  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Enable Email Validation in your admin area. Can you email me a link to the forum where you installed it and I will check to ensure its installed correctly.

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

kolucoms6
Average Member

845 Posts

Posted - 18 February 2008 :  19:17:07  Show Profile
Email Validation is ON.

So, many BOTS are still pending ;)

www.ulcindia.com/forum

Go to Top of Page

Hermes
Junior Member

Croatia
113 Posts

Posted - 18 February 2008 :  20:17:03  Show Profile
No something is not correct with that captcha on register.asp
I just registered without entering captcha letters. I leaved that field blank.

Kolucoms please delete account rrr from your pending member table.


ASP Snitz Forum Upute za instalaciju
http://www.kairos.com.hr http://www.hermetizam.com Forum

not so newbie any more :)
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 19 February 2008 :  09:08:56  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Have you added this code to register.asp?

##############################
register.asp
##############################
Around line 208 find the following lines
------------------------------
		if strAutoLogon <> 1 then
			if trim(Request.Form("Name")) = "" then
				Err_Msg = Err_Msg & "<li>You must choose a UserName</li>"
			end if
			if Len(trim(Request.Form("Name"))) < 3 then
				Err_Msg = Err_Msg & "<li>Your UserName must be at least <strong>3</strong> characters long</li>"
			end if
		end if
------------------------------
After them add 
------------------------------
		'CAPTCHA Mod
		if strRegisterCaptcha = 1 then
			Dim strUsersInput
				strUsersInput= Request.Form("captcha")
					If Session("Snitz.captcha") <> "" then
						If UCase(strUsersInput) <> UCase(Session("Snitz.captcha")) then
							Err_Msg = Err_Msg & "<li>You entered the wrong Anti SPAM confirmation code !</li>"
						End if
					End IF
		End if
		Session.Contents.Remove("Snitz.captcha")
		'CAPTCHA Mod
------------------------------


If it still doesn't work, post a text version of register.asp

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

kolucoms6
Average Member

845 Posts

Posted - 19 February 2008 :  14:59:28  Show Profile
http://www.ulcindia.com/forum/register.txt

Edited by - kolucoms6 on 19 February 2008 15:07:35
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 19 February 2008 :  15:11:02  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
So you hadn't made the change to register.asp but you have now and it works.

All of your problems were because you didn't take your time and didn't make the required changes.

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

kolucoms6
Average Member

845 Posts

Posted - 19 February 2008 :  18:12:23  Show Profile
I made the changes but it didnt work.
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 19 February 2008 :  18:14:57  Show Profile
HTML file has :
*************************

quote:

'CAPTCHA Mod
if strRegisterCaptcha = 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




Test file :
***********************

quote:

'CAPTCHA Mod
if strRegisterCaptcha = 1 then
Dim strUsersInput
strUsersInput= Request.Form("captcha")
If Session("Snitz.captcha") <> "" then
If UCase(strUsersInput) <> UCase(Session("Snitz.captcha")) then
Err_Msg = Err_Msg & "<li>You entered the wrong Anti SPAM confirmation code !</li>"
End if
End IF
End if
Session.Contents.Remove("Snitz.captcha")
'CAPTCHA Mod





So, its CONFUSING.

Kindly update the zip file and uplaod a new one.

captcha_-_anti_spam-34-1.zip


Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 29 February 2008 :  08:18:24  Show Profile

My forum is down and noone can post :-(

Everytime anyone tried to post , Enter Confirmation Code.

Podge, Can you help me ?

I can send you the text version of asp file.
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07