News:

Wondering if this will always be free?  See why free is better.

Main Menu

CAPTCHA (Code Verification)

Started by Daniel15, February 11, 2006, 03:57:53 PM

Previous topic - Next topic

hillrunr

A little more about the issue I'm having.

I've been looking at the code modifications for the CAPTCHA mod to work. I found the code to verify the captcha entry in the registration and assured that the corresponding code for guest posts (below, copy/pasted from the Sources/Post.php file) is in place. Does anyone have any thoughts on why it seems as though there is no verification of what the user enters during guest posting? I thought the code below would do so but it doesn't seem to be doing so.

Thanks again

//Begin CAPTCHA Mod 0.1.1
//Check if the CAPTCHA was entered properly...
global $boarddir;
require_once("$boarddir/captcha/captcha.php");

if ($user_info['is_guest']) {
switch($context['captchaObj']->validate_submit()) {
//Entered incorrectly!
case 2:
$post_errors[] = 'captcha_wrong';
case 3:
$post_errors[] = 'captcha_wrong';
}
}

//End CAPTCHA Mod

Martje

I have the Captcha code installed and now if you register or make a post as a guest you have to fill in the code but ......... I still got spam!, and it looks like  a machine is spamming , anyone here ever encounteredthe same thing? if not , it must be a manual spammer :( but that would be wierd .....well you never know what people what people do. :-\

Daniel15

Quotebut ......... I still got spam!
Yeah, I got some spam in Chinese. But, it appears to be an actual manual spammer. They appeared to browse around my site (a flash site), view a few topics, and reply to only two topics.

Also, I'd suggest to clear out your error logs once in a while. I just checked mine, and I have 20 pages of "Sorry, you didn't enter the correct code. You must go back, refresh the page, and enter the new code!" from bots trying to use the Register page :P
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

thebeing

i downloaded the package (the zip file) and when i try to install it... it says :
You cannot download or install new packages because the Packages directory or one of the files in it are not writable!

although i've chmoded'em to 777... any suggestions, please?

must i unzip the archive, and, if so, where?

thnx a lot.

stevross

I have uploaded the archive in the PACKAGES folder.
After installation if I try to make a new signup, server return registration like a blank page.
I'm using 1.1RC2
Any idea?

look here

Harzem

Tell your host to install "GD library" and "FreeType support", which will absolutely fix your problem.

If you have WebHostManager root access, you can "Build Apache" with these options enabled.

stevross

#66
Quote from: HarzeM on June 06, 2006, 08:26:45 AM
Tell your host to install "GD library" and "FreeType support", which will absolutely fix your problem.

If you have WebHostManager root access, you can "Build Apache" with these options enabled.

now it's ok?



There's another problem: in the signup page, I don't see no one image. Look


tarkhorani

i added a quick register form to a test forum you can see it on top of this forum:

http://www.4oosh.com/sm3/

can you give me a text so I add to it and integrate with code verification on quick register form?

this is codes for this quick register:

if( $context['user']['is_guest'] )
{
echo '<br><strong>Quick Register:</strong><br />
<form action="', $scripturl, '?action=register2" method="post" style="margin: 3px 1px 1px 0; text-align:left;">
Username: <input type="text" name="user" size="10" /> Password: <input type="password" name="passwrd1" size="10" /> Confirm Password: <input type="password" name="passwrd2" size="10" /> Email: <input name="email" size="10" type="text" /><input name="regagree" type="hidden" value="checked" />
<input type="submit" value="Register" />
';
}



Quick Register:

Username:  Password:  Confirm Password:  Email:   
Get a Free SMForum on http://www.myboards.com (Ver 1.1.1)



floris

Quote from: hillrunr on May 23, 2006, 03:48:22 PM
However, when posting as a guest, not a single thing happens if I try to post without even entering anything for the captcha. My message is posted with no errors occurring.

I have the same problem.
I've tried to find why it doesn't work, but I couldn't find it either...
hxxp:forum.virtuworld.net/?language=english [nonactive]

hxxp:maze.virtuworld.net [nonactive]

7wheels

Hi, I'm a real newbie to SMF and can't figure how to 'post'. so I'm using 'reply' -  If I'm making big mistake, I'm really sorry.

I just installed Captcha, seems it's working fine but I want to change the line shown at registration, under the generated image.

It goes
'You must read and type...'

I figured the txt is in modification.english.php file and changed that part as I wanted (instead of 'you must' - i want to
say 'please read'...)...

but that change didn't get reflected. I still have same 'You must read and type' - I downloaded assumingly all relevant folders and using search function but can't find where else ' txt [CaptchaReadAndType] might be stored, and can't figure the explanation why my alteration gets override by original txt.

TamOShanter

Hello, thanks for the mod.

Will you please list here the directories and files for which the mod must have write access to install?

I am installing the mod via the package manager on version 1.0.7. The first 7 steps are ok, but step 8 (8. Execute Code installScript.php) does not seem to work.

At the bottom of the screen, I am asked for a ftp login and password. As I don't have ftp installed on the server, this won't work. So, a listing of the files and directories that need write access would be good, so I can manually grant write access.

Thanks,

Kevin / TamOShanter

taucher

I´ve also a problem installing Captcha
I use SMF 1.1. RC2 - when i want to install the modification i have to enter the ftp-login.
SMF ist installad in the root folder

When i enter the ftp-login i geht the following error:

501 Invalid number of arguments.

Somebody has a solution?

Gobo

is this mod suitable for use with SMF 1.1rc2 + TP 0.86 ?

thanks

Harzem

Quote from: akulion on June 28, 2006, 12:20:40 PM
is this mod suitable for use with SMF 1.1rc2 + TP 0.86 ?

thanks

Exactly.

Gobo

Quote from: HarzeM on June 28, 2006, 12:21:30 PM
Quote from: akulion on June 28, 2006, 12:20:40 PM
is this mod suitable for use with SMF 1.1rc2 + TP 0.86 ?

thanks

Exactly.

hey bro :D whats up :D

exactly safe to use or unsafe? :D

Harzem

#75
Fine here ;) Hope so you are :)

The mod seems to be safe, but actually I don't like the way of background distortion. But it works fine. Don't forget to check the registration page after you install the mod. Because on some hosts, it may give you a blank screen due to misconfiguration.

If you ask me, I use (a modified version of) this mod on my sites ;)

Gobo

nice to see u again :D

I think they should built this into SMF by default along with a reffer feild as well like they have in vB and IPB

Dont u think?

Harzem

captcha will be a standard feature in the very next release. I have no idea about the referral field :)

Gobo

Next release = 1.0 final yes?

Its good to know it will be there by default :)

Daniel15

Quotecaptcha will be a standard feature in the very next release
Really? That's quite nice to know :D The SMF implementation would proably be a lot better than mine (I didn't even design this MOD for public release, but people kept asking me about it :P)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Advertisement: