[ABD] Textual Confirmation

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
olpa
Registered User
Posts: 255
Joined: Tue Jan 25, 2005 6:44 pm
Location: Saint-Petersburg, Russia
Contact:

[ABD] Textual Confirmation

Post by olpa »

At the moment, phpBB3 is spam-free. But looking forward, here is a port of Textual Confirmation, one of the most effective antispam mods for phpBB.

MOD Title: Textual Confirmation for phpBB3
MOD Description: While registering or posting, the user must answer a question to prove the user isn't a spambot.
MOD Version: 1.0.0.beta1

MOD Download: http://bbantispam.com/phpbb3.zip

The MOD is just of a few steps, and I hope it's ok to show them here:
... headers are skipped ...

#
#-----[ DIY INSTRUCTIONS ]-------------------------------------
#

1. Download Advanced Textual Confirmation from
http://bbantispam.com/atc/AdvancedTextu ... mation.zip

2. Unpack the archive to get the files
"bbantispam.php" and "bbas_config.php"

3. Change the questions in the file "bbas_config.php"

#
#-----[ COPY ]------------------------------------------
#
copy bbantispam.php to bbantispam.php
copy bbas_config.php to bbas_config.php

#
#-----[ OPEN ]------------------------------------------
#
common.php

#
#-----[ FIND ]------------------------------------------
#
<?php

#
#-----[ AFTER, ADD ]------------------------------------------
#
include_once($phpbb_root_path . 'bbantispam.' . $phpEx);

#
#-----[ DIY INSTRUCTIONS ]-------------------------------------
#
Optional:

Go to the Administration Control Panel, the pane "General",
the section "Visual confirmation settings" and disable visual
confirmation, as you don't need it anymore.

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
geoffreak
Registered User
Posts: 591
Joined: Sat Feb 12, 2005 8:39 am
Contact:

Re: [Beta] Textual Confirmation

Post by geoffreak »

Use the link in my signature if you want to use MODX ;)

IMHO, this mod really isn't needed yet :)
Anime Revolution - Your new #1 source for All things anime and manga!
READ MY BLOG ALREADY!
jerx
Registered User
Posts: 167
Joined: Fri Sep 02, 2005 4:27 am

Re: [Beta] Textual Confirmation

Post by jerx »

geoffreak wrote:Use the link in my signature if you want to use MODX ;)

IMHO, this mod really isn't needed yet :)
Not yet, but I can assure you as soon as phpbb gold comes out, it will be plastered with dirty pictures and stupid links. Maybe RC1 will already be their next target.
olpa
Registered User
Posts: 255
Joined: Tue Jan 25, 2005 6:44 pm
Location: Saint-Petersburg, Russia
Contact:

Re: [Beta] Textual Confirmation

Post by olpa »

Use the link in my signature if you want to use MODX ;)
I'm afraid MODX is overkill for one non-DIY step.
Not yet, but I can assure you as soon as phpbb gold comes out, it will be plastered with dirty pictures and stupid links. Maybe RC1 will already be their next target.
Unfortunately, it's quite possible.
geoffreak
Registered User
Posts: 591
Joined: Sat Feb 12, 2005 8:39 am
Contact:

Re: [Beta] Textual Confirmation

Post by geoffreak »

olpa wrote:
Use the link in my signature if you want to use MODX ;)
I'm afraid MODX is overkill for one non-DIY step.
MODX is required for MODDB ;)
Anime Revolution - Your new #1 source for All things anime and manga!
READ MY BLOG ALREADY!
User avatar
Volunteer Forum
Registered User
Posts: 400
Joined: Mon Sep 12, 2005 9:59 pm

Re: [Beta] Textual Confirmation

Post by Volunteer Forum »

I would want to disable the part for the login,,
this should only work for registrating, nothing else...

Was better for phpBB2 in that way :|
Everything that is not perfect is a flaw [",]
olpa
Registered User
Posts: 255
Joined: Tue Jan 25, 2005 6:44 pm
Location: Saint-Petersburg, Russia
Contact:

Re: [Beta] Textual Confirmation

Post by olpa »

Easy! Edit "profile.php" instead of "common.php".
User avatar
Volunteer Forum
Registered User
Posts: 400
Joined: Mon Sep 12, 2005 9:59 pm

Re: [Beta] Textual Confirmation

Post by Volunteer Forum »

You mean just add the line:
include_once($phpbb_root_path . 'bbantispam.' . $phpEx);

in:

"profile.php"
instead of
"common.php".
:?:

Hmm, there is no profile.php file in BB3 :|

I suppose you are talking about the file: ucp.php and not profile.php ?

Update, that dosen't seem to work (to add it in the ucp.php file) :|
Everything that is not perfect is a flaw [",]
olpa
Registered User
Posts: 255
Joined: Tue Jan 25, 2005 6:44 pm
Location: Saint-Petersburg, Russia
Contact:

Re: [Beta] Textual Confirmation

Post by olpa »

Oh, yes, indeed ucp.php. The further possible tuning is to add something like

Code: Select all

if (! $user->data['is_registered']) {
include_once($phpbb_root_path . 'bbantispam.' . $phpEx);
}
in an appropriate place, but I'm too lazy to find this place.
Update, that dosen't seem to work (to add it in the ucp.php file)
I think it actually works. ATC is smart and asks a question only once. If you already answered, you don't get confirmation forms anymore. Is it your case?

Try another browser or change the question, and the form will appear again.
User avatar
Volunteer Forum
Registered User
Posts: 400
Joined: Mon Sep 12, 2005 9:59 pm

Re: [Beta] Textual Confirmation

Post by Volunteer Forum »

olpa wrote:Oh, yes, indeed ucp.php. The further possible tuning is to add something like

Code: Select all

if (! $user->data['is_registered']) {
include_once($phpbb_root_path . 'bbantispam.' . $phpEx);
}
in an appropriate place, but I'm too lazy to find this place.
Update, that dosen't seem to work (to add it in the ucp.php file)
I think it actually works. ATC is smart and asks a question only once. If you already answered, you don't get confirmation forms anymore. Is it your case?

Try another browser or change the question, and the form will appear again.
Yee i have noticed that =P
So i asked a friend to go thrue the register process..
The only thing he saw was Are you born before/after

But not the other question after the agreement...
(same as login page)

If you know where to add this code later then make a post :)

Btw: I come to the form if i also click on "I dont agree with the rules"
Everything that is not perfect is a flaw [",]
myquealer
Registered User
Posts: 10
Joined: Fri Feb 03, 2006 8:49 pm

Re: [Beta] Textual Confirmation

Post by myquealer »

I have actually been getting some spam in my forum. It is a brand new forum and to encourage growth I gave guests limited access, rather than just read only. I have been getting a couple spams a day from unregistered users. I just switched to requiring registration, as I am now publishing RSS feeds of forum content and need to minimize spam.

I look forward to using this MOD and others that will help curb the inevitable batlle with spam.
User avatar
Megaaf
Registered User
Posts: 11
Joined: Sun Nov 26, 2006 8:15 am
Location: Russian Federation (Russia), Moscow
Contact:

Re: [Beta] Textual Confirmation

Post by Megaaf »

Please, write precisely, where I can insert mod line instead of common.php. I can't see results of my changes in ucp.php (( - I'm trying to use this mod only for registrations.
olpa
Registered User
Posts: 255
Joined: Tue Jan 25, 2005 6:44 pm
Location: Saint-Petersburg, Russia
Contact:

Re: [Beta] Textual Confirmation

Post by olpa »

First of all, download the new version of ATC (the protection now can be attached not only at the top level, but also inside functions):

http://bbantispam.com/atc/AdvancedTextu ... -1.0.3.zip

The exact location to change is:

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
includes/ucp/ucp_register.php

#
#-----[ FIND ]------------------------------------------
#
// validate custom profile fields

#
#-----[ AFTER, ADD ]------------------------------------------
#
include_once($phpbb_root_path . 'bbantispam.' . $phpEx);
User avatar
Volunteer Forum
Registered User
Posts: 400
Joined: Mon Sep 12, 2005 9:59 pm

Re: [Beta] Textual Confirmation

Post by Volunteer Forum »

Thank you, that seems to work greate :)
Everything that is not perfect is a flaw [",]
olpa
Registered User
Posts: 255
Joined: Tue Jan 25, 2005 6:44 pm
Location: Saint-Petersburg, Russia
Contact:

Re: [Beta] Textual Confirmation

Post by olpa »

Thanks for confirming that TC works. But... why did you install it? Did you have spam in your phpBB3?
Locked

Return to “[3.0.x] Abandoned MODs”