Enabling more then 6 simultaneous downloads in IE8

IE8 Logo

Internet Explorer 8, as it may be known, doesn’t support more than 6 parallel downloads. While downloading a large number of big files from slow servers, bypassing this limit becomes a necessity. Like the previous versions, this limit is defined in the registry, but in a different location.

To change this limit, close all instances if Internet Explorer, open the registry editor by going to Start-> Run-> regedit. Navigate to ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InternetExplorer\Main\FeatureControl\FEATURE_MAXCONNECTIONSPER1_0SERVER’. In the right pane, find the DWORD value ‘iexplore.exe’ and change it to 15(or any other number you may want). If the DWORD entry doesn’t exist, create it by “Edit-> New->  DWORD value”, and put the name as ‘iexplore.exe’. Change the value to 15 and leave the base as Hexadecimal. Navigate to the adjacent key ‘FEATURE_MAXCONNECTIONSPERSERVER’ and perform the same actions.

Internet Explorer should now allow more than 6 simultaneous downloads.

Add canonical links to phpBB

phpbb-logo-greenIt’s old news that Google and other major search engines have added support for the <link rel="canonical"> tag to help cut down on duplicate indexing of web pages. While plugins for WordPress, Drupal and Magneto E-Commerce have been released, there has been none such modification for phpBB, where it is, arguably, most needed.

phpBB administrators have used various methods to cut down on this duplicate indexing issue, but adding a canonical URL seems to be the most subtly effective way. Google honours this tag very strongly, and upon finding it in a web page, it should only index the canonical page.

In the view of all this, I have put together a mod for phpBB3 to add the canonical links to phpBB board pages. The Canonical URL mod adds these lines to the phpBB pages :

In the index page :

[html]<link rel="canonical" href="http://www.example.com/" />[/html]

In the forum pages :

[html]<link rel="canonical" href="http://www.example.com/viewforum.php?f=1" />[/html]

In the topic pages :

[html]<link rel="canonical" href="http://www.example.com/viewforum.php?f=1&t=1" />[/html]

For global threads* :

[html]<link rel="canonical" href="http://www.example.com/viewforum.php?t=1" />[/html]

phpBB.com support thread :

http://www.phpbb.com/customise/db/mod/canonical_url/support/mod_discussion_canonical_url-t_875

Download modification :

download

Note :

Normally, global threads will have canonical URLs like this :

[html]<link rel="canonical" href="http://www.example.com/viewforum.php?t=1" />[/html]

If you want the global threads to have canonical URLs with an “f=Y” query string, you just need to make a little change to the code. After installing the mod, open viewtopic.php.
Find :

[php] ‘U_CANONICAL’ => generate_board_url() . "/viewtopic.$phpEx?" . (($topic_data[‘topic_type’] == POST_GLOBAL) ? ” : "f=$forum_id&amp;") . "t=$topic_id" . (($start) ? "&amp;start=$start" : ”),[/php]

In-line Find :

[code]? ”[/code]

Replace with :

[php]? "f=Y&amp;"[/php]

Replace ‘Y’ with the forum id of the forum you want your global threads to belong to.

Firefox 3.5.5 available for download

Mozilla FirefixJust more than a week after the last stable release (3.5.4), Mozilla has released a small stability update for the popular browser, bringing it to version 3.5.5. This release addresses two critical bugs which crashes the browser and three other normal priority bugs. The full changelog can be viewed here.

You should be automatically prompted to upgrade to the latest version; but if you don’t feel like waiting, grab the latest release from here.

Disable write access for USB drives

Copy Protect data from USB drives

Copying data using USB drives at the work place can be a major security concern. Copying data to USB drives can be disabled via a simple registry tweak. For this tweak to work in Windows XP, you need to at least have SP2 installed.

  • Open the registry editor by going to Start > Run and typing ‘regedit‘.
  • Open the “HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies” key. If the key does not exist, create it by going to “Edit > New > Key“.
  • Right-click on the right pane and select “New > DWORD Value” or “DWORD Value (32 Bit)“. Name the entry “WriteProtect“.
  • Open the new entry and set it’s value to “1“. Restart your computer for the copy-protection to take effect.

To re-allow write access for USB drives, just change the value of the “WriteProtect” entry to “0“.

Changing the default command prompt directory

Cmd Prmpt

When command prompt is started up in Windows, it defaults to the directory X:\Documents and Settings\Username.

This directory can be changed by creating a new registry entry which will contain commands which is automatically executed when command prompt starts. This can be compared to the “autoexec.bat” file which existed in old DOS and Windows systems.

In the Registry editor(Start> Run> regedit), navigate to “HKEY_CURRENT_USER\Software\Microsoft\Command Processor”. Click on Edit> New> Expandable String Value. Type in Autorun as the name and press Enter. Check that the value type is ‘REG_EXPAND_SZ’. Double-click on “Autrun”, and enter in the value data cd c:\desired_folder\. This command will be executed every time command prompt starts, and you will start right in your desired folder.