I was asked recently by a friend, if there was a whitelisting function, and whilst it does not currently have one, you can add one yourself. To do so, follow the steps below. 1. Open check_spammers_plain.php 2. Find (approx line #518):
// ******************************************** // Okay, lets process the details shall we? // ******************************************** 3. Add BEFORE:
// Check Whitelist $sWhitelist = file_get_contents('whitelist.txt'); if(strpos($sWhitelist, $sName) || strpos($sWhitelist, $sMail) || strpos($sWhitelist, $sIP)){ die('FALSE'); } 4. Save and close the file. 5. Create a new text file called whitelist.txt You can now add any IP/username/e-mail you want to whitelist, to whitelist.txt, remembering to seperate them with a comma. For example; 1.2.3.4,joe@box.com,2.2.2.2,etc,etc
|