Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Oops it looks like it didn’t like the JS but here it is
    ‘window.location=\”https://www.yourdomain.com/\”; \n’

    Hello everyone,
    I’ve been having the same issues with some spammer on one of my sites. Unfortunately the site it’s happening to is ran with Cafe Log. But I am making the jump to WordPress soon.
    I found this post doing a search on Google so I thought it would be appropriate to put my temporary solution on here for others to see and get a basic idea that they can probably build.
    Here is the code.
    ‘// Catch Spammer
    $spammer = array(‘poker supplies’,
    ‘poker’,
    ‘free online poker’,
    ‘poker rooms’,
    ‘pacific poker’,
    ‘world poker tour’,
    ‘poker tips’,
    ‘wsop’,
    ‘paradise poker’,
    ‘texas hold\’em poker’,
    ’empire poker’,
    ‘poker rules’,
    ‘internet poker’,
    ‘poker online’,
    ’empirepoker’,
    ‘online poker sites’,
    ‘partypoker’,
    ‘WPT’,
    ‘poker tables’,
    ‘online poker rooms’,
    ‘poker books’,
    ‘texas holdem poker’,
    ‘party poker’,
    ‘poker chips’,
    ‘free poker online’,
    ‘texas hold\’em’,
    ‘casino’,
    ‘casino games’,
    ‘casino online’,
    ‘free casino games’,
    ‘internet casino’,
    ‘free casino online’,
    ‘online blackjack’,
    ‘online casino’,
    ‘free online casino’,
    ‘gambling’,
    ‘blackjack’,
    ‘roulette’,
    ‘poker stars’);
    if (in_array($author, $spammer, true)) {
    print “<script language=\”JavaScript\”> \n<!–\n window.location=\”https://www.anti-leech.com/spam/spambot_stopper.php\&#8221;; \n // –> \n</script>”;
    exit;
    }’
    Again this is a temporary solution and this is being posted just to help where I can.
    Thanks,
    George

Viewing 2 replies - 1 through 2 (of 2 total)