How Do I Upgrade To A New Version?

Posted in FAQs

As of Wednesday, June 6, 2011 we have updated the core of Geo Country Bundle to allow for a simpler upgrade path to the new Geo City Plus. Also, as of Wednesday, June 6, 2011 Geo Country Lite can also be upgraded to either Geo Country Bundle or Geo City Plus with ease, provided it was downloaded from GeoTargetingScripts.com. After careful consideration, the Geo Country Lite product found in the WordPress Plugin Repository was not upgraded in the same way.

Upgrading Products Downloaded From GeoTargetingScripts.com After Wednesday, June 6, 2011

Simply overwrite the files in the existing ‘magiks_geo_targeting’ folder to upgrade. If moving from one product to another, be sure to overwrite ALL files. If updating the SAME product, you can generally get away with updating just ‘/magiks_geo_targeting/init.php’ and ‘/magiks_geo_targeting/magiks_geo_targeting.php’ unless otherwise noted.

Upgrading Products Downloaded From GeoTargetingScripts.com Prior To Wednesday, June 6, 2011

If your original download was from prior to Wednesday, June 6, 2011 the simple upgrade method above will not work. A lot of changes were made internally to ensure seamless upgrades moving forward. However, the upgrade should still be rather simple.

For each content block used in your posts / pages / widgets / and themes, a couple small adjustments have to be made. In the ‘m_geocountry’ shortcode we renamed the ‘countrycodes’ parameter to ‘locations’.

And, when using the shortcodes in theme files, if using the code as we suggested, your code will check to see if the ‘class’ exists before executing the shortcode. The class has been renamed to: ‘magiks_geo_shortcode_class’.

Manual Database Upgrades

Our products include GeoLite data created by MaxMind, available from http://www.maxmind.com/. Although not necessary, a new version of the databases are available for download each month. The database required is specific to the product that you are using. Please refer to the readme.html file that accompanies your product for specific instructions.

No comments.

Leave a Reply