Memasang Re-Captcha

Tadi saya memasang security code untuk input form di web ini. Menggunakan fasilitas Re-CAPTCHA. Fungsi Re-CAPTCHA ini disediakan oleh sebuah web yang sangat peduli dengan kerugian-kerugian yang diakibatkan spam-spam yang beredar di dunia maya.

CAPTCHA adalah singkatan dari “Completely Automated Public Turing test to tell Computers and Humans Apart“, dipatenkan oleh pihak Carnegie Mellon University, yang mempunyai fungsi utama menghadang input user dengan menampilkan 2 kata acak yang harus ditulis ulang oleh pengisi form, dalam artian bahwa sebuah mesin (robot/server) yang diotomasisasikan untuk mengirim bom email, tidak akan bisa menuliskan lagi apa yang ditampilkan CAPTCHA. Sedangkan Re-CAPTCHA sendiri adalah pengembangan dari fungsi CAPTCHA itu sendiri.

Untuk pemakaian Re-CAPTCHA, user harus mempunyai account di website resmi Re-CAPTCHA, yaitu: http://recaptcha.net/. Disitus ini user harus mengisi form terlebih dahulu. Setelah pengisian form selesai, maka situs akan memberikan Public API Key dan Private API Key. Jangan lupa dicopy dulu ke notepad atau tulis dikertas. Karena API Key ini agak panjang (40 digit). Kemudian lakukan langkah-langkah berikut ini:

Untuk pengguna WordPress:

  • Download plugin dari alamat ini, (situs resmi wordpress.org)
  • Install Plugin ke directory /wp-content/plugins/
  • Masuk ke admin WordPress, aktifkan plugin WP-reCAPTCHA
  • Masuk ke Setting->reCAPTCHA
  • Masukkan Public API Key dan Private API Key tadi ke field yang disediakan
  • Update Option

Untuk pengguna MediaWiki:

  • Download plugin di alamat ini (resmi)
  • Unzip plugin yang sudah didownlad dengan menggunakan syntax:
    cd /path/to/mediawiki/extensions/
    # * gets whatever version you downloaded
    unzip ~/recaptcha-mediawiki-*.zip
    # move the package to a standardized directory.
    mv recaptcha-mediawiki-* recaptcha
  • Tambahkan baris-baris ini di halaman LocalSettings.php:
    1
    2
    3
    4
    
    require_once( "$IP/extensions/recaptcha/ReCaptcha.php" );
    // Sign up for these at http://recaptcha.net/api/getkey
    $recaptcha_public_key = '';
    $recaptcha_private_key = '';
    require_once( "$IP/extensions/recaptcha/ReCaptcha.php" );
    // Sign up for these at http://recaptcha.net/api/getkey
    $recaptcha_public_key = '';
    $recaptcha_private_key = '';
  • Masukkan Public API Key dan Private API Key di konfigurasi file LocalSettings.php

Related Posts:

  • WordPress Breadcrumbs Without Plugin (advanced and easy method)
    Breadcrumbs is an important element of a web site navigation and WordPress doesn't have a default way of creating breadcrumbs. You have to include the Breadcrumbs on your own themes, either by adding ...
  • Add Expires Headers to WordPress
    This article have explained how you can add expiry header to your image, javascript and css files to speed up your site when loading.Adding expires headers do not affect the site load time for a f...
  • Create Twitter Button with Counter in WP
    As seen on the title, we will discuss how to create a twitter button to your web. Twitter button is different from the kind of tweetmeme or retweet button because it is the official twitter button....
  • 3 Big Steps Wordpress Optimization
    Here you have general rules but I think that this guide will be very useful specially for HostGator users. If your WordPress is not correctly configured you'll need a lot of GPUs for few thousands of ...
  • Limit Tag Cloud in WordPress Blog
    Do you want set Tag Cloud limit on your wordpress blog? It is enabling help to control page rank flow. In order to limit the Tag Cloud on your wordpress blog, you have to edit the core file of the wor...

Tags: , , ,

23.Oct.08 Wordpress


You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.

Reader's Comments

  1. Jayadi Hendra | October 23rd, 2009 at 7:54 pm

    bagus dan berguna

Leave a Comment

:)