Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2011-07-16 15:37:19

gnat
Member
Registered: 2011-07-15
Posts: 13
Website

[MOD] reCaptcha Anti Spam

A very simple way to add the awesome reCaptcha anti spam to your FluxBB registration form! This is simply a must-have to prevent spam.

https://fluxbb.org/resources/mods/recap … anti-spam/

Just implemented this on one of my in-dev sites. Thought many of you would find it useful!

Remember to create an account and get your Private/Public API key at: http://www.google.com/recaptcha

If you do not use your own keys, this mod will of course not work.

Here's a screenshot:
uxpnj.png

Last edited by gnat (2011-07-16 21:36:45)

Offline

#2 2011-07-16 22:25:31

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,721
Website

Re: [MOD] reCaptcha Anti Spam

Is this any different from this one? http://fluxbb.org/resources/mods/recaptcha/


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2011-07-16 23:02:28

gnat
Member
Registered: 2011-07-15
Posts: 13
Website

Re: [MOD] reCaptcha Anti Spam

This version is more lightweight, has a more simplified install process and foregoes the admin panel modification which is redundant for a captcha system.

Captchas are something one sets up once and then never touches again; no point in bloating up the admin panel for it.

Last edited by gnat (2011-07-16 23:21:32)

Offline

#4 2011-07-17 12:00:14

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,721
Website

Re: [MOD] reCaptcha Anti Spam

Cool. Might wanna mention that then wink

Thanks for contributing!


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#5 2011-07-22 16:39:11

AlexMax
Member
Registered: 2010-09-30
Posts: 6

Re: [MOD] reCaptcha Anti Spam

Thanks a lot for this.  Would there be any possibility of releasing a version of this mod that is compatible with Mod Installer?

Franz wrote:

Is this any different from this one? http://fluxbb.org/resources/mods/recaptcha/

I tried using this one on 1.4.5 + Postgres.  At first it seemed to patch in cleanly, but was unable to write any configuration options to the database, so I never actually got it to work.

Offline

#6 2011-08-11 17:25:07

kikloo
Member
Registered: 2008-08-16
Posts: 50

Re: [MOD] reCaptcha Anti Spam

Hi,

I got this error:

---
Input error: k: Format of site key was invalid
---

Though i have specified private key in register.php i still get the above error.

Any fix ?

Thanks.

Offline

#7 2011-08-12 07:56:17

The UnDisbeliever
Member
Registered: 2011-08-04
Posts: 11

Re: [MOD] reCaptcha Anti Spam

Thanks for a nice and simple captcha for FluxBB

As I'm on a tight schedule and needed captcha on guest posting, I've added support for posting replies/topics when the user is a guest.

Download: https://github.com/downloads/undisbelie … 1.1.10.zip
Repo: https://github.com/undisbeliever/Script … guest-post

Offline

#8 2011-09-11 18:00:08

rinaru
Member
Registered: 2011-09-11
Posts: 1

Re: [MOD] reCaptcha Anti Spam

kikloo wrote:

Hi,

I got this error:

---
Input error: k: Format of site key was invalid
---

Though i have specified private key in register.php i still get the above error.

Any fix ?

Thanks.

Hi everyone. I'm also getting the same error as kikloo. Could anyone help?

I've already gotten three spam bots join my forum and I just installed it last night, haven't even made it public yet.

Offline

#9 2011-09-12 06:54:10

untamed
Member
Registered: 2011-09-10
Posts: 5

Re: [MOD] reCaptcha Anti Spam

@kikloo & rinaru:

Have you entered both of your reCAPTCHA keys? From the readme.txt:

#
#---------[ 4. BEFORE, ADD ]-------------------------------------------------
#

	// Check reCaptcha
	// **** ENTER YOUR PRIVATE KEY BELOW FROM http://www.google.com/recaptcha ****
	
	require_once('recaptchalib.php');  
	$privatekey = "..."; // **** PRIVATE KEY ****

And

#
#---------[ 6. AFTER, ADD ]-------------------------------------------------
#
			
			
			<?php
			// Test reCaptcha
			// **** ENTER YOUR PUBLIC KEY BELOW FROM http://www.google.com/recaptcha ****
			?>
			
			<div class="inform">
				<fieldset>
					<legend>reCaptcha Test</legend>
					<div class="infldset">
						<?php  
						require_once('recaptchalib.php');//change path to where you placed the library  
						$publickey = '...'; // **** PUBLIC KEY ****

Last edited by untamed (2011-09-12 06:54:28)

Offline

#10 2011-10-06 22:01:58

ftiaronsem
Member
Registered: 2011-10-06
Posts: 1

Re: [MOD] reCaptcha Anti Spam

Thanks so much for this mod. You saved my day. Got problems installing the "not simple version", but your readme worked great. Thanks so much

Offline

#11 2011-10-07 00:56:25

Jack
Member
Registered: 2010-12-24
Posts: 485
Website

Re: [MOD] reCaptcha Anti Spam

I like too this mod. But it doesnt work with "guest posts" wink

J


Sorry I don't speak English smile
FluxBB Italy

Offline

#12 2011-11-26 16:09:20

joshcryer
Member
Registered: 2011-11-18
Posts: 3

Re: [MOD] reCaptcha Anti Spam

Just wanted to thank the modder for making this, very simple and straightforward, set it and forget it. smile

Offline

#13 2011-12-02 06:06:41

trichome
Member
Registered: 2008-05-22
Posts: 42

Re: [MOD] reCaptcha Anti Spam

Just installed. Fast and painless, I love mods like this!

Thanks gnat!!

Last edited by trichome (2011-12-02 06:07:14)

Offline

#14 2011-12-15 08:19:45

absolutego
Member
Registered: 2008-05-11
Posts: 5

Re: [MOD] reCaptcha Anti Spam

does this work for you guys? recaptcha, not the mod (the mod works fine).

i installed it yesterday, verified that it worked as expected, and 10 hours later i had four new spammers (the usual rate, more or less). i don't think they're registering manually, so i guess they can bypass recaptcha. i'll have to try another solution.

Last edited by absolutego (2011-12-15 08:20:25)

Offline

#15 2011-12-15 14:19:49

trichome
Member
Registered: 2008-05-22
Posts: 42

Re: [MOD] reCaptcha Anti Spam

I'm afraid I'm in the same boat as you, absolutego. At first I was assuming that it was just humans doing the registration portion, but after my experience here I'm a little unsure. The simple snippet nature of this mod is nice, so hopefully it can be confirmed or fixed.

It should be noted that even when working perfectly, this is not a complete anti-spam solution. If you haven't, look into this mod, as well as the one mentioned above (though it may not be ready for prime time yet).

Also, I noticed that FluxBB project lead, Reines had a collection of highly useful mods but all seem to have 404'd.

Last edited by trichome (2011-12-15 14:21:28)

Offline

#16 2012-01-01 20:57:07

mad-wolfie
Member
From: Stoke on Trent (UK)
Registered: 2008-08-10
Posts: 36
Website

Re: [MOD] reCaptcha Anti Spam

just installed this mod, hope it's going to do the trick


www.stokebikeruns.co.uk - Charity motorcycle runs

Offline

#17 2012-01-09 15:15:30

Goudie
Member
From: Rennes/Montréal
Registered: 2012-01-09
Posts: 1
Website

Re: [MOD] reCaptcha Anti Spam

Very easy to install, and I'm sure it works. Thank you!

Offline

#18 2012-01-19 00:43:12

edrecovery
Member
Registered: 2012-01-19
Posts: 3

Re: [MOD] reCaptcha Anti Spam

how do u install mods? I just installed FluxBB for the first time today.

Offline

#19 2012-01-19 08:20:06

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 6,721
Website

Re: [MOD] reCaptcha Anti Spam

There is a README in every mod package. Just follow the instructions in there - they could not be more detailed...


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#20 2012-01-31 20:59:41

kajan
Member
Registered: 2011-10-26
Posts: 30

Re: [MOD] reCaptcha Anti Spam

A lot of bots registered on my website (http://www.svenskadiablo.se/forum/index.php) lately. It seems the reCaptcha is not "good" enough to stop them. Any ideas on why? Is there a way to increase the difficulty level?

Last edited by kajan (2012-01-31 21:03:24)

Offline

#21 2012-04-08 17:31:28

Ahmed
Member
From: Latvia/Sudan/Earth
Registered: 2012-04-04
Posts: 59
Website

Re: [MOD] reCaptcha Anti Spam

Does not work with 1.4.8 (according to Patcher installation plugin)

Affected files

List of files that will be modified in installing/uninstalling mod process. All of them must be writable.
include/register.php    Not exists

Offline

#22 2012-05-24 22:18:24

gnat
Member
Registered: 2011-07-15
Posts: 13
Website

Re: [MOD] reCaptcha Anti Spam

kajan wrote:

A lot of bots registered on my website (http://www.svenskadiablo.se/forum/index.php) lately. It seems the reCaptcha is not "good" enough to stop them. Any ideas on why? Is there a way to increase the difficulty level?

This mod pulls reCaptcha directly from Google, fixes will be implemented automatically. You can potentially just wait for a fix to happen. Also many spammers unfortunately hire real people in India etc to fill captchas in manually nowadays.

Ahmed wrote:

Does not work with 1.4.8 (according to Patcher installation plugin)

Affected files

List of files that will be modified in installing/uninstalling mod process. All of them must be writable.
include/register.php    Not exists

I wouldn't recommend using a "patch installer script" with most mods in the FluxBB database. Fortunately the manual installation is very simple.

Last edited by gnat (2012-05-24 22:20:40)

Offline

#23 2012-12-22 15:35:58

yaMatt
New member
Registered: 2012-12-22
Posts: 2

Re: [MOD] reCaptcha Anti Spam

So this mod used to work really nicely with 1.5 but (semi-) recently found that the reCAPTCHA no longer displays. After a bit of investigation this appears to be because the way the scripts are inserted in to the page (using document.write) is not supported by XHTML which is the doctype FluxBB is now supposedly written in.

The best solution would be to find another way of adding the content to the page possibly by inserting a <script> element using the

document.createElement('script')

method. Hope it gets fixed soon.

Cheers,

Matt

Offline

#24 2012-12-24 08:14:49

sklerder
Member
From: Brittany
Registered: 2012-11-06
Posts: 130
Website

Re: [MOD] reCaptcha Anti Spam

Hello.

If you are writing about FluxBB 1.5.1, the XHTML Doctype has been forced in this version.
It should be back to HTML strict instead of XHTML in 1.5.2, as far as I understood (well ?).
See http://fluxbb.org/development/core/tickets/777/

Offline

#25 2013-02-26 02:54:59

Mr.T
Member
From: Wellington, New Zealand
Registered: 2013-02-05
Posts: 6

Re: [MOD] reCaptcha Anti Spam

Hi,

I would really like to know if this works in 1.5.2. I have the most ridiculous amount of spam getting onto our forum and its really a big headache! I must be deleting at least 100 accounts everyday.

I have used reCaptcha before on other sites but cant figure out how I would add this into FluxBB.

Can you please let me know if this will work on 1.5.2?

Thanks


CCDayZ(net)

Offline

Board footer

Powered by FluxBB