|
I have in the past few months been asked many many people on a few suggestions to help prevent bot's from registering on there site and posting spam on there forums. I got tired of helping everyone individually, so here ya all go. I know many of you may suggest things like, "Captcha" and "Have admin appoval turned on", for stopping the bots on the registration. Yes, they work, sort of.
What I mean by sort-of is the captcha system is not fool proof. In recent times, people have been able to script there bots to be able to get around the standard captcha system found on all version of nuke.
The admin approval is the best way, but relys on the admins to see and activate each user, and if you have a large site, with lots of users registering, and or you dont have the time, then it get to be a real pain in the butt.
So, what I am going to link you to and show you what to do is not a 100% fool proof way to stop them, but its a added security to help stop them or slow them down.
http://evolution-xtreme.com/modules.php?name=Forums&file=viewtopic&t=4378&highlight=antispam
That there sends you to Evo Extreme's site where there implemented a check system that goes through and see's if that username or email has been black listed. I am sure that you RavenNuke users can contact someone over at RN and ask them to implement http://www.stopforumspam.com/ .
::UPDATE::
I added a attachment that fixes a slight bug found in the anti spam from above. Just replace the register_antispam.php from the one that they gave you in the mod above with the one found in the attachment below. It will be going into you public_html/includes/ folder
Next is just a simple advanced textual confirmation script that you put in before the registration is done to prove they are human. I attached the file rather then just post the link for the site looks to be probably closed since the Dev is not working on it any more.
http://www.bbantispam.com
I only know how I implemented this system onto my registration on my site, I am sure there are other ways, but I just wanted the easiest way and the most logical way that would only effect those that are registering on my site. Just follow the steps below and you should be good to go. Again, this is only for Evo, but if you are using RavenNuke, I am sure you can copy the way I am doing it and add in the "one" line of coding in a file like I am talking about. I dont have a RN site to look at and tell you, but it only takes a half a thought to be able to figure it out.
Step 1: Download the attached file.
Step 2: Create a folder in the root of your site called " bbantispam ", with out the quotes.
Step 3: Upload the bbantispam.php and bbas_config.php to the folder you just created.
Step 4: Open -- public_html/modules/Your_Account/public/new_user1.php
Open -- public_html/modules/Your_Account/public/new_user2.php
Open -- public_html/modules/Your_Account/public/new_user3.php
Find
Add Before
| Code:
|
|
<?php include_once 'bbantispam/bbantispam.php'; ?>
|
That is it. Now with that one there, you can edit the questions just simply by going into the bbas_config.php file that you uploaded and editing the questions / answers. This I know will require some of you to use that thing between your ears called your brain, , but we all know you can do it and figure out how you need to do it just by simply looking it over and having a go at it., below is a example of what I have done.
| Code:
|
$questions = array(
'What is 4 plus 4 minus 8 plus 1?' => array ('1', 'one', 'One', 'ONE'),
'Are you a bot? (Yes or No) We all hate bots...' => array ('No', 'no', 'nope', 'negitive'),
'Spell H-E-A-D-S-H-O-T with out any of the dashes "-".' => array ('headshot', 'HeadShot', 'HEADSHOT', 'HEAD SHOT', 'head shot', 'Head Shot'),
'Does 2 + 3 equal the same as 2 x 3?' => array ('No', 'no', 'nope', 'negitive'),
'Spell racecar backwards.' => array ('RaceCar', 'racecar', 'RacecaR', 'RACECAR')
);
|
With that example you should be able to figure it out. I just hope this helps some of you out and will help have you stop spamming my email/my XFire with questions on this. 
Last edited by DreAdeDcoRpSE on Thu Mar 01, 2012 1:43 am; edited 2 times in total
| Description: |
| Anti Spam fix, Thanks to GreggyD of Xtreme Evo for this. |
|
 Download |
| Filename: |
register_antispamphp_773_500.zip |
| Filesize: |
649 Bytes |
| Downloaded: |
6 Time(s) |
| Description: |
|
 Download |
| Filename: |
AdvancedTextualConfirmation-1.0.3.zip |
| Filesize: |
68.8 KB |
| Downloaded: |
7 Time(s) |
|
|
|