|
Upgrade instructions are included in this article. I have released Mad Blanks 1.2.2. This release adds a few new features and corrects one minor bug. The following major features have been added or modified in Mad Blanks 1.2.2:
- Added more special tags to the Score Scripting engine:
[:user_ip_address:] The user's IP address (if available from the web server) [:user_host:] The user's host name (if available from the web server - in Apache you'll need HostnameLookups On inside httpd.conf) [:user_user_agent:] The "user agent" web browser information from the user's web browser (if available from the web server) [:user_referer:] The address of the web page the user was on before submitting the form to reach the Score Script (if available from the web server)
- Added a new logging feature that allows arbitrary data from the Score Script output to be logged as part of the Mad Blanks record created for a form submission. This means that information such as calculated survey results and scores can now be saved with the Mad Blanks records. See the linked forum post for more details.
- The mostrecentlookup tag can now be used as the default (pre-selected) response on a Mad Blanks form. This will allow you to have the user submit a form and then show what s/he entered last time as the defaults when showing the same form again.
The following minor features, additions, and bug fixes have been added to Mad Blanks version 1.2.2: How to upgrade the Mad Blanks component and modules to version 1.2.2 Before making any changes to your Joomla! website, it is always wise to back up your Joomla! directory tree and your website's database. If you have custom configuration settings in <Joomla! root directory>/administrator/components/com_madblanks/madblanksconfig.php or custom CSS in <Joomla! root directory>/components/com_madblanks/madblanks.css, be sure to save a copy of those files in particular. Once you have backed up your data, you can simply uninstall the previously installed version of the component and then install com_madblanks-1.2.2.zip in the Installers->Components section of your Joomla! administrator interface. No data is removed from the Mad Blanks database tables when uninstalling the Mad Blanks component. When installing the new version of the component, the installer will attempt to update the existing Mad Blanks database tables, if necessary. In most cases this should succeed without a problem. In the event that the installer is unable to apply the needed updates, the post-installation screen will provide you with an SQL query or queries that you should run on your database using your database manager. There are changes to the structure of the Mad Blanks records database table in this (version 1.2.2) release. If you are updating to Mad Blanks 1.2.2 from a version prior to 1.2.2, you should receive either a confirmation that the records table was updated in green text or a notice to run one or more SQL queries given in red text when upgrading from a previous release of the component. How to upgrade the modules to version 1.2.2 To upgrade the modules, you can uninstall them and install the new ones using the Installers->Modules section of your Joomla! administrator interface. The disadvantage of this is that any module parameters you have saved will be lost. If you wish to preserve the parameters you have saved in your older-version Mad Blanks modules, in a temporary directory manually unzip the Mad Blanks 1.2.2 modules you will be installing and then manually copy those files to the <Joomla! root directory>/modules directory, overwriting the existing Mad Blanks module files. Note that each module consists of two files: a PHP and an XML file. Once you have copied the module files, edit each Mad Blanks module on your website and resave the module parameters in order to be sure all the new parameters as well as the original parameters have values saved in the database. In general, failure to (re)save the parameters of any newly installed or upgraded module or plugin in Joomla! can cause strange behavior. |