Simplicity is not Simple

when a simple thing is not simple as its look

matriphe! Comment Sanitizer

October 15th, 2006 - Wordpress - Give Comments

Have your blog been spammed with unspaced words in commenting system? Unspaced words can be dangerous because it will destroy your layout!

Want to try? Oke, try to insert unspaced words into your commenting system. You can do this simple test by holding a character on your keyboard as input on your comment form. After that, just press the submit button and see what happen. :D

Tada! Your layout successfully destroyed! :)) What an anoyying things, right?

Based on that case, I wrote a simple plugin to sanitize those unspaced words. This plugin splits unspaced words into 20 characters per word. Although this plugin doesn’t split words into right spells, it avoids your layout destroyed by this damn unspaced words. :D

Requirement

WordPress 2.0 above should suffice. I’ve never tried it in version 1.5 below but I think it will work.

Download

Download the PHP source from here. Try to save-as the source displayed on browser.

Installation Instruction

  1. Download the source.
  2. Rename the .phps extension into .php extension.
  3. Upload the plugin into plugins directory.
  4. Activate the plugin from the admin panel.
  5. Done. Your commenting system is now protected from unspaced words.

License and Disclaimer

This plugin is licensed under GPL license. You can use, modify, or reproduce it without permission. Of course, any comments, suggestion, or other contributions are welcome.

Credits

Thank you to Septianka for the info about the case. I wrote this plugin to reduce my RBW™ in Saturday night. ;)

25 Responses to matriphe! Comment Sanitizer

  1. Tyo says:

    Bikin Themes!

  2. chocoluv says:

    SayaCobaNulisTanpaPa keSpasiAh…GayaAnak MudaJamanSekarangNih .Zam,KoweKiNekKesuwe nRBW,iso2KoweSesukBe ristrikanBlogDanBera nakanPluginHwakaka

  3. puty says:

    kalo spam yang biasa2 aja di wp 2 yang terus menyerang saat pemiliknya lagi hiatus, itu ada pluginnya ga, om? *sambil nangis* :(

  4. gagahput3ra says:

    buset.deh.com (sori spamming)

  5. Leo says:

    Nah kalo kayak ginih gw rada2 ngarti dikit..gw cuba yahh

  6. war59312 says:

    Hey,

    Well, there is also Force Word Wrapping:

    http:// http://www.frostjedi.com/te rra/scripts/wp/wrap. zip

    Take Care,

    Will

  7. bagonk says:

    cool… :D
    tapi ‘tar dulu ah installnya… blom pernah kena spam kata2 panjang sih… :D

  8. tyka82 says:

    btw, ini beneran tah?
    aduh kalo nulis postingan kyk gene mbok ya jgn bahasa inggris *males*

    hehehe…

  9. bebek says:

    apikbagusapikbagusap ikbagusapikbagusapik bagusapikbagusapikba gusapikbagusapikbagu sapikbagusapikbagusa pikbagusapikbagusapi kbagusapikbagusapikb agusapikbagusapikbag usapikbagusapikbagus apikbagusapikbagusap ikbagusapikbagusapik bagusapikbagusapikba gusapikbagusapikbagu sapikbagusapikbagusa pikbagusapikbagusapi kbagusapikbagusapikb agusapikbagusapikbag usapikbagusapikbagus apikbagusapikbagusap ikbagus (testing)

  10. iFa says:

    ohgituyah*barutau*

  11. matriphe says:

    #war59312: thank you for de info. :) thank yo for dropping here..

  12. mysyam says:

    nykrip teruuuss..
    ffuuh..mu meth.
    btw aku bali neng umah sing lawas neh

  13. mysyam ! says:

    NJAJAL.. dab :D delete ae..

  14. hendito says:

    sekalian digabung ma short URL aja bro .. soale yang direct link kasihan jika di crops 20 karakter

  15. matriphe says:

    #hendito: trims informasinya. saya coba dulu deh.. :D

  16. tyka82 says:

    disinigagadashouboxn yaya?sayamoningglinp esensingkatpanjadisu sye.yaudahdehmonyoba inajaapabenerkalonge tiktanpaspasibisabik inhang.kalotrnyatabe neranhang,anemohonma apya…

  17. say says:

    no coment mending minum es 1001….. sweger berger….. nangkane, alpukate, klamute, nata dedecocone, trus yang paling suuuiiiipp sirupnya rasa duren….. segere….. pooolll………

  18. tukang nggedeblues says:

    artine opo?

  19. boku_baka says:

    uhuy.. plugin meneh dari Zam…
    plugin untuk membikin ganteng empunya blog ada gak Zam?

    eh komenku wingi kok gak tembus yak? dianggep spam?

  20. thuns says:

    wehehe… iyo aku malah kelalen…! padahal SH OUTHUNS malah udah tak buat gitu :D malah blog-e dewe kelalen :))

    s uk waelah… isih males utak atik :D

  21. amma says:

    spam yaks? huhuhu..yang pasti bikin bete :D
    plugins terus euy…
    btw..kemain saya ndak bisa buka blog na mas zam sama mas adi? kunaon ya??

  22. nyiell says:

    eh, serius niii…
    mau mraktekin tapi takut…hehe…

  23. Prince PriyayiSae says:

    sip dab…! gawe terus sing akeh, makhluk2 koyo aku iki men tinggal nganggo wae.
    Gunakanlah matriphe plugin… produk Indonesia asli ! MERDEKA !

  24. David says:

    Hi,
    the plugin don’t work on 1.5.2 ;)

    i just tested, and we got this error :

    // Warning: Cannot modify header information - headers already sent by (output started at matriphe-comment-san itizer.php:38) in psr.class.php on line 368

    i think it’s a problem with another plugin (psr) Post Star Rating

  25. WP Plugins DB » Plugin Details » matriphe! Comment Sanitizer says:

    […] Visit […]