i’m not spammer plugins

today i’m testing my new anti-spam plugin named i’m not spammer plugins, it’s day one and my akismet didn’t show any spam come in except from trackback…>_<

nice -_-
let see how its going for couple more days

i got an idea to built this simple plugin from cry4freedom’s blog, so i try to search out for wp plugins that work just like that, then i end up with zero result. cry4freedom also didn’t use wordpress as his blog engine. well, i just create my own..lah

it’s just a simple plugin, well as long as it’s working then it’s fine, who care about the rest

if you are using k2 theme
you can simply mod comments-ajax.php

here is how to modify it.

1. in comments-ajax.php, find code that look like this

$comment_post_ID = (int) $_POST['comment_post_ID'];

then add
$spam_check = $_POST['notspam'];
if ( empty($spam_check) ) {
do_action(’spammer’, $comment_post_ID);
fail(__(’not spammer?’));
}

2. make sure you add this into your comment.php

<p><input type="checkbox" name="notspam" id="notspam" value="notspam"> Believe me, i'm not a spammer</p>

put it somewhere below if you donno where to put it

or you can read the manual how to add spam filter into k2 comment-ajax.php

if have something to share or something to add, feel free to discuss it here

please report to me if you can’t post here (make sure you are not a spammer) [lolx]

update : why the hell trackback spammer only focus on my entry about “berapakah nilai laman web anda“. trackback to that url will now be turned off.. :D

6 Comments

  1. spam-test
    Posted November 24, 2006 at 6:57 pm | Permalink

    this is spam test

  2. Posted November 26, 2006 at 1:01 am | Permalink

    taraaaa…..

    success! ni bukan spam ye. hu3.
    btw kau nye comment kat site my.cypherhackz.net aku kene trap ngan akismet. nasib baik aku tak delete all. hu3.

  3. Posted November 26, 2006 at 1:10 am | Permalink

    dah agak dah… wakhakahkah
    giledah akismet neh tapi tak segila sk2 [thumb]

  4. Posted November 26, 2006 at 2:22 am | Permalink

    hello, i’m king of spammer in the world. so how about your osama@cia.gov

  5. Posted November 26, 2006 at 5:08 am | Permalink

    testing2..dasyat hang wan la nih..siap buat plugin lagi..keep up the good work.. :-)

  6. Posted November 26, 2006 at 3:53 pm | Permalink

    hehe, seme jadi spammer yer.. hmmm
    @azraai : not try it yet..btw, i don’t like live mesenger either
    @bat : takde la dasyat, plugin cikai jek, sape² pon leh wat, wp mmg memudahkan keje utk tambah ape² keperluan yg kita nak [color]