ADDED: A dismiss button for those who have manually installed the IP 2 Nations database.
ADDED: Now uses a 24hour cookies to store country code and country name to reduce repeated SQL queries. That is, every visitor that triggers this shortcode will incur only 1 MySQL query on the site.
UPDATED: The IP2Nations IP-to-Country database to latest release (August 22, 2012)
FIXED: Bug with undefined function error (thanks Merle!)
FIXED: Bug with incomplete internationalisation functions. Will complete for a later release.
UPDATED: the IP 2 Nation database to the version released 3rd June 2012. You will be prompted to run the database upgrade after the plugin is installed.
ADDED: Plugin options/settings page - you must enable any of the 2 main features to use anything from the plugin. This is in order to maximum plugin
performance so only the absolutely necessary code is used.
ADDED: Automatic Amazon Affiliate links using shortcode: [CBC_AMAZON] . You can also specify Amazon associate tags for each Amazon website
and the plugin will automatically use it with the appropriate site and generate an affiliate link for your product ASIN depending on where the visitor is from.
ADDED: Plugin now conforms to Worpit standard plugin structure. Faster, stable and automatically generates options pages.
ADDED: Shortcode [CBC_CODE /] - which will print your country code.
ADDED: Special case for local testing, where if your IP Address is detected as 127.0.0.1, country and country code will be detected as 'localhost'.
Tidied up the code A LOT.
Improved the Admin Notices and DB update process, and is now using the correct WordPress action hooks.
Added special case for local testing, where if your IP Address is detected as 127.0.0.1, country and country code will be 'localhost'.
Began coding for adding some nice features later.
Requires: 3.2.0 or higher Compatible up to: 3.5.1 Last Updated: 2013-2-1 Downloads: 1,924