Jump to content


* * * * * 1 votes

(IM) Login Captcha v1.2


  • Please log in to reply
19 replies to this topic

#1 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 09 May 2009 - 04:54 PM

Posted Image

File Name: (IM) Login Captcha v1.2
File Submitter: m4rtin
File Submitted: 9 May 2009
File Updated: 13 May 2009
File Category: IP.Board v2.3.x Mods

File Information
Resource Type: Modification
Version: 1.2 (10020)
Compatibility: IP.Board 2.3.6


Description
Login Captcha is a modification that shows the captcha during log in, for members with X amount of posts, or less. As long as this modification is enabled, it will show the captcha regardless of the global antispam setting.


Release notes:
  • 1.2
    • Users with IP.Converge, or other non-internal login methods, got an IPS Driver Error after login
  • 1.1
    • Fixed an issue where the settings were hidden

  • Follow the instructions in Upgrade.html

Click here to download this file

#2 NuclearGeneral

NuclearGeneral

    Advanced Member

  • Modders
  • PipPipPipPip
  • 77 posts
  • Real Name:Donald
  • IPB Version:v3.0.x
Contributor

Posted 12 May 2009 - 01:46 AM

Where do you go in the ACP to edit the settings? I don't see anything anywhere for it. Also, I get an IPS Driver Error after logging in.

EDIT: Also, wouldn't it make better sense to put the reCaptcha on the same page as the login credentials instead of redirecting to the reCaptcha? And minimum X posts would be kinda stupid imo, b/c if that person has a bot and just gets the right amount of posts required, he could just give the bot the login credentials and bypass the reCaptcha.

Edited by NuclearGeneral, 12 May 2009 - 02:02 AM.


#3 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 12 May 2009 - 09:57 AM

Turns out the settings were hidden, for some odd reason. Fixed that.
Can you follow this tutorial to figure out what kind of error you're getting? I can't see why you should get it, other than a faulty file edit.

Putting the captcha on the same page would be preferred, but that makes it impossible to hide it for the protected groups, and members with lots of posts.
Using a post limit before hiding it may close out some bots, as they don't suspect there to be a captcha there, and thus aren't designed to crack it/pass it on to human crackers. At the moment there are no way to disable it, but enter an extremely high number instead.

#4 MichaelJohn

MichaelJohn

    Programmer

  • Modders
  • PipPipPipPipPipPip
  • 478 posts
  • Location:Australia
  • Real Name:Michael
  • IPB Version:v3.1.x
Contributor

Posted 12 May 2009 - 10:28 AM

The number of posts required can be per group setup?

Keep up to date with DevFuse mod development and releases.

Posted Image Posted Image Posted Image Posted Image Posted Image


#5 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 12 May 2009 - 10:37 AM

At the moment it's a global setting for all non-protected groups. Doing this on a per-group basis would require a lot more code, either a component to deal with it, or an edit to the groups manager.

#6 NuclearGeneral

NuclearGeneral

    Advanced Member

  • Modders
  • PipPipPipPip
  • 77 posts
  • Real Name:Donald
  • IPB Version:v3.0.x
Contributor

Posted 12 May 2009 - 07:53 PM

The IPS Driver Error that I received:

===================================================
 Date: Mon, 11 May 2009 20:47:45 -0500
 Error Number: 1064
 Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
 IP Address: ***.***.***.***
 Page: /demo/devipb/index.php?act=Login&CODE=aftercaptcha
 mySQL query error: UPDATE ibf_members SET member_login_key='360c0928669724979',member_login_key_expire=1242697665 WHERE id=
===================================================

EDIT: Just redownloaded the new version, the settings show up, but I still get the IPS Driver Error. And theres only 3 file edits, and in the right place.

I'm Also doing it a fresh install of IPB 2.3.6. Heres my login.php file.

Edited by m4rtin, 12 May 2009 - 09:10 PM.
Redistributing IP.Board files are not allowed


#7 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 12 May 2009 - 09:49 PM

Ah! You're using IP.Converge, didn't test with that.

Give this a try
Open ./sources/action_public/login.php
Find:
$member['username'] = $username;
				$member['password'] = $password;
Replace with:
$member['username'] = $username;
				$member['password'] = $this->ipsclass->input['PassWord'];

Let me know if that works out for you.

#8 NuclearGeneral

NuclearGeneral

    Advanced Member

  • Modders
  • PipPipPipPip
  • 77 posts
  • Real Name:Donald
  • IPB Version:v3.0.x
Contributor

Posted 12 May 2009 - 10:22 PM

Thanks, works perfect now.

#9 djp

djp

    n00b

  • Banned
  • Pip
  • 1 posts
  • IPB Version:v2.3.x

Posted 21 June 2009 - 04:55 AM

mod dont work..

#10 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 21 June 2009 - 12:11 PM

And can you care to elaborate?
Does it not show? Is the captcha itself missing from the form? Do you get an error? Have to checked the settings?

#11 xmobile

xmobile

    Advanced Member

  • Members
  • PipPipPipPip
  • 86 posts
  • Real Name:Miro Vodkca
  • IPB Version:v3.0.x

Posted 07 August 2009 - 10:06 AM

Fatal error: Call to undefined method class_captcha::getTemplate() in sources/action_public/login.php on line 1013

#12 NikB

NikB

    n00b

  • Members
  • Pip
  • 2 posts
  • Real Name:Nik Bowdler
  • IPB Version:v2.3.x

Posted 03 March 2011 - 11:20 AM

I'm using IPB V2.3.5 and do not see the Captcha page after login.

Also I do not see any settings in the ACP -> Manage Mod Installations list

I am using a custom skin - would this affect it?

Can you explain how it works (which files are updated) so I can check the code updated?

Edited by NikB, 03 March 2011 - 11:23 AM.


#13 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 05 March 2011 - 11:05 AM

View PostNikB, on 03 March 2011 - 11:20 AM, said:

I'm using IPB V2.3.5 and do not see the Captcha page after login.

Also I do not see any settings in the ACP -> Manage Mod Installations list

I am using a custom skin - would this affect it?

Can you explain how it works (which files are updated) so I can check the code updated?

Quote

File Information
Resource Type: Modification
Version: 1.2 (10020)
Compatibility: IP.Board 2.3.6


#14 Bakuda

Bakuda

    n00b

  • Members
  • Pip
  • 1 posts
  • IPB Version:v2.3.x

Posted 05 March 2011 - 09:27 PM

I appreciate your work on this mod...it's just what I'm looking for.  The only problem is that the settings are hidden once the mod is installed.  I installed v1.2 and I'm running on IPB 2.3.6.  I tried changing the code on ./sources/action_public/login.php as you suggested earlier but the code I was supposed to replace wasn't found on that file.  Any advise you could offer would be greatly appreciated.

EDIT:  Forgive me...I have figured it out.  Please disregard this post.

Edited by Bakuda, 06 March 2011 - 02:20 AM.


#15 gtman55

gtman55

    Member

  • IM Supporters
  • PipPipPip
  • 25 posts
  • IPB Version:N/A

Posted 06 March 2011 - 01:49 AM

View Postxmobile, on 07 August 2009 - 10:06 AM, said:

Fatal error: Call to undefined method class_captcha::getTemplate() in sources/action_public/login.php on line 1013
I'm getting this same error. All edits are correct.

#16 sniperking

sniperking

    Novice

  • Members
  • PipPip
  • 9 posts
  • Real Name:Seko
  • IPB Version:v3.3.x

Posted 04 April 2011 - 08:07 PM

cant find the codes too on that source :( please someone help me. Im using the version 2.3.6 and installed the mod i can see the settings etc but the capcha dosnt work!

edit: i have also installed ip converge too!

Edited by sniperking, 04 April 2011 - 08:08 PM.


#17 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 06 April 2011 - 03:02 PM

View Postsniperking, on 04 April 2011 - 08:07 PM, said:

cant find the codes too on that source :( please someone help me. Im using the version 2.3.6 and installed the mod i can see the settings etc but the capcha dosnt work!

edit: i have also installed ip converge too!
You're not finding the codes in the readme file? Do a narrower search, only search for parts of the code in the "Find" block, and you should find the rest of the code around the result.
I.e, instead of searching for this:
//-----------------------------------------
		// Is this a partial member?
		// Not completed their sign in?
		//-----------------------------------------
Search for this instead:
// Is this a partial member?


#18 sniperking

sniperking

    Novice

  • Members
  • PipPip
  • 9 posts
  • Real Name:Seko
  • IPB Version:v3.3.x

Posted 07 April 2011 - 06:35 PM

View PostMartin, on 06 April 2011 - 03:02 PM, said:

View Postsniperking, on 04 April 2011 - 08:07 PM, said:

cant find the codes too on that source :( please someone help me. Im using the version 2.3.6 and installed the mod i can see the settings etc but the capcha dosnt work!

edit: i have also installed ip converge too!
You're not finding the codes in the readme file? Do a narrower search, only search for parts of the code in the "Find" block, and you should find the rest of the code around the result.
I.e, instead of searching for this:
//-----------------------------------------
		// Is this a partial member?
		// Not completed their sign in?
		//-----------------------------------------
Search for this instead:
// Is this a partial member?

Hello Martin,

i mean these codes! in the (/sources/action_public/login.php) i made everything right but the login capcha dosnt work for me :(
$member['username'] = $username;
								$member['password'] = $password;

your help is much appreciated!

#19 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 07 April 2011 - 06:51 PM

Where did you get those from? They're not in the ReadMe.


EDIT: I see. That's in the "Upgrade.html" file, don't follow that unless you're upgrading from 1.0 or 1.1. For fresh installations, follow the instructions in ReadMe.html.

#20 sniperking

sniperking

    Novice

  • Members
  • PipPip
  • 9 posts
  • Real Name:Seko
  • IPB Version:v3.3.x

Posted 07 April 2011 - 07:16 PM

i got it thanks a lot Martin!  :wub:




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users