use captcha code in wordpress registration

So for stopping the automated computer spam we need to use captcha code in wp. in this article i showed how to use captcha code in wordpress registration.

WordPress is becoming very popular for these days. So many people are using wordpress as a CMS and networking website. With wordpress doing registration or commenting on post is so easy. So for stopping the automated computer spam we need to use captcha code in wordpress. in this article i showed how to use captcha code in wordpress registration.

use captcha code in wordpress registration

What is Captcha Code?

CAPTCHA code was created to stop automated computer spam robots from filling out forms, harvesting email addresses, and then sending out countless spam emails.

use captcha code in wordpress registration
use captcha code in wordpress registration

The CAPTCHA security image works by asking the website visitor to type in a code they see correctly. A human can do this, but an automated computer program cannot.In wordpress there are so many free wordpress plugins are available. Here in this article I am going to tell you, how to use captcha code in wordpress website.

Captcha (https://wordpress.org/plugins/captcha/)

The Captcha plugin allows you to implement a super security captcha form into web forms. It protects your website from spam by means of math logic, easily understood by human beings. You will not have to spend your precious time on annoying attempts to understand hard-to-read words, combinations of letters or pictures that make your eyes pop up. All you need is to do one of the three basic maths actions – add, subtract and multiply. This captcha can be used for login, registration, password recovery, comments forms. There is also a premium version of the plugin, allowing compatibility with BuddyPress (Registration form, Comments form, “Create a Group” form) and Contact Form 7.

use captcha code in wordpress registration
use captcha code in wordpress registration

SI CAPTCHA Anti-Spam (https://wordpress.org/plugins/si-captcha-for-wordpress/)

Adds CAPTCHA anti-spam methods to WordPress forms for comments, registration, lost password, login, or all. In order to post comments or register, users will have to type in the code shown on the image. This prevents spam from automated bots. Adds security. Works great with Akismet. Also is fully WP, WPMU, and BuddyPress compatible.

use captcha code in wordpress registration
use captcha code in wordpress registration

1. Simple CAPTCHA

A CAPTCHA for your comment system to prevent unwanted spams. Prevent automated spams by bots and most important naughty peoples. It’s simple and yet secure.

2. Security Captcha

Prevent registration spam and bots login by adding custom captcha tests in the registration page and/or login page

3. WP Captcha-Free

WP Captcha-Free blocks automated comment spam without resorting to CAPTCHAs. It does so by validating a hash based on time (and some other parameters) using AJAX when the form is posted. Comments posted via automated means will not have a hash or will have an expired hash and will be rejected. Unlike using a captcha, this does not place any burden on the commenter.

4. Raz-Captcha

Prevent registration spam and bots login by adding custom captcha tests in the registration page and/or login page

Featuring 5 different and customizable captcha algorithms with possibility to set your own random characters font, styles, colors background and more

5. Really Simple CAPTCHA

Really Simple CAPTCHA does not work alone and is intended to work with other plugins. It is originally created for Contact Form 7, however, you can use it with your own plugin.

Note: This product is “really simple” as its name suggests, i.e., it is not strongly secure. If you need perfect security, you should try other solutions.

6. WPMU Super CAPTCHA

This plugin was developed primarily for the WordPress Muti-User edition and now works with Buddypress, however it works on the regular single domain version as well. It combats spam bots from flooding you with sign-ups and blog creations and it keeps bots from brute- force attacking your site with the admin username by forcing a visual confirmation CAPTCHA in order to login. Most CAPTCHA systems for WordPress gives you a very templated layout and read-out, many that can be programmed into a bot to bypass. With Super CAPTCHA, you can personalize and control the very way the CAPTCHA is rendered so every site that displays the CAPTCHA will be diffrent, making it so each bot has to be pre-configured, just for your site, in order to achieve a successful attack making Super CAPTCHA the MOST SECURE free anti-spam system available for WordPress.

How to get website loading time in browser

Understanding the website and webpage loading time is very important. You can check the page loading time through javascript code. If you want to get the webpage loading time through javascript. This very easily achievable using javascript. If you want to get the webpage loading time through javascript. This easily achievable using javascript. We have code to get website loading time in browser

How to get website loading time in browser

You just need to use following code in your head tag


var starttime = new Date().getTime();
window.onload=function() {
 var loading_time = new Date().getTime()-starttime;

 alert('Webpage loading time in ' + loading_time + 'ms - milisecond');
}

 

How to get website loading time in browser
How to get website loading time in browser

famous photographs that tell different story

We have some pictures, famous photographs that tell different story. When we shoot photo that is all passion. Photography is big and very subject. Check some very nice pictures.

Photography is all about the relationship between light and perspective, and nowhere is this made clearer than in these hilarious two-faced photos, where the subjects and the shadows that they cast tell two (often very different) stories.

photographs that tell different story

flying plane on wire

photographs that tell different story
photographs that tell different story

Perhaps its fate, and one day the couple will be together forever… romantics everywhere can dream, right? Sort of makes you wonder if shadows like this appear for a brief moment throughout your life unnoticed.






How do we protect wordpress admin panel and secure it

WordPress admin security is very important. Many people are always take a shared hosting. we given Information about How do we protect wordpress admin panel.  Many people are always take a shared hosting for publishing the wordpress website.

With shared hosting or dedicated you should always think about hack proof wordpress admin panel. So no one can misuse your worepress admin panel. Here in this article I will give you some very nice tips about, how to protect our wordpress admin panel.

protect wordpress admin panel
protect wordpress admin panel

protect wordpress admin panel

1. Create very strong password

Always create a very strong password for your admin user. You should add some special characters and numbers in your password. Your password should be 10 digit minimum and not related to your name or surname.

Main important think is dont disclose your password to anyone.

2. Limit wordpress admin access via IP address

You can use the .htaccess file for limiting the wordpress admin panel for specific ip addresses only. Use following code for that.

<files “wp-login.<span=”” class=”hiddenSpellError” pre=”” data-mce-bogus=”1″>php”>
Order Deny,Allow
Deny from all
Allow from Your.IP.Address

allow from 192.168.2.45

</Files>
[/php]

3. Avoid the “admin” Username

You should always avoid the admin username to login. You can easily achieve this. First create another super admin with another name and open your functions.php file from wordpress theme folder and use following code.


add_filter(‘login_errors’,create_function(‘$a’, “return null;”));

There are some very nice plugins also available for providing the wordpress security your wordpress website. Here are few:

http://wordpress.org/extend/plugins/one-time-password/

http://wordpress.org/extend/plugins/semisecure-login-reimagined/

http://www.bad-neighborhood.com/login-lockdown.html

http://wordpress.org/extend/plugins/stealth-login/

how to pull sticky post from wordpress

From wordpress 2.7 version wordpress introduced the new feature called sticky post. Sticky post will give you ability to show the most popular or your favorite post always top of the posts.

how to pull sticky post from wordpress

how to pull sticky post from wordpress
how to pull sticky post from wordpress

Sticky post feature is very nice for wordpress theme developer. Here I will show you how to create sticky post in wordpress.

When you are creating the new post or editing the wordpress post you can choose the stick ths post option. This is very simple way to create the sticky post.

If you want to some good styling to post then use following css code. Just open your style.css file from your template.


.sticky {
 background: #ccc;
 border: 5px solid blue;
}

If you want to show the sticky post in any specific page then use following code.


is_page('sticky page') {
query_posts(array('post__in'=>get_option('sticky_posts')));
}
how to pull sticky post from wordpress
how to pull sticky post from wordpress

how to install vim on linux

If you are using linux so you are very much familiar with vim editor. Here I will show how install vim editor on linux box using command line.

Some time when you are doing new setup of server like for linux distribution.  There is lot is coming cloud hosting and centos and fedora. My most favorite is fedora.

install vim on linux

how to install vim on linux
how to install vim on linux

If your OS does not have vim then use following command.


[root@siwan]# yum install vim-X11 vim-common vim-enhanced vim-minimal
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: hpc.arc.georgetown.edu
 * base: mirrors.netdna.com
 * extras: mirrors.greenmountainaccess.net
 * updates: mirror.cogentco.com
Setting up Install Process
Package 2:vim-X11-7.0.109-6.el5.i386 already installed and latest version
Package 2:vim-common-7.0.109-6.el5.i386 already installed and latest version
Package 2:vim-minimal-7.0.109-6.el5.i386 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package vim-enhanced.i386 2:7.0.109-6.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================================================================================================================================
 Package                                             Arch                                        Version                                                 Repository                                   Size
===========================================================================================================================================================================================================
Installing:
 vim-enhanced                                        i386                                        2:7.0.109-6.el5                                         base                                        1.2 M

Transaction Summary
===========================================================================================================================================================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
vim-enhanced-7.0.109-6.el5.i386.rpm                                                                                                                                                 | 1.2 MB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
 Installing     : vim-enhanced                                                                                                                                                                        1/1

Installed:
 vim-enhanced.i386 2:7.0.109-6.el5

Complete!

Following are the common commands for doing editing with vim editor.

#vim somefile

some keys

i – for insert the text

escape – going to back

:18 – for going to line no 18

:w –  write and save the file

:q! –  quit the file, without saving

:wq! –  saving and closing the file

shift +g – going to bottom of file

page up – page up

page down –  page down

how to change date format in php

We will show, how to change date format in php code. If you want to change the date format and save into mysql database. You can use our php code or script. You can use following php functions.

how to change date format in php

Let say you are getting date in yyyy-mm-dd format and you want to convert that into dd-mm-yyyy format and save into database. so you can use following function.

$timestamp = strtotime(your date variable);
$new_date = date('d-m-Y', $timestamp);

// or use can following code

$new_date = date('d-m-Y', strtotime(your date variable));

// or use can following code

strftime ($time, '%d %m %Y')
how to change date format in php
how to change date format in php

How to hide update message from wordpress admin panel

In this article, we given code and shown you. How to hide update message from wordpress admin panel. Some times Admin update message are interpreting on dashboard.

When new wordpress version came. we got a message in wordpress admin panel as follows:

WordPress ….. is available! Please update.

How to hide update message from wordpress admin panel

Many people does not want to see that message or hide this message from wordpress admin panel

How to hide update message from wordpress admin panel

Just Open functions.php file from wordpres theme and put following code in that file:


add_action('admin_menu','hide_update_message');
 function hide_update_message()
 {
 remove_action( 'admin_notices', 'update_nag', 3 );
remove_filter( 'update_footer', 'core_update_footer' );

}

This code will run in wordpress and wordpressMU also.

ie9 new features for developers

We are really waiting for IE9 version. IE9 will support more advanced web features than the other latest browsers like google chrome,firefox etc. As per microsoft performance will of internet explorer will increase by 50% at least.

ie9 new features for developers
ie9 new features for developers

As we know the most recent versions of Internet explorer which is IE7 and IE8 but I say IE7 and IE6 is really pain for web developers.

We are really want to know what is coming new with IE9 version. We have very perfect idea about IE9 and there features. With IE9 I would say micro soft is really ready with fight with Firefox and google chrome.

Here is the List What is new coming in IE9

Javascript:

HTML5:

Graphics:

Above all features are coming in IE9 and all web developers are looking for that change. If you want to test the IE9 features then just visit the following page and download IE9.

IE9 Demo Download

If you want to check the all the IE9 features than visit following URL

http://ie.microsoft.com/testdrive/Default.html

Facebook crossed google in traffic

This is quite surprising news that facebook crossed the google in traffic hits. As we know google is top most website in traffic sense for last couple of years. Lask week we got very surprising news about US traffic.

Facebook crossed google in traffic

Facebook crossed google in traffic
Facebook crossed google in traffic

Facebook reached an important milestone for the week ending March 13, 2010 and surpassed Google in the US to become the most visited website for the week.

This when compared to last year’s mere 2% of US web traffic, is a massive growth to the current 7%. This data has been released by Hitwise and we can make sure of this research, once other online firms release their reports on this incident.

For the first time in the US, the popular social networking site Facebook has surpassed the most popular search engine Google. It was for the first time Facebook has transcended in peak traffic for such long a period of time.

For the entire week people caught up more on the interaction with pals on Facebook than on Google, however the margin between the two was very thin.According to Experian Hitwise, a company that measures online traffic, published by the Financial Times, for the week ending March 13, visits to Facebook.com accounted for 7.07 percent of all Internet traffic in the United States leading ahead of google that followed it with 7.03 percent.