bbAntiSpam: Discuss how to stop web spam

The forum is retired.

bbAntiSpam Forum Index - Advanced Textual Confirmation - ATC and phpBB2

Goto page 1, 2, 3, 4  Next

Author Message
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Wed Mar 21, 2007 4:07 am    Post subject: ATC and phpBB2  

phpBB2 is a popular forum software, and, after e-mail, is the main target of spam.

Several methods of attaching Advanced Textual Confirmation to phpBB2 are possible. The simplest is the following.

0. Download Advanced Textual Confirmation, unpack the files the files "bbantispam.php" and "bbas_config.php", and upload the files on the server.
1. In the phpBB installation directory, open the file "extension.inc".
2. After the first string, "<?php", add the string (change "...path.to..." to the correct value)
Code:
require_once '...path.to.../bbantispam.php';

3. Save the changes
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
kevins
Guest





Posted: Mon Jul 23, 2007 10:43 am    Post subject:  

Is it possible to show this message only with new registrations? And to show the question box in het phpbb template lay-out/design?

Thank you! great anti spambot mod!
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Tue Jul 24, 2007 2:15 am    Post subject:  

Quote:
Is it possible to show this message only with new registrations?

Yes. Instead of changing "extension.inc", change "profile.php".

Quote:
And to show the question box in het phpbb template lay-out/design?

No, unless you've got a standard license.

Please also check the usual Textual Confirmation -- probably it's exactly what you are looking for.
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
forumtech



Joined: 16 Aug 2007
Posts: 4

Posted: Thu Aug 16, 2007 5:40 am    Post subject:  

"bbantispam.php" and "bbas_config.php" do I just upload them to my root directory?
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Thu Aug 16, 2007 7:45 am    Post subject:  

Quote:
"bbantispam.php" and "bbas_config.php" do I just upload them to my root directory?

Yes. But it's a bit better to create a folder "bbantispam" in the root directory, and copy the files there.
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
forumtech



Joined: 16 Aug 2007
Posts: 4

Posted: Fri Aug 17, 2007 2:26 am    Post subject:  

Code:
<?php

require_once 'http://spankyscycles.com/mxtalk2/bbantispam.php';

/*************************************************************************** 
 *                               extension.inc
 *                            -------------------                         
 *   begin                : Saturday, Feb 13, 2001
 *   copyright            : (C) 2001 The phpBB Group       
 *   email                : support@phpbb.com                           
 *                                                         
 *   $Id: extension.inc,v 1.5 2002/04/04 11:52:50 psotfx Exp $
 *                                                           
 *


Am I adding the code right?
here is my testing site, I can't get it working..
http://spankyscycles.com/mxtalk2/index.php
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Fri Aug 17, 2007 3:40 am    Post subject:  

For 'require_once', please use not a web address ("http://..."), but a file path address. In your case, as "bbantispam.php" and "index.php" are in the same directory, the following should work:
Code:
require_once 'bbantispam.php';

_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
forumtech



Joined: 16 Aug 2007
Posts: 4

Posted: Fri Aug 17, 2007 3:10 pm    Post subject:  

thanks got it working!
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Sat Aug 18, 2007 2:37 am    Post subject:  

Glad to hear it!
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
forumtech



Joined: 16 Aug 2007
Posts: 4

Posted: Wed Aug 22, 2007 7:21 am    Post subject:  

can I change the questions withthe free version?
If I did is it still working?
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Thu Aug 23, 2007 2:11 am    Post subject:  

Yes, you can change the question.

The only limitation of the free version is that you can't change the layout of the form.
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
Guest
Guest





Posted: Sun Sep 09, 2007 12:07 am    Post subject: Didn't work  

I downloaded Advanced Textual Confirmation and followed the exact same procedure as explained above. I don't understand why, but it's not working on my forum. Now instead of the forum I get the message "Warning: main(bbantispam.php) failed to open stream: No such file or directory". The forum has disappeared altegether! What could have gone wrong?
Slacker
Guest





Posted: Sun Sep 09, 2007 1:26 am    Post subject:  

I think you have written the wrong path to bbantispam.php, so it can't be found, so thats why you get an error message. When you ftp to your site in which folder do you have bbantispam.php?

http://www.bbantispam.com/forum/viewtopic.php?t=470&postdays=0&postorder=asc&start=0
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Sun Sep 09, 2007 2:08 am    Post subject:  

Slacker is right. Please show your 'require_once' string.
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
Guest
Guest





Posted: Sun Sep 09, 2007 3:50 pm    Post subject: Didn't work 2  

I have the bbantispam.php in a folder named 'bbantispam' in the 'nfphpbb' folder which is in the folder 'Forum' in the root directory. So the string I used in the extension.inc was

require_once 'Forum/nfphpbb/bbantispam/bbantispam.php';

But it's not working. The message I get on the screen is

Warning: main(Forum/nfphpbb/bbantispam/bbantispam.php) [function.main]: failed to open stream: No such file or directory in /mnt/w0301/d17/s43/b01c6273/www/Forum/nfphpbb/extension.inc on line 3

Fatal error: main() [function.require]: Failed opening required 'Forum/nfphpbb/bbantispam/bbantispam.php' (include_path='.:/usr/local/nf/lib/php') in /mnt/w0301/d17/s43/b01c6273/www/Forum/nfphpbb/extension.inc on line 3

What should I do?

Goto page 1, 2, 3, 4  Next

Ok.