Author |
Message |
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Sat Mar 31, 2007 3:50 am Post subject: How to stop PHP-Nuke spam |
|
|
PHP-Nuke is a website content management systeme. To attach Advanced Textual Confirmation to PHP-Nuke, do the following:
1) In the PHP-Nuke installation directory, create the folder "bbantispam" with the the files "bbantispam.php" and "bbas_config.php"
2) To stop spam registrations
2.1) Starting from the PHP-Nuke installation directory, go to the directory "modules/Your_Account" and open the file "index.php".
(TODO I suspect that the phpBB forum is embedded to Nuke in such a way, that there is a hidden possibility to create new accounts through the forum, bypassing the standard Nuke registration process. Therefore, if spam registrations continue, put the installation code for bbantispam in "config.php", not in "modules/Your_Account/index.php".)
2.2) Change the first lines of the file from
Code: |
<?php
/************************************************************************/
|
to
Code: |
<?php include_once 'bbantispam/bbantispam.php'; ?>
<?php
/************************************************************************/
|
2.3) Save the changes.
3) To stop forum spam
3.1) Starting from the PHP-Nuke installation directory, go to the directory "modules/Forums" and open the file "posting.php".
3.2) Change the first lines of the file from
Code: | <?php
/***************************************************************************
|
to
Code: | <?php include_once 'bbantispam/bbantispam.php'; ?>
<?php
/***************************************************************************
|
3.3) Save the changes. _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
Last edited by admin on Sat May 30, 2009 6:00 am; edited 3 times in total |
|
|
DHO Guest
|
Posted: Mon Apr 09, 2007 8:04 pm Post subject: A suggestion |
|
|
If I may be as to bold to offer a suggestion,
Since the module protects against user registration in phpnuke,
why not make only non-registered members see the confirmation whehn posting
Code: | if (!is_user($user)) {
include_once 'bbantispam/bbantispam.php';
}
|
|
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Tue Apr 10, 2007 2:06 am Post subject: |
|
|
Quote: | Code: | if (!is_user($user)) {
include_once 'bbantispam/bbantispam.php';
} |
|
Thanks a lot, nice addition! I have no experience with PHP-Nuke, therefore didn't realize it was so simple. _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
|
Ammo Guest
|
Posted: Fri Apr 13, 2007 3:06 am Post subject: |
|
|
Thank you so much for this, I've been looking for an antibot mod for my PHP Nuke site for such a long time. This was so easy to install and yet so effective.
THANK YOU!!! |
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Wed Apr 18, 2007 3:52 am Post subject: |
|
|
Welcome to the spam-free world! _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
|
Guest
|
Posted: Sun May 20, 2007 3:04 pm Post subject: |
|
|
Can you guys tell me where i get the dwonload from? |
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
|
|
Scotty Guest
|
Posted: Mon Jun 18, 2007 9:47 pm Post subject: |
|
|
Bravo! 2 thumbs up for this! |
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Tue Jun 19, 2007 1:47 am Post subject: |
|
|
Thanks! _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
|
Sciferas77 Guest
|
Posted: Sat Jul 14, 2007 3:30 am Post subject: |
|
|
So with this, am I going to have to put the folders in there and then re-install THE ENITRE WEBSITE? |
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Sat Jul 14, 2007 3:47 am Post subject: |
|
|
Sorry, I'm afraid I don't understand your question well. Why to re-install website? You only need to upload ATC and then change a pair of existing files. _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
|
sciferas77 Guest
|
Posted: Sat Jul 14, 2007 4:57 am Post subject: |
|
|
the folder: PHP-Nuke installation directory
I have that in the folder that was used to put up the website. So I dont see how I can change that folder unless I change it and add re do everyone so that its installed with those two folder included.
Or is there somewhere I could upload these though my FTP.. |
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Sat Jul 14, 2007 5:29 am Post subject: |
|
|
Sorry, I still don't understand the problem. Let's go step by step. In the PHP-Nuke installation directory, have you created the folder "bbantispam"? Have you put the files "bbantispam.php" and "bbas_config" into it? _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
|
Sciferas77 Guest
|
Posted: Sat Jul 14, 2007 6:19 am Post subject: |
|
|
thats the part we are stuck at :p
I know where this folder is, the PHP-Nuke installation directory. Its in the folder I downloaded for the site. Its not on my server or anything. If I add the files to that folder it wont do any good because it will still just be sitting on my computer.
Im asking where is it on my ftp or how do I add those files to a folder I already have on the server. |
|
|
admin Site Admin
Joined: 18 Apr 2006 Posts: 805 Location: Saint-Petersburg, Russia
|
Posted: Sun Jul 15, 2007 2:00 am Post subject: |
|
|
Just use an FTP client. I'm afraid I'm a bad teacher and can't explain the details. Find a student, give him a beer, and you'll get the things done. _________________ Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development! |
|
|
Ok.