All posts by Ayush Mittal

Co-Founder, Admin at TrickVilla, am a tech enthusiast. I am into programming, web-designing and developing.

Make your keyboard a disco

This code makes the Caps, Num and Scroll lock lights on your keyboard flash on and off, very attractively.

Instructions:

    • Paste the code shown below into notepad
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"
loop
  • Save the file as disco.vbs (make sure you remove source:trickvilla.com/… from the copied text above)
  • Close notepad and then run the file

To remove the live disco, open task manager by pressing ctrl+alt+delete.

Then in processes tab delete wscript.exe

Works for Windows XP/Vista/7

[Results Announced] Giveaway Contest-Win Samsung Galaxy Y

Randomly chosen winner is Shitij Jain!! Congrats! You will soon be contacted for further details.

Everyone else: Keep participating & subscribed so you don’t miss any future TrickVilla giveaway contests.

TrickVilla can be followed on Google+, Facebook, Twitter & RSS.

TrickVilla is giving away a new Samsung Galaxy Y Android Smartphone in our biggest contest ever. 😀

Prizes

Trickvilla will select 1 random lucky winner after the contest. The lucky winner will win the following prize absolutely free:

Samsung Galaxy Y

Get a a chance to win the New Samsung Galaxy Y Android Smartphone for free by participating in TrickVilla’s Contest.

Samsung Galaxy Y

Some highlights of Galaxy Y:

  • Price: INR 8,750 Winners get it for free!
  • Free 2 GB MicroSD card included (expandable to 32 GB)
  • 800 MHz Processor
  • WiFi / EDGE / 3.5G HSDPA / BlueTooth 3.0
  • Android 2.3 Gingerbread
  • 1200mAH Battery
  • 2 MP Camera
  • TouchWiz 3.0
  • Free shipping worldwide

When does the contest end?

The Contest has ended on 14th July, 2012 at 00:00 a.m. IST.

How to enter the contest??

Step 1: Complete at least one of the following tasks to gain entry into this contest.
Step 2: Then, submit your entry details in the next section to confirm your entry.

However, for every task you complete, you gain the mentioned number of extra entries into the contest, thus increasing your chances of winning!

If you have already performed a particular task, mention it in Step 2 section & we’ll count it too.
Like if you’ve already followed us on twitter, do add your twitter handle in Step 2, for us to verify.

Step 1: Perform Task(s)

Task #1. [+2 Entry] Like & Share us on Facebook


Task #2. [+2 Entry] Follow & re-tweet us on Twitter



Task #3. [+2 Entry] Google +1 and Share TrickVilla

[gplus]


Task #4. [+1 Entry] Subscribe via Email

Subscribe to our email updates for latest tech news & tricks directly in your inbox.

IMPORTANT NOTICE: You will receive a verification mail once you submit this form, click on the link given in that mail to confirm your subscription, only then will you be eligible for this contest.

As per our privacy policy & T&C below, we never sell, nor spam your email ID.

Step 2: Enter Social Details

Fill in this form below to help us verify that you’ve performed the above mentioned tasks.

These details are just for verification purpose & we do not spam or sell your details, as per our Privacy Policy.

(*) marked fields are required.

(#) marked fields are conditionally required, with condition mentioned in the text boxes respectively.

(*) Contact Email ID
(#) Facebook Profile Name
(#) Twitter Handle
(#) Google+ Profile Name
(#) Email ID used for Subscription

If you’ve not completed a task, leave its field as it is.

All duplicate entries will be rejected.

Winner

Randomly chosen winner is Shitij Jain…!!

Winner will be randomly chosen, and will be announced in this column. We’ll also email the winner for further info, to let him/her get their prize at their doorstep.

So keep all your 20 fingers crossed 😉

Terms & conditions:

  • No purchase or payment required for winners to redeem their prize, no shipping costs, it’s totally free.
  • No country restrictions, it’s a worldwide contest.
  • Data collected above will be used for the sole purpose of verifying users’ tasks & will not be sold, nor be spammed.
  • TrickVilla reserves the right to reject or approve any entry for the above contest.
  • TrickVilla reserves the right to pick any entry as a winner, randomly.
  • By using our site, you automatically consent to our privacy policy.
  • In case of any disputes, judgement of TrickVilla shall be final & binding.
  • TrickVilla reserves the right to change these Terms & Conditions, whenever required without any prior notice, but by updating the modification date below:
    This T&C was last modified on 23 June, 2012

Leave a comment below or contact us for any queries

Change Facebook Theme & Style

Restyle Facebook Theme and other sites’ themes like Google and YouTube with options of over a hundred themes, effortlessly for free…!!

Free Facebook Theme

Requirements:

Any of the 2 browsers: Mozilla Firefox or Google Chrome

Procedure For Google Chrome:

  • You will find a small “S” symbol within a square at top-right corner of Chrome near the address bar (the symbol is shown below)
    Stylish Logo
  • Open Facebook and then click on this “S” symbol
  • Click on “find more styles for this site” and a new tab will open with lots of Facebook Themes.
  • Click on the one that interests you and you will get a preview of that Facebook theme
  • Click on the “Install with Stylish” button at the top right corner of that page.
  • Then click on install in the dialog box that opens.
  • You are done….check out your new theme at facebook….!!!
Free Facebook Theme

Procedure For Mozilla Firefox:

  • Open Mozilla Firefox, go to https://addons.mozilla.org/en-US/firefox/addon/2108
  • Click on “add to Firefox” button to install the ‘stylish‘ add-on into firefox
  • After installing the add-on, restart your firefox.
  • You will find a small “S” symbol within a square at bottom-right corner of your firefox status bar (the symbol is shown below)
    Stylish Logo
  • Open your facebook account and then click on this “S” symbol
  • Click on “find styles for this site…” and a new tab will open with many Facebook Themes.
  • Click on any one that you like & you will get a preview of that Facebook theme
  • Click on the “Install with Stylish” button at the top right corner of that theme page.
  • Then click on install in the dialog box that opens.
  • Congoz!! Check out your new theme at Facebook..!!

How to Disable the Facebook Theme

You can anytime go back to the original Facebook theme by clicking on the stylish plugin icon and selecting disable for your current theme.

I really loved the Facebook – Dark Shiny Blue, transparency theme & highly recommend trying it…Enjoy 😉

W3 Total Cache Settings and Configuration Guide

Page speed is an important factor in deciding the amount of traffic you get on your website, if your site loads slowly then many people will close it even before reading your content. Also, page speed helps you in SEO & Google Page Rank. This W3 Total Cache Settings Guide will help you overcome this…!!

The best WordPress plugin for this is W3 Total Cache, that caches your site to improve performance & speed. Although there is on more plugin i.e WP Super Cache but W3 Total Cache is a more advanced plugin and it even includes CDN (Content Delivery Network) integration.

W3 Total Cache to speed up WordPress

Since W3 Total Cache Setting is a bit difficult than WP Super Cache, so here is a step by step guide for W3 Total Cache settings.

How to Install W3 Total Cache

  • Go to the Plugins section in your WordPress dashboard  and click on Add New.
  • Then in the search box type “W3 Total Cache” and click on Search plugins.
  • Click Install Now on the first result and activate the plugin.
Installing W3 Total Cache
Installing W3 Total Cache

If you want to download the plugin and upload it through FTP then you can download it from here and then install it manually.

Compare Site Speed before & After W3 Total Cache Settings

To check your site speed, go to Google PageSpeed, type your URL and click on Analyse. Now you’ll see your score out of 100 before W3 Total Cache setting on your site.

Below is TrickVilla’s page speed before W3 Total Cache settings. After configuration of the plugin, we will have a look at the page speed again & see the difference. 😉

Page Speed before W3 Total Cache
TrickVilla Page Speed before W3 Total Cache

W3 Total Cache Settings

After installing W3 Total Cache, you’ll see Performance tab added on the left-hand menu of your WordPress dashboard. Click it to open the W3 Total Cache Settings.

It has a lot of options that may confuse you :p and if not configured properly can even stop your site from working properly. So follow the steps carefully for successful W3 Total Cache settings….

General Settings

From here you can choose whether to enable caching or not. First we’ll configure all the settings and then at the end, click on Preview to test them on the site. If everything’s fine, we’ll hit the Deploy button to make the settings live!

So for now, leave it untouched.

General Settings
General Settings

Page Cache

Enabling page cache decreases the load time of site as it decreases the server load. So click on Enable and choose Disk: Enhanced in Page Cache Method.

Page Cache
Page Cache

Minify

Minify reduces the size of your CSS and HTML files by removing line breaks, spaces and comments from the CSS files, thus delivering them faster. You just have to choose Enable against Minify and leave the rest as default.

Minify Settings
Minify Settings

Database Cache

WordPress works by sending multiple queries to your database and thus sometimes too many queries break down your server. To prevent this, enable Database Cache which saves the result of database queries preventing WordPress from looking into the database everytime.

Keep Database Cache Method to Disk, as in the screenshot.

Database Cache Settings
Database Cache Settings

 

Object Cache

Object Cache may or may not effect your page speed. So first enable it, check your page speed and then disable it and again check your page speed to find the difference. If there is no difference, better disable it.

Object Cache
Object Cache

Browser Cache

Browser Cache tells your Visitor’s Browser how long to store a particular object. Some things like images are not changed from a post frequently and so the cache can just keep the file and not download it again and again, thus saving resources & time.

So Enable it.

Browser Cache Settings
Browser Cache Settings

CDN

CDN or Content Delivery Network hosts static parts of your website on servers around the world. Thus when a visitor opens your page, he gets the static parts from a host nearby, thus decrease your server load and reducing latency. Enable if you have purchased a CDN  and choose your CDN type accordingly.

Now all other settings like Miscellaneous settings, etc. are plug and play. Try different setting and check the difference in your page speed & enable them accordingly. These things are site-specific, you may need some & you may not need others.

Page Cache Settings

Click on Page Cache on the menu bar at the top to open up the specific settings that tell how Page Cache should operate.

General

Check out the screen shot to know the recommended settings.

Page Cache General Settings
page cache general settings

Advanced, Cache Preload, Purge Policy

You can leave all these options default but if you want, you can play with them and check the difference in page speed for optimum W3 Total Cache settings.

Minify Settings

General

Tick both Rewrite URL structure and disable minify for logged in users. The latter is a personal choice though.

Minify General Settings
Minify General Settings

 

HTML & XML

Click on Enable HTML minify settings and then enable all the options except Don’t minify feeds, as in the screenshot.

Minify: HTML XML Settings
Minify: HTML XML Settings

JS

Enable it but if on deploying these settings you find any problem in your site then you can disable this. Also, you can keep other 5 check boxes unchecked.

CSS

Set it up as shown in the screen shot for best performance.

Minify Settings: CSS
Minify Settings: CSS

Database Cache Settings

In general settings click on the check box against 

Object Cache Settings

You can leave this as default or play with it and compare your page speeds for best W3 Total Cache settings.

Browser Cache Settings

See the screen shot to know the recommended general settings. Leave other settings as default.

Browser Cache: General Settings
Browser Cache: General Settings

 

We’ve completed W3 Total Cache settings…!! Go back to General Settings of W3 Total Cache & hit the Preview button to preview the changes on your site. If everything is fine, click the Deploy button to make these settings live.

General Settings
General Settings

You can check the difference in your page speed to know how important W3 Total Cache is. Our Page Speed changed from 85 to 92…!! 😀

TrickVilla Page Speed after W3 Total Cache
TrickVilla Page Speed after W3 Total Cache

These were just the recommended settings that worked for me, so if some of the settings don’t work for you then play around with the other settings to get the best combination for your blog, as remember Every Blog Is Unique.

Leave your thoughts & success in W3 Total Cache settings in the comments section below 😉

Best WordPress Plugins for your Blog

Everyone knows that WordPress is one of the most popular blogging platforms in the world and this is due to the fact that you can do anything you want on your website with the help of WordPress plugins.

Although there are thousands of plugins to choose from but here is a list of the Best WordPress plugins that you’ll need to start your blog and get the most from it.

W3 Total Cache

The W3 Total Cache tops our list of the Best WordPress Plugins as it improves the user experience on your website. It increases your site speed by improving server performance and catching the pages.

W3 Total Cache to speed up WordPress

It is recommended by all major hosting providers and even supports CDN integration. Read our W3 Total Cache Configuration Guide.

WordPress SEO by Yoast

SEO or Search Engine Optimization is the key step for a website to get listed in search engines and WordPress SEO by Yoast is the best SEO plugin available for WordPress.

SEO for WordPress
SEO for WordPress

It will help you rank higher in search engines like Google, making more traffic for your blog, with features like on-page SEO, site SEO, Sitemaps & more. In the age of Google Panda and Google Penguin this plugin is a must.

Akismet

Akismet is the best Anti-Spam WordPress plugin and is the most trusted plugin as it comes with every WordPress installation by default. It removes all the spam comments thus reducing your labor of removing them. But sometimes spam comments do pass through Akismet filters and some legit comment to go to the spam folder, so keep a check on your spam folder as well.

Contact Form 7

Many of the users that come to visit your website like to interact with you more or ask some questions directly rather than commenting on your blog and so the Contact Form 7 plugin helps you create a contact form easily through which users can write there query/suggestions and send them directly to your mail. It doesn’t need any coding and gets ready in just a few minutes.

WPtouch

Due to the increase in smartphones and tablets it has become a necessity for all bloggers to make their blogs readable on all the phones and tablets.

WPtouch for TrickVilla
WPtouch for TrickVilla

WPtouch is a highly recommended plugin as it does the same by making your blog mobile friendly and opening it in a faster and good looking mobile theme.

Subscribe to Comments

This is a recommended plugin as it helps you visitors to subscribe to the comments on your blog posts. It adds a check box after comments giving your users change to subscribe to the comments and receive notification about any new comment on the post by email. Also, you can even a list of all the users subscribed to a blog post comments.

Broken Link Checker

When a visitor click on a link on your website and gets a 404 page it becomes very annoying and he doesn’t return your site. Thus to prevent this Broken Link Checker plugin checks all hyperlinks on your site and notifies you if any of them is broken.

Digg Digg

A must use all in one social sharing plugin, Digg Digg displays all the social sharing buttons on your blog wherever you want either as a fixed block or as nice floating buttons on the side of the content. You can easily modify it to include the buttons you want and exclude the others. Thus now your reader can tweet, like or +1 your posts easily.

WP MashSocial Wigdet

WP Mash Widget at TrickVilla
WP Mash Widget at TrickVilla

WP MashSocial Wigdet is a nice widget that can be added to a blog to increase social interaction with the viewers. It has buttons for twitter, facebook, google plus, pinterest and even feed subscription and so you don’t need to do any coding to add all these buttons to your sidebar.

Quick Adsense

Every blog needs some sort of monetization to continue its services and Adsense is the most commonly used source of income. Quick Adsense helps you insert Adsense adds wherever you want (before content, in middle of content, at the end etc) easily.

WordPress Firewall 2

WordPress Firewall 2 is an updated version of WordPress Firewall and helps you in securing your blog from attacks. It checks the web requests to identify and stop the most obvious attacks and sends you a mail informing you about the attack and the IP address of the attacker. Thus you can block the IP and prevent any further attacks from the same person.

YARPP

YARPP or Yet Another Related Posts Plugin gives you a nice way to show the posts related to the current post. The plugin has options for template customization and for adding related posts in feeds. It even catches the related post data thus increasing performance.

WP Smush.It

Optimizing images decreases your page load time and thus increases performance of your site. WP Smush.It compresses your images using yahoo’s SmushIt Developer Tool decreasing the images size without any loss in picture quality.

WP-Optimize

WP optimize at TrickVilla
WP optimize at TrickVilla

WP-Optimize is a database cleanup and optimization tool that doesn’t need any coding or PhpMyAdmin access. It removes spam comments, trashed comments, post revisions and cleans up your database to free up space and increase performance.

Bonus Plugins

These plugins are a must if you have a multi Author Blog where you allow guest posts too.

Sabre

Sabre or Simple Anti Bot Registration Engine prevents spam registration on your blog and even gives you option to add your policies on the registration page which the user will have to agree to. You can add a captcha or math test or even a simple text test and also choose its compexity.

Peter’s Collaboration E-mails

The plugin send automatic emails at the different stages of submission of a post by a contributor. When a contributor submits a post the authors selected by you get an email to approve or reject the post. Once approved, the contributor gets an email notifying him about the approval and also the link to the post. If the post is drafted by the author, the contributor gets the notification about the same with link to edit and resubmit the post.