antispam Captcha mod - نوشته شده در (2632 Views)
Junior Member
phoenixtaz13
مطلب: 129
129
hello... good day to all.... :)

i've installed antispam captcha mod... so far its working well...
i'd like to put it also in search engine, how do i do that?.... and how can i adjust the image, to control the distortion... sometimes its hard to read it....
thanks in advance...

<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Forum Admin
HuwR
مطلب: 20611
20611
why would you want an anti-spam control on the search page, it is not possible to spam anything from the search page<
نوشته شده در
Support Moderator
Podge
مطلب: 3776
3776
If you want to make the letters more readable you need to open captcha.asp and make alterations there.
sub Lines draws random lines across the image
sub Circles draws random circles across the image
sub drawcode() draws the letters using different colours and random x & y offsets
sub Grid (colour) draws a grid across the image

These subs are called in different orders randomly to produce different effects i.e.
Code:
captchaType = int(rnd(1)*4)+1

select case captchaType

case "1"
Lines
drawcode
circles
case "2"
drawcode
Grid 0
case "3"
drawcode
Grid 1
case "4"
drawcode
lines
Grid 0
end select

You could add another case at the end that would just draw the code without any obfuscation (lines, circles or grids across the image) and always call it

Code:
captchaType = 5

select case captchaType

case "1"
Lines
drawcode
circles
case "2"
drawcode
Grid 0
case "3"
drawcode
Grid 1
case "4"
drawcode
lines
Grid 0
case "5"
drawcode
end select

You're better off to use Gatekeeper in my opinion.
Edit: I agree with HuwR about the search page. A better option might be to restrict searching to members only<
نوشته شده در
Junior Member
phoenixtaz13
مطلب: 129
129
thanks guys.... i'll work on the captcha.... :)

i saw in some forum in the search area it has captcha... i thought it would be great if i have it also.... :)

btw, what does a gatekeeper do?... how does it work?...
thanks for the time.... :)
<
نوشته شده در
Forum Admin
HuwR
مطلب: 20611
20611
just because someone else has something does not necesarily mean it is a good or even useful thing to have. Tools are useful when used for the purpose they were designed for, having an antispam tool on a page that can not be spammed is just going to annoy the hell out of your members.
Gatekeeper is an antispam MOD that works in the same way as a CAPTCHA but without the visual difficulties associated with an image based CAPTCHA<
نوشته شده در
Senior Member
bobby131313
مطلب: 1163
1163
DOS attacks on forums usually hit the search page hard since it generates a lot of resource usage. I would do it in a heartbeat if I had that problem, but not just for the sake of doing it.<
نوشته شده در
Junior Member
phoenixtaz13
مطلب: 129
129
thanks huwr.... :)

point taken.... :)

wich is better, gatekeeper or captcha?....

im sorry for the dumb question, im a newbie... despite of my learning disability i'm trying my best to learn.... :)

thanks for ur time... appreciate it very much.... :)

<
نوشته شده در
Support Moderator
Podge
مطلب: 3776
3776
Gatekeeper is better in my opinion as it can be read by Screen Readers i.e. visually impaired people can use them.<
نوشته شده در
Junior Member
phoenixtaz13
مطلب: 129
129
bobby... :)

how does a dos attack function?.... how do i prevent dos attack?.... in my previous post, i encountered a bot, and it stayed in the search page, if i remember it correctly, about 380 mins.... and since i saw the captcha in other forum search page, with my poor knowledge in programming i thought that was the purpose of it...
and now i know what is what, thanks to huwr... :)
anymore advices or suggestions?....
thanks for ur time.... :)
<
نوشته شده در
Senior Member
bobby131313
مطلب: 1163
1163
Well you really need to have some enemies before it's likely to happen to you. wink
It's automated attacks designed to slow or bring down your server. Forums are hit on the search page usually because it's the most server intensive spot. Captcha would thwart a robot. But as I said, if you don't have that problem all your likely to do is inconvenience your users.
I hang out on some forums that expose internet bad guys that get attempted DOS attacks on thier forums frequently, so they have Captcha on just about everything.... and it works.<
نوشته شده در
Forum Admin
HuwR
مطلب: 20611
20611
how do i prevent dos attack?....
prevent non members from accessing the search page, better to prevent them completely than piss off your users, or if you want search exposed then only use a CAPTCHA for NON members<
شما باید یک متن وارد کنید