Tag Archives: Tutorial

Display Images/Thumbnails With Related Posts in WordPress

I am a big fan of Yet Another Related Posts Plugin (YARPP) which is the best WordPress related posts plugin available today. However, quite recently I started using a widget from Linkwithin. The plus point of Linkwithin widget was that it displayed images along with the related posts.

Linkwithin did a pretty good job with the widget. However, I was not entirely satisfied with it as the related posts were no where near as good as what YARPP showed.

To my joy, I did find a nice tutorial that allows you to create a custom YARPP template that will make it look quite similar to a Linkwithin widget.

Related Posts with Thumbnails/Images on Website

We also have it in action on this very blog and our also in our RSS feed. At the end of the post you will see a custom YARPP template in action, which displays images along with the related posts.

Related Posts with Thumbnails/Images in RSS Feeds

If you want to build a similar related posts section visit this tutorial from Build Internet to create related posts with thumbnails. You can choose to style your related posts in any way by customizing the CSS code.

If you are not keen to make code changes, you can make use of other plugins that perform the same job.

  1. Related posts with thumbnails
  2. Rich Related Posts

Liked this post? Don’t forget to visit more on the blog.

How Can I Change the Icon for a File Extension or File Type?

It is very easy to change the icon associated with a File Type once you learn the trick. Below I’ll show you how to change the icon for the Text file type. Windows will let you do this, but it’s not often easy. I recommend that you try out a small free stand-alone program called “Default Programs Editor” that makes it simple to change the icons for file types.

Default Programs Editor (DPE)

You can download DPE here. (requires Microsoft .Net Framework 3.5)
If you don’t want to or can’t use .Net Framework, then this freebie, File Association Editor, will also work for you.

DPE will download as a zip file. You’ll need to extract the contents of the zip file to a folder of your choice. Start the program by double clicking Default Programs Editor.exe. Then click File Type Settings.

cn_dpe01

Choose the Icondialog.

cn_dpe02

Use the search field to find the file type you want. In this case I typed in txtto find the file type for text files.

cn_dpe03

It will show the current icon associated with Text files. Click the Browsebutton to select a new icon.

cn_dpe04

Now it shows the location of the current icon. Click Browseonce more, to go to an icon file or library you need. I selected the shell32.dlllibrary which is in the Windows\System32 folder.

cn_dpe05

Just for fun, I chose the red circle with a crossbar through it.

cn_dpe06

Click the Save Iconbutton and you’ll see this message.
The settings for Text Documentwere successfully changed

cn_dpe07

Finally, click Doneand you’ll be able to see that all your chosen files have a new icon.

cn_dpe08

Here’s what my text files look like now.

cn_dpe09

I don’t think I’ll be keeping this icon for my text files, but I hope you get the idea.

Be careful out there and have a nice day.

No Printers Found? Windows can’t open Add Printer. The local print spooler service is not running.

There are times when you want to print a webpage or document and see a message like the one below even though you have all the printers and drivers installed.

no_printer_found

Since the error says that there are no printers installed the most logical solution would be to check why it is giving you this error, so you head to the printers in control panel.

 missing_printers

Most of the times you will see that the printers are missing from the available devices and when you try to install a printer you will see an error like the one below.

local_printer_spooler_not_working

Case of the Missing Printers

As you can see from the error above the printers are missing due to the Print spooler service being disabled or stopped, you can restart your computer to get the printers back. But why waste time when you can do it without restarting the PC.

Here are the steps to get your missing printers back without having to restart the PC.

Step 1: Press Windows Key + R to open the run box and type in services.msc.

start_print_spooler_service

Step 2: The services window will open, in that find Print Spooler and start the service.

printers_magically_reappear

Once you have done that refresh or reopen the printer page from control panel and you will see that all your printers should reappear again.

While you are printing please try and save the environment use a add-in to print what you want or an excellent service that will allow you to save pages and inks by removing data and images you do not want to print. Happy Printing.

Block Flash Animations In Google Chrome

Flash animations can be annoying at times and many of them use voice to alert users about something like Congratulations, you have just won a iPod, now when you are in a office these animations and sounds can put you into a spot of embarrassment.

block_flash_animations

If you are a user like me, there is no easy way to block flash animations, however a user script called BlockFlash Plus will allow you to block Flash animations in Google Chrome. You can play the animations by clicking a button on the flash object.

BlockFlash Plus Features

  • Based on the BlockFlash and FlashBlock scripts.
  • Supports both Flash and Silverlight
  • Uses two methods to block Flash and Silverlight elements to ensure they are blocked
  • Uses an icon to cover animations (complete with mouse-over effect)
  • Supports whitelist (add url to "var exclude")
  • Runs instantly.

This is a userscript, so the installation is a bit different, if you do not know how to use userscripts in Google Chrome read our tutorial to Enable Userscripts support in Google Chrome.

Download BlockFlash Plus

Tutorial: Optimising DD-WRT Firmware

If you guys have read my tutorial on Flashing DD-WRT Firmware On Your Wifi Router, then this tutorial I am going to tell you guys on how to Optimise the DD-WRT firmware for better performance.

Step 1: To access the setup page of your wi-fi router after you have flashed the DD-WRT firmware, you need to open your browser and type 192.168.1.1 and press enter. You will first be asked to enter a username and password which you will be asked henceforth to access the settings page of your router. After you enter a username and password, press change password to continue.

1

Step 2: The first page which opens by default is the Status page of the router and shows the current status of your router.

2

Step 3: After this users should click the setup page and setup their Wi-fi router so as to use it properly with their existing DSL connection.

3

Under the Network Setup category, you can change the Local IP Address to whatever you desire. From next time if you want to enter the settings page of your Router, you should enter the IP Address which you have entered here. I recommend changing the default Local IP Address so as to avoid the conflict of the Local IP Address between your Wi-fi router and your ADSL Modems, as the settings page of most of the ADSL modems can be accessed only via 192.168.1.1. Make the required changes and leave other things on their default value and click on “Apply Settings”. Keep in mind that the “Apply Settings” option saves the settings of the router permanently by writing it to the NVRAM of the router whereas the “Save” option only saves the changes you made to the settings page temporarily.

Step 4: After you have saved your settings and your router has rebooted, you need to go to the Wireless page on your router settings page.   Make sure that the Wireless Mode is set to AP which stands for Access Point. If all your devices will be using only the b or g wifi network, then select the respective option from Wireless Network Mode. Keep in mind that wireless g is faster than b but most of the old devices don’t support wireless g network. Enter a proper name for your Wifi network under the Wireless Network Name (SSID). The Wireless Channel option allows you to select which frequency your wifi router should use. You need to play around with this option from time to time as you need to make sure that you use a totally isolated frequency so as to get the maximum wireless network range possible. The more wifi networks present in your area using the same Wireless Channel as your wifi router, the less will be the network range of your wifi router. If you want keep your Wifi network hidden, select ‘Disable’ under Wireless SSID Broadcast or vice-versa. After making the necessary changes, don’t forget to save your changes by clicking on “Apply Settings”.

Step 5: After this you need to go to the Wireless Security tab under the Wireless page. There you will find the required options to protect your wifi network. It is highly recommended that you protect your wifi network so as to prevent unauthorised usage of your Internet. 4

Keep in mind that you must chose from Disable, WEP, WPA Personal, WPA Enterprise, or RADIUS. Also make sure that all the wifi devices in your network use the same security mode. Keep a note of the pass phrase which you get or set as you need to enter the pass phrase in all your wifi enabled devices when they connect to the wifi network for the first time.

Step 6: After this go to the Advanced Settings tab under the wireless page. Disable the CTS Protection Mode and WMM (Wireless Multimedia Support). Keep the rest of the settings at their default values. One interesting option to note here is the ‘TX Power’ option. This option allows you to increase the amount of power supplied to the wireless antenna’s of your wifi router. Increasing the TX Power to a certain extent may increase the range of your wifi network but if you set a value too high, your router may burn.

Step 7: Another interesting and useful option present in the DD-WRT firmware is that it allows you to restart your wifi router after a certain period of time or on a fixed time everyday or maybe on a fixed day every week. To access this useful option you need to click on Administration->Keep Alive.

5

Make the required changes according to your needs and then click on Apply Settings.

I hope this tutorial of mine will allow you to extract the maximum from your wireless router. If you guys have any doubt, please feel free to leave a comment so that I can help you.

How to Find Files Fast Using DOS and Notepad

Do you have a large hard drive? Mine isn’t very big, but I’ve still got over 90,000 files on it.

When I use Windows built in search tool to search for files, it seems to take ages for it to even start looking. It’s almost like the search tool wakes from a deep sleep and decides to start work after a cup of coffee. I can’t blame it, I feel the same way most mornings.

cn_findfiles_np_01

The solution I’ve come up with works for me and maybe it’ll work for you as well. It doesn’t require any tools that aren’t already on your Windows machine.

I wanted to search a network drive with over 600,000 files on it. Windows searches were taking up to half an hour to produce results. I was prepared to take a lunch break when I initiated a search.

I decided to fall back on my rusty old skills as a DOS batch file guru.

I wrote up a single line of text in Notepad with the following command on it where M: was the network drive I wanted to search.

DIR /B /S M:\*.* > C:\M_file_list.txt

cn_findfiles_np_02

Then I saved the file as a .BAT file in a handy location.

Double clicking the BAT file launched it. When I launch a batch file, it helps if I stand and pronounce this chant in a loud voice with both hands raised over the PC.

By the Power of DOS, I command you!

That really works best in a quiet room full of people who have no clue what I’m doing.

Fifteen minutes later, I had a text list that included the full path of all 600,000 files on the M: drive.

cn_findfiles_np_03

Now whenever I need to find a file, I open up the M_file_list text file and hit F3 or CTRL+F to open up the text search dialog.

Searching the text file is hundreds of times faster than Windows standard search was taking. The search takes around   5 or 10 seconds instead of half an hour. That does cut into my long lunch breaks, but we all have to sacrifice things in these hard times.

cn_findfiles_np_04

cn_findfiles_np_05

When I find the file I want, I copy the file path and paste it into the Start -> Run menu, to open the folder or the file itself.

cn_findfiles_np_06

Happy searching!

You can leave out the chanting if you have to.

Google Reader Send To Su.pr Button

In the past we have covered several custom Google Send To buttons for , however one of our readers recently asked us that he wanted to create a custom Google Reader Send to button to send a article to Su.pr the URL shortening service from StumbleUpon.

google_reader_supr_custom_button

The benefits of sending a link to su.pr is that you get custom analytics and more. You can find out all about it in our Su.pr review.

Here is a tutorial on how you can add a custom Google Reader send to button for su.pr, if you are new to adding custom buttons read our earlier tutorial on adding custom send to buttons to Google Reader.

Creating Link To Submit To Su.pr API

We will be using the API provided by su.pr, the first thing is to get the URL that will allow you to use the su.pr API to submit content to it, you will find the basic URL below.

http://su.pr/api/post?msg=Hello World! http://www.youurl.com&services;[]=twitter&services;[]=facebook&login=yourusername&apiKey=yourapikey

Now taking this as the base URL, we replace the required things and create the URL we will use in Google Reader.

http://su.pr/api/post?msg=${title} ${url}&services;[]=twitter&services;[]=facebook&login=yourusername&apiKey=yourapikey

The text that we have marked in bold green is the services su.pr will post the URL too, if you do not want to post to or please remove this from the URL.

The text marked in red should be replaced with your own su.pr username and API key which you will find under the settings in your su.pr account (direct link).

Creating Custom Google Reader Send To Button for Su.pr

Once you have created the URL we require for submitting a link to su.pr using a custom button, head to the settings page in Google Reader and go to the Send To and create a custom link (follow this tutorial if you don’t know how to).

Here are the parameters you will require;

Name: Su.pr
URL: The One we created above
Icon URL: http://cdn.stumble-upon.com/favicon.ico

Once you have added the params click on save button.

Submitting Content To Su.pr From Google Reader

Sending link to Su.pr is the same, use the send to menu to send links to su.pr.

supr_send_to_button_response

However the response you may see might be weird, but don’t worry if you created the right URL the content will be submitted to su.pr, you can confirm that by visiting your su.pr account.

Hope this helps all you su.pr lovers who want better stats and use Google Reader to share content using the Send To button.

Tutorial: How To Flash DD-WRT Firmware On Your Wi-fi Router

A few days ago I had told you guys about running  OpenSource firmware on your Wi-Fi router. Here are the steps you should follow to flash DD-WRT Linux Firmware on your Wi-fi router. Please keep in mind that here I am using a Linksys WRT-54G2 Wifi router which is completely compatible with DD-WRT firmware. Before proceeding with the steps please make sure that your Wi-Fi router is completely compatible with the DD-WRT firmware from  here. I would also like to notify my dear readers that they should follow the steps as I have said and if by chance they brick their Wi-fi router I should not be held responsible for it.

Step 1: Set your PC static IP to 192.168.1.10 and Subnet Mask to 255.255.255.0

image

Step 2: Install Linksys tftp. You can download it from befsx41_Tftp.

Step 3: Disable your Anti virus and Firewall even the inbuilt Windows Firewall.

Step 4: Reset your router and plug in the ethernet (LAN) cable at the back of the Router in any of the provided slot except for the ‘Internet’ port.

Step 5: Start the Linksys Tftp utility and set the Server IP to 192.168.1.1. Then set the password to admin or you may leave it blank. Try either of them, if one fails, try the other one.

image

Step 6: The first file you need to flash is the VxWorksPrep-G2V1.bin file.

Step 7: It will take some time for the flashing to complete, after its complete, your router should reboot, if it does not then do a manual reboot. Wait for atleast 2-3mins before doing a manual reboot.

Step 8: Again start the Linksys tftp.exe utility and now flash the VxWorksKiller-G2V1.bin. After flashing the file, again wait for 2-3mins for the router to reboot on its own and if it does not, do a manual reboot.

Step 9: Now flash the latest DD-WRT firmware available for your model. After the flashing is done, wait for atleast 4minutes so that the router sets itself up and reboots atleast twice. If the router does not reboot automatically, do a manual reboot.

7_dd-wrt_iterface

Step 10: After that hard reset the router. Now go to 192.168.1.1 via your browser and setup your new powerful Wifi router. Don’t forget to change back the static IP of your PC back to default.

After this if you ever need to upgrade to the latest DD-WRT firmware, you can use the web interface to do so.

To download the latest DD-WRT firmware for your model, please check  www.dd-wrt.com. If you face any other problem, please feel free to ask here and I would be happy to help.

Cross posted from the Gadgets Buzz blog.

Tutorial: How To Flash DD-WRT Firmware On Your Wi-fi Router

A few days ago I had told you guys about running OpenSource firmware on your Wi-Fi router. Here are the steps you should follow to flash DD-WRT Linux Firmware on your Wi-fi router. Please keep in mind that here I am using a Linksys WRT-54G2 Wifi router which is completely compatible with DD-WRT firmware. Before proceeding with the steps please make sure that your Wi-Fi router is completely compatible with the DD-WRT firmware from here. I would also like to notify my dear readers that they should follow the steps as I have said and if by chance they brick their Wi-fi router I should not be held responsible for it.

Step 1 : Set your PC static IP to 192.168.1.10 and Subnet Mask to 255.255.255.0

image

Step 2 : Install Linksys tftp. You can download it from befsx41_Tftp.

Step 3 : Disable your Anti virus and Firewall even the inbuilt Windows Firewall.

Step 4 : Reset your router and plug in the ethernet (LAN) cable at the back of the Router in any of the provided slot except for the ‘Internet’ port.

Step 5 : Start the Linksys Tftp utility and set the Server IP to 192.168.1.1. Then set the password to admin or you may leave it blank. Try either of them, if one fails, try the other one.

image

Step 6 : The first file you need to flash is the VxWorksPrep-G2V1.bin file.

Step 7 : It will take some time for the flashing to complete, after its complete, your router should reboot, if it does not then do a manual reboot. Wait for atleast 2-3mins before doing a manual reboot.

Step 8 : Again start the Linksys tftp.exe utility and now flash the VxWorksKiller-G2V1.bin. After flashing the file, again wait for 2-3mins for the router to reboot on its own and if it does not, do a manual reboot.

Step 9 : Now flash the latest DD-WRT firmware available for your model. After the flashing is done, wait for atleast 4minutes so that the router sets itself up and reboots atleast twice. If the router does not reboot automatically, do a manual reboot.

7_dd-wrt_iterface

Step 10 : After that hard reset the router. Now go to 192.168.1.1 via your browser and setup your new powerful Wifi router. Don’t forget to change back the static IP of your PC back to default.

After this if you ever need to upgrade to the latest DD-WRT firmware, you can use the web interface to do so.

To download the latest DD-WRT firmware for your model, please check www.dd-wrt.com. If you face any other problem, please feel free to ask here and I would be happy to help.

How To Uninstall Google Chrome Extensions? Where are Extensions Installed?

Though we have already told you about a excellent Google Chrome extension manager, for the past few days I have been getting questions from people on how to uninstall extensions.

I did point out many people to the manager but you can still uninstall extensions in Chrome without having to use a additional tool.

Here are some of your questions answered with regards to using extensions in Google Chrome.

Where Are Google Chrome Extensions Installed?

Google Chrome installs all extensions into the user profile, you can find it under the default installation folder. Once you are inside the installation directory, go to User Data folder and then to your profile directory, if you don’t have any profiles it will be the Default folder.

You will find all the extensions inside the Extensions folder inside your profile folder, deleting will delete the extension.

Uninstall Extensions in Google Chrome

To uninstall extensions in Google Chrome follow the steps listed below.

Step 1: Open a new tab in Chrome and type in chrome://extensions/without the quotes in the Omnibar, this should open the inbuilt extension manager in Chrome.

google_chrome_inbuilt_extension_manager

Step 2: On this page you will find options to uninstall extensions that are installed for your profile, click on the Uninstall button to remove the extension you want to.

As easy as it gets once you know where to look :-), hope this helps you out.