Note: You must be registered in order to post a reply. To register, click here. Registration is FREE! Before posting, make sure you have read this topic!
T O P I C R E V I E W
ederon
Posted - 21 April 2008 : 21:37:46 Hello there, I've been using Snitz forum for about 3 years now and it has been great so far.
I have a question thou: As you may probably know, recently there has been a TON of spam bots around many forums including Snitz based forums everywhere. Right now I have at least 10 posts a day from completely random spammers. I really don't know if they are using some sort of security failure or actually using some advanced program that actually confirm their address (as I read on AnonJr's post about spammers). The bottom line is, even thou I followed all the instructions on how to prevent these spammers, I still would like to enforce this. I currently have a paid ASP Image Verification component and I would like to add it to my registration.asp, but the code is a bit too confusing to simply manually add it, so I'm kinda scared of messing that page up. Is there any way or hint or place I can add that code? It is a simple 2 line input on both form page and validation page.
<moved from="Help: General / Current Version (v3.4.xx)" by="Shaggy" /><
6 L A T E S T R E P L I E S (Newest First)
HuwR
Posted - 23 April 2008 : 07:09:12 And there is already a CAPTHCA Mod in existence for Snitz, but they are not usability compliant or even as secure as you think <
HuwR
Posted - 23 April 2008 : 07:08:02 version 05 has some security issues, so even if you haven't upgraded you should ENSURE you have all the current security patches installed.<
ederon
Posted - 22 April 2008 : 23:25:15 Thanks phy1729 :) I got it working now :) Unfortunately since I'm still on version 3.4.05 things are not exactly in those lines, but not to worry, I managed to find them by your code hints and updated just fine :) The reason I haven't updated my forum yet is because I'm terrified of losing any random data I've added in the code such as some includes and color managements, and besides, version .05 is working great so far :) Here is how the image verification code looks on the registration form. I think it would be great if someone make a mod about it to help each other out. Unfortunately I can't do that since my component is paid :D http://www.ederon.com/forum/policy.asp<
phy1729
Posted - 22 April 2008 : 17:13:03 register.asp line 384
elseif strMinAge > 0 and strMAge < strMinAge then
Err_Msg = Err_Msg & "<li>You must be at least " & strMinAge & " years old to join this forum.</li>"
end if
end if
Set Obj = Server.CreateObject("nonnoi_ASPVerify.ASPVerify")
strVerify = request("strVerify")
if not Obj.isVerified(strVerify) then
Err_Msg = Err_Msg & "<li>You must enter the correct letters.</li>"
End If
if Err_Msg = "" then
if Trim(Request.Form("Homepage")) <> "" and lcase(trim(Request.Form("Homepage"))) <> "http://" and Trim(lcase(Request.Form("Homepage"))) <> "https://" and lcase(Request.Form("Homepage")) <> "file:///" then
regHomepage = ChkString(Request.Form("Homepage"),"SQLString")
I changed the validation code to fit the format. If you had a diffrent layout in mind, please post in more detail.
Edit: Add the code in red. Forgot to tell you that.<
ederon
Posted - 22 April 2008 : 11:24:04 sorry about that phy1729.
Here is what I need to insert: <p>Please read the text in the image and type that text into the box below:</p> <p><img src="../include/imagev.asp" /></p> <input name="strVerify" type="text" value="" class="ibuttongrey" size="35">
And I want to insert right below this: "Signature checkbox checked by default?:" (AKA the last field in the registration form)
And in the validation/submit page this code can be around the field tests: <% Set Obj = Server.CreateObject("nonnoi_ASPVerify.ASPVerify") strVerify = request("strVerify") if not Obj.isVerified(strVerify) then errorMsg = true End If %> Notice that I have "errorMsg" variable as an example. I don't know how Snitz forum handles the field verification, but it can probably be around the other confirmations (such as username taken, email taken)<
phy1729
Posted - 21 April 2008 : 22:01:36 If you post the line you need to insert and where on the registration page you would like the image, we would be happy to help.<