outside use of phpBB captcha system.

Discussion forum for MOD Writers regarding MOD Development.
Locked
Green Light
Registered User
Posts: 224
Joined: Fri Jan 16, 2009 10:10 pm

outside use of phpBB captcha system.

Post by Green Light »

Hi,
I would like to use the captcha system that phpBB has for a contact form outside of phpBB.
How would I go about doing this?
Thanks :mrgreen:

User avatar
otsegolectric
Registered User
Posts: 5
Joined: Wed Apr 22, 2009 7:24 am

Re: outside use of phpBB captcha system.

Post by otsegolectric »

Download Captcha or somehow include the phpbb's.
I can't believe you've done this.

User avatar
..::House::..
Registered User
Posts: 212
Joined: Tue Jul 22, 2008 3:52 am

Re: outside use of phpBB captcha system.

Post by ..::House::.. »

I would like to know this as well.
Any idea's guys?
GoogleSupport Request GeneratorNo Support via PMFirefox Download

User avatar
Nelsaidi
Registered User
Posts: 525
Joined: Mon Feb 11, 2008 1:59 pm
Location: London, UK
Contact:

Re: outside use of phpBB captcha system.

Post by Nelsaidi »

otsegolectric wrote:Download Captcha or somehow include the phpbb's.
Which is what he is asking to do ...

I'd like to know but not too sure.
Image
Click here to find out what eRepublik is.

Desdenova
Registered User
Posts: 646
Joined: Sat Feb 23, 2008 7:25 pm

Re: outside use of phpBB captcha system.

Post by Desdenova »

Green Light wrote:Hi,
I would like to use the captcha system that phpBB has for a contact form outside of phpBB.
How would I go about doing this?
Thanks :mrgreen:
If you're still within the phpBB codebase, but not inside of the actual forum (like a PHP page you've created that runs using phpBB) then you may want to look at the phpbb_confirm_handler class from phpBBModders.net, here.

Note: It's using PHP5 OOP, so that restricts you to only running it on PHP 5 and newer.

User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: outside use of phpBB captcha system.

Post by EXreaction »

Check the handle_captcha function in http://userblogmod.googlecode.com/svn/t ... osting.php

A few things need quick modification, like the top section:

Code: Select all

	if ($user->data['user_id'] != ANONYMOUS || !$config['user_blog_guest_captcha'])
	{
		return true;
	}

	blog_plugins::plugin_do_arg('function_handle_captcha', $mode);
But it's basically all ready to be used and pretty simple.

pumpkinkid
Registered User
Posts: 91
Joined: Wed Oct 31, 2007 3:36 am

Re: outside use of phpBB captcha system.

Post by pumpkinkid »

If you are trying to use it to validate an outside form, why not just use any of the captchas available online? I personally hate the phpBB default one and switched it with reCaptcha. I have also used reCaptcha for various other forms and sites I have needed to protect from spam bots (Works really well).

There is also one from microsoft that asks you to identify cats in images of pets...

Locked

Return to “[3.0.x] MOD Writers Discussion”

cron