Vote 4

(WordPress) Translator Plugin Gold Version 1.2 Released

July 21st, 2008

WordPress Translator Plugin GoldTranslator Plugin Gold (for WordPress blogs) provides automatic machine translation of blogs in 32 languages (more will be added soon) - German, Spanish, French, Italian, Portuguese, Japanese, Korean, Chinese Simplified, Chinese Traditional, Arabic, Dutch, Greek, Russian, Norwegian, Brazilian Portuguese, Bulgarian, Croatian, Czech, Danish, Finnish, Hungarian, Icelandic, Latin American Spanish, Filipino, Polish, Romanian, Serbian, Slovenian, Swedish, Welsh, Turkish and Latin. We provide unlimited free updates and upgrades and 6 months of free support.
Translator Plugin Gold has a lucrative affiliate program too. You can make a cool 30% from each sale!

The new features and fixes in version 1.2 (free upgrade for existing customers) are:

New Features

  1. Directory browsing of translator plugin directory has been disabled for better security.
  2. The ability to switch off translation statistics (from translator option page under Basic->Statistics->Disable Statistics section). You may gain some performance by switching off the statistics simply because it uses a database query to store the data. You can still use the Statistics widget to display your existing statistics. However it will not be updated if you decide to switch off stats. You can again switch it on any time.
  3. In Translator Plugin Gold 1.2 we added a new hook / callback facility to enable you to view and process the translated page before it is served to the end user. Please refer to developer guide to know how to use it. The importance of this hook cannot be understated.
    You can use the tgTranslatorPostFilterHook to edit / modify the content of the translated pages before it is served to the user. You can also take action based on the content or engine used to translate the page.
    This hook can be used to handle errors in translation or even catch and process new types of errors. The actions include 1. ability to send custom error pages, 2. re-direct to original pages (for example in case of error), 3. displaying custom error messages and more. Few use cases for this hook are:

    • Provide customized title, meta tags & descriptions for translated pages to eliminate concerns about duplicate content. Check out the translated pages in simple thoughts for some usage examples (hint: look at the meta tags and title).
    • Provide custom error pages or re-direct to original page when translator is unable to translate a page (due to overload or temporary unavailability of engines).
    • Filter translated pages
    • Add your own content to translated pages like advertisements etc. You can also do it using existing translator API. However this provides full control over processing translated pages before it is served to the end-user.

Read more (704 words) »

Vote 4

(WordPress) Translator Plugin Pro Version 5.2 Released

July 21st, 2008

WordPress Translator Plugin ProTranslator Plugin Pro (for WordPress blogs) provides automatic machine translation of blogs in 13+1 languages (many more will be added soon) - German, Spanish, Russian, Arabic, Dutch, Greek, French, Italian, Portuguese, Japanese, Korean, Chinese Simplified, Chinese Traditional and optionally Norwegian (note: we provide 32 languages with Translator Plugin Gold). We provide unlimited free updates and upgrades and 6 months of free support. The new features and fixes in version 5.2 (free upgrade for existing customers) are:

New Features

  1. Directory browsing of translator plugin directory has been disabled for better security.
  2. The ability to switch off translation statistics (from translator option page under Basic->Statistics->Disable Statistics section). You may gain some performance by switching off the statistics simply because it uses a database query to store the data. You can still use the Statistics widget to display your existing statistics. However it will not be updated if you decide to switch off stats. You can again switch it on any time.
  3. In Translator Plugin Pro 5.2 we added a new hook / callback facility to enable you to view and process the translated page before it is served to the end user. Please refer to developer guide to know how to use it. The importance of this hook cannot be understated.
    You can use the tgTranslatorPostFilterHook to edit / modify the content of the translated pages before it is served to the user. You can also take action based on the content or engine used to translate the page.
    This hook can be used to handle errors in translation or even catch and process new types of errors. The actions include 1. ability to send custom error pages, 2. re-direct to original pages (for example in case of error), 3. displaying custom error messages and more. Few use cases for this hook are:

    • Provide customized title, meta tags & descriptions for translated pages. Check out the translated pages in simple thoughts for some usage examples (hint: look at the meta tags).
    • Provide custom error pages or re-direct to original page when translator is unable to translate a page (due to overload or temporary unavailability of engines).
    • Filter translated pages
    • Add your own content to translated pages like advertisements etc. You can also do it using existing translator API. However this provides full control over processing translated pages before it is served to the end-user.

Read more (618 words) »

Vote 3

Free WordPress Plugin To Remove Generator Meta Tag / Version Information From WordPress Blogs

June 30th, 2008

WordPress, in recent versions, have forces the display of WordPress as the generator in meta tags along with the version information in the header of your WordPress blogs - . Unlike previous versions there is not easy way to remove it. Unless WordPress is using that to provide support (which it doesn't), I don't see any good reason for providing that extra bit of help to hackers, do you? Here is a simple plugin which will remove the WordPress generator meta tag along with its version information.

Read more (171 words) »

Vote 4

Free WordPress Plugin To Disable wlw_manifest & EditURI Link From WordPress Blog Header

June 29th, 2008

Newer versions of WordPress (2.3.1 and above) adds two extra lines to your blog header. They are:

You need them to use Windows Live Writer to write to your WordPress blog. However many, like me, do not use Windows Live Writer. For them such headers are simply junk and add to the size of their pages (and download time) without adding any value to them or to their users. For such bloggers (majority I presume) here is a simple WordPress plugin (Angsuman's Windows Live Manifest Remover WordPress plugin) which removes these two header links from your WordPress blog.

Download Angsuman's Windows Live Header Remover Plugin, rename the file to angsumans-windows-live-header-remover.php, upload it to wp-content/plugins folder of your blog and activate it from Plugin Management screen. It requires zero configuration. It does one thing and does it well - remove these two useless headers from your WordPress blog.

Technical Note: There is a similar WordPress plugin which does the same thing. This plugin works differently in that it doesn't add the code directly to the plugin body but to the 'init' hook. This ensures that this plugin will remain compatible with future versions of WordPress as it doesn't depend on the relative order of execution of the plugins versus the default WordPress filters. Sounds complicated? To put it simply - Install the plugin and then forget about it forever. It will continue to serve you (your blog) in the background for a very long time.

You can get more free WordPress plugins here.

Vote 1

How To: Non-Blocking Semaphore Access in PHP

June 3rd, 2008

Semaphore is used to restrict access to shared resources, such as shared memory or to limit the number of processes that may simultaneously use a resource, in a multi-process or multi-threaded environment.

In php using semaphore a process must wait while accessing a shared resource currently used by another process. But this may not be required for all cases. Sometimes we need to just verify whether a resource has been locked and move on. Unfortunately we have no way to check the status of a semaphore lock in php. Let's see how we can implement non-blocking semaphore access in PHP.
Read more (351 words) »

Vote 1

Programming Language Survey: Please Provide Your Input & See Results

May 15th, 2008

A short survey on your programming language preferences, shouldn't take more than 1 minute of your time. Please participate and let others know too.
Read more (41 words) »

Vote 0

Program (Source Code) to Trim Whitespaces from Files…

April 20th, 2008

PHP is not only a very competent web development language (and part of LAMP stack). It is also a very capable language for writing (command line) scripts. You can write simpler and cleaner scripts with php than perl. Here is a php code which takes a file name as input, trims whitespace from each line of the file and finally saves the result back in the same file.

Read more (149 words) »

Vote 1

Translator Plugin Gold 1.1 Released

April 4th, 2008

Translator Plugin GoldTranslator Plugin Gold provides automatic machine translation of your WordPress blog in 32 languages - German, Spanish, French, Italian, Portuguese, Japanese, Korean, Chinese Simplified, Chinese Traditional, Arabic, Dutch, Greek, Russian, Norwegian, Brazilian Portugue, Bulgarian, Croatian, Czech, Danish, Finnish, Hungarian, Icelandic, Latin American Spanish, Filipino, Polish, Romanian, Serbian, Slovenian, Swedish, Welsh, Turkish and Latin.

The new features in version 1.1 are:

1. In the option page (under Advanced -> Miscellaneous section) it now provides SQL queries which you can execute in your database to significantly speed-up Translator Pro on heavily trafficked sites. It adds indexes to the tables for faster querying.

2. Improved user interface

3. Translator Plugin Pro adds a new feature to verify completeness of translated pages by checking for keywords or tags in your page. This elegantly handles the failures in third party translation engine. This adds to the extensive checks we perform to ensure quality and completeness of translated pages.

4. New translation engine errors have been added for automatic fail-over support and load-balancing.

5. Overall performance improvement and optimizations have been added to this release.

6. New extensive documentation have been added in this release, old documentation revised and updated. You can read the full documentation here. Don't forget to check our developer API for writing your custom look and extensions.

You can read about all the features here.

We now provide online help desk on our new support site. Please register there for customer support.

Please post your feedback in Translator Plugin Gold forum.

Translator Plugin Gold 1.1 is fully compatible with WordPress 2.5 as well as earlier version of WordPress.

Vote 0

How To: PHP Script To Windows EXE File Generation

March 22nd, 2008

PHPPHP files are scripts which are interpreted by php interpreter (php.exe in windows). Converting them to exe files makes it easy to distribute PHP applications to Windows users. Unfortunately Zend, the PHP company, doesn't provide a way to convert PHP scripts to Windows executables. Today I am going to show you a simple way to convert your PHP scripts to regular Windows executable files (.exe). Not only that you can also convert an entire directory of PHP scripts and assign one of the files as the main file to execute first. Additionally the source files are encoded which not only improves the performance but also protects your source code. You can also set the icon for the file which is useful when you are distributing your PHP application as a stand-alone executable.

Read more (333 words) »

Vote 0

PHP Security through Suhosin or Hardening Patch

March 3rd, 2008

Suhosin is an advanced protection system for PHP installations. It was designed to protect servers and users from known and unknown flaws in PHP applications and the PHP core. Suhosin comes in two independent parts, that can be used separately or in combination. The first part is a small patch against the PHP core, that implements a few low-level protections against bufferoverflows or format string vulnerabilities and the second part is a powerful PHP extension that implements all the other protections.

Read more (141 words) »