Moderation fixed

Those who have tried com­ment­ing recently prob­a­bly would have noticed their com­ments weren’t show­ing up for a while — this was as a result of my fil­ters hav­ing a com­mon term in them which essen­tially forced me to mod­er­ate every­thing man­u­ally. The list of banned terms is quite exten­sive, so it took me a while to find exactly what I’d done wrong and cor­rect it; long story short, you can now com­ment and mostly expect your com­ment to pop up straight away (unless of couse you’re talk­ing about your won­der­ful job at a casino where you get to play poker whilst sell­ing via­gra and cialis and watch­ing free porn, in which case prob­a­bly not).

Sorry for any incon­ve­nience or con­fu­sion this may have caused recently — I’ve added a note above the com­ment post­ing area noti­fy­ing peo­ple that mod­er­a­tion is in force and as such their com­ments may not appear straight away. If you have any fur­ther trou­bles, feel free to use the con­tact form (which, inci­den­tally, also had prob­lems with the “Con­firm” page markup until around mid­night — thanks Steve for point­ing that out — I was still get­ting all mes­sages sent via it, fortunately).

posted on Saturday, January 29th, 2005 at 12:11 pm by Josh, filed under General.

10 Responses to “Moderation fixed”

  1. Matthom says:

    How did you know I was gonna com­ment about that Casino I was at?

  2. Josh says:

    See, I had to man­u­ally approve that! Geeeeez :P

  3. Dale says:

    vis.it dA.l3group f0r seriou5ly co0l warz and sig.n up t o our p0ker chann3l. Pl4y off w3ekly for gr43t priz3s, m!n bet is $10O0.

    http://www.dalegroup.net/

  4. Josh says:

    Ah, but that misses the pur­pose of com­ment spam entirely — it’s all about inbound links with appro­pri­ate key­words! The actual “mes­sage” doesn’t mat­ter so much as the con­tent (e.g. indi­vid­ual words), unlike email spam which is another story altogether…

  5. Nicko says:

    Hmmm, I have some­thing i wrote in VB (yes snicker and get over it), that could be adapted to fil­ter every con­ceiv­able vari­a­tion on a bad word. Not that I could be stuffed adapt­ing it so this com­ment is quite point­less but that’s me.

  6. Dale says:

    I think what would be more inter­est­ing is REGEX based rules that works out things such as num­bers to let­ters ratio (and other such things). Because most bod­ies of real text con­tain few num­ber and are most just let­ters, and not sym­bols etc.

    So on top of your word fil­ter you could com­pare a post with other rules.

    Also maybe you could have “grey words”. If a cer­tain word is used more than once per post or in a set amount of time (lots of posts) it flags it as spam. This may help to stop spam flood­ing. Sure you may get one spam mes­sage but it is bet­ter than 100 of the same thing.

    Although josh, your word lists seems to work well. Very few spam mes­sages make it live to this site.

  7. Josh says:

    Yeah, there are some REGEX rules (I think… kind of like .htac­cess style stuff? let me know if I’m wrong) in the list, BUT I don’t know if they’re actu­ally doing any­thing (coz I ripped the list from a Move­able Type web­site which can use REGEX for fil­ter­ing with MT-blacklist or what­ever). I’m sure one of the big Word­Press spam man­age­ment pack­ages does grey words or some­thing like it, but I just don’t see the rea­son to imple­ment it at the minute, because, like you said, fil­ter­ing here works pretty okay.

  8. Josh says:

    Nick — g0t pseudo-code ver­sion of it? Would be an inter­est­ing exer­cise even if it weren’t used.

    p.s. you need to get a blog site/website up and running!

  9. Nicko says:

    Ahhhh, pseudo-code, evil, start­ing to sound like thill, I main­tain that the only doc­u­men­ta­tion I am ever likely to need is remark­ing within the code. Unfor­tu­nately the BOS does not share this view… My own web­site, what do you take me for some sort of cheap exhibitionist :).

  10. Josh says:

    Heh, a com­ment spam­mer just hit this post :P Must hap­pen all the time, I only just took note though :P

Leave a Reply