CHANGELOG v1.9.0 Stable A = Added new file M = Modified existing file ************************************************************************ * Important Notes (4) ************************************************************************ 1. To download this release you will need a current support and upgrade package. Contact us if you need to renew. 2. If ionCube is installed at the server level please check that you are running the latest loaders. 3. Please read this entire change log. 4. Failure to complete note 3 above will result in a broken upgrade. ************************************************************************ * New Features (7) ************************************************************************ 1. Added a new login & session share API for integration with other apps. For more information please see: http://www.spbas.com/loginapi ------------------------------------------------------------------------ M /api/modules/customer_areas/loginshare.php 2. Added the ability to turn the qty ordered of a product into units. This enables you to sell things like GBs of data or hours of development work. ------------------------------------------------------------------------ A /admin/modules/3rd_party/modules/Custom_Variable_QTY_to_Seats/run.php M /admin/modules/license/lib/classes/licensing.php M /admin/modules/order_forms/lib/classes/order_forms.php M /admin/modules/orders/lib/classes/orders.php M /admin/modules/packages/lib/classes/packages.php M /admin/modules/products/lib/classes/products.php M /admin/modules/products/product_edit.php M /admin/templates/modules/products/product_edit.php M /api/modules/order_forms/payment.php 3. Added reCAPTCHA to the registration form in the customer area. ------------------------------------------------------------------------ M /api/modules/customer_areas/register.php M /customers/compiler/register.php M /customers/templates/default/register.php 4. Added support for Disqus comments (www.disqus.com) on KB articles. ------------------------------------------------------------------------ M /kb/includes/classes/3rd_party/Disqus/Disqus.php M /kb/templates/default/article.php M /kb/templates/default/css/layout.css M /kb/compiler/article.php M /api/modules/kb/article.php M /api/modules/customer_areas/contact.php A /admin/modules/3rd_party/modules/Disqus/settings.php A /admin/templates/modules/3rd_party/modules/Disqus/settings.php M /admin/modules/3rd_party/lib/classes/3rd_party.php M /admin/templates/modules/kb/article_edit.php M /admin/modules/kb/article_edit.php M /admin/modules/kb/lib/classes/articles.php M /admin/modules/kb/profile_edit.php 5. Downloads from the customer area are now logged with UI elements added to both the admin and customer view per download. ------------------------------------------------------------------------ A /admin/modules/media/download_logs.php M /admin/modules/media/lib/classes/media.php A /admin/templates/modules/media/download_logs.php M /api/modules/customer_areas/download_secure.php M /api/modules/customer_areas/my_package_details.php M /customers/compiler/download_secure.php M /customers/compiler/my_package_details.php M /customers/templates/default/css/layout.css M /customers/templates/default/my_package_details.php 6. Added an option to the SPBAS admin area to force the use of SSL. ------------------------------------------------------------------------ M /admin/index.php M /admin/modules/common/lib/functions.php 7. Added the ability to manually e-mail invoices. ------------------------------------------------------------------------ M /admin/modules/customers/customer_edit.php M /admin/templates/modules/customers/customer_edit.php ************************************************************************ * Improvements (15) ************************************************************************ 1. Moved the order status from the parts tab to the general tab. Changing an order from incomplete or processing will now issue the assets through the standard order::process() method. ------------------------------------------------------------------------ M /admin/modules/orders/lib/classes/orders.php M /admin/modules/orders/order_edit.php M /admin/templates/modules/orders/order_edit.php M /api/modules/order_forms/order_complete.php 2. Made extensive improvements to the addon order process. ------------------------------------------------------------------------ M /admin/modules/common/lib/classes/modules.php M /admin/modules/helpdesk/lib/classes/helpdesk.php M /admin/modules/license/lib/classes/licensing.php M /admin/modules/order_forms/lib/classes/order_forms.php M /admin/modules/orders/lib/classes/orders.php M /admin/modules/orders/order_edit.php M /admin/modules/packages/lib/classes/packages.php M /admin/templates/conf_source_template.php M /admin/templates/modules/customers/customer_edit.php M /api/configuration.php M /api/modules/customer_areas/my_package_details.php M /api/modules/license/get_license_info.php M /api/modules/order_forms/add_to_cart.php A /api/modules/order_forms/addon.php M /api/modules/order_forms/payment.php A /cms/compiler/static/promotions.php A /cms/compiler/static/tour.php M /customers/compiler/downloads.php M /customers/compiler/my_package_details.php M /customers/compiler/my_packages.php M /customers/templates/default/my_package_details.php M /customers/templates/default/my_packages.php M /install/m3_configuration.example.php M /license_server/index.php M /m3_configuration.php A /order/compiler/addon.php M /order/compiler/payment.php M /order/compiler/view_cart.php A /order/templates/default/addon.php M /order/templates/default/header.php M /order/templates/default/payment.php M /order/templates/default/view_cart.php 3. Added support to the integration code for situations where certain built in PHP functions are disabled. ------------------------------------------------------------------------ M /admin/modules/license_methods/SPBAS/integration_code/SPBAS.class.php 4. The download_control::expires_for_customer() method now takes into consideration the download control status. Suspended download controls are now excluded from the results. ------------------------------------------------------------------------ M /admin/modules/download_control/lib/classes/download_control.php 5. Added extra check to make sure campaign mail has not already been sent. ------------------------------------------------------------------------ M /admin/modules/cron_jobs/send_mass_mail.php 6. Instead of returning No translation found! for an invalid key, it now returns the key itself which is more useful. ------------------------------------------------------------------------ M /admin/modules/common/lib/functions.php 7. Added a new code hook that enables you to step in and modify the item name sent to the pay gateway. ------------------------------------------------------------------------ M /admin/modules/pay_gateways/Authorize.net SIM/form.php M /admin/modules/pay_gateways/Paypal/form.php M /admin/modules/pay_gateways/iDEAL/form.php M /api/modules/order_forms/payment.php 8. Added the ability to delete a ticket from the ticket view. ------------------------------------------------------------------------ M /admin/modules/helpdesk/view_ticket.php M /admin/templates/modules/helpdesk/view_ticket.php 9. Removed legacy code references for the SPBAS licensing method. ------------------------------------------------------------------------ M /admin/modules/license_methods/SPBAS/license_edit_type.php M /admin/templates/modules/license_methods/SPBAS/license_edit_type.php 10. Removed unnecessary formatting in the product column. ------------------------------------------------------------------------ M /order/compiler/payment.php M /order/compiler/view_cart.php 11. Removed extra spbas id div tags. ------------------------------------------------------------------------ M /customers/templates/default/contact.php M /customers/templates/default/css/layout.css M /customers/templates/default/dashboard.php M /customers/templates/default/downloads.php M /customers/templates/default/index.php M /customers/templates/default/invoice.php M /customers/templates/default/opt_out.php M /customers/templates/default/register.php 12. Combined the phpmailer classes into one file so the localizations are maintained. ------------------------------------------------------------------------ D /admin/modules/common/lib/classes/class.pop3.php D /admin/modules/common/lib/classes/class.smtp.php D /admin/modules/common/lib/classes/phpmailer.lang-en.php M /admin/modules/common/lib/classes/phpmailer.php 13. When calling the create license function it now strips anything other than: a-zA-Z_ ------------------------------------------------------------------------ M /admin/modules/license/lib/classes/licensing.php 14. Add $conf['mysql_set_UTF-8']=true; to m3_configuration.php to set the charset to UTF using the mysql_set_charset function. ------------------------------------------------------------------------ M /admin/modules/common/lib/classes/modules.php 15. Added functionality to hide toggle level admin menu with unix like . naming. ------------------------------------------------------------------------ M /admin/modules/common/lib/classes/template.php ************************************************************************ * Bug Fixes (32) ************************************************************************ 1. Set standard error reporting for the logout files. ------------------------------------------------------------------------ M /customers/logout.php M /kb/logout.php M /order/logout.php 2. Fixed issue with displaying double quotes in the KB title HTML input box in admin. ------------------------------------------------------------------------ M /admin/templates/modules/kb/article_edit.php 3. Now verifies that the pay gateway is assigned to the order form before displaying checkout options - this only affects the Google Checkout gateway. ------------------------------------------------------------------------ M /api/modules/order_forms/view_cart.php 4. Changed the iDevAffiliate module to use the total due today instead of the order amount. Now discounts (if any) are included in the amount sent to iDevAffiliate. ------------------------------------------------------------------------ M /admin/modules/3rd_party/modules/iDevAffiliate/run.php 5. Removed Renewal as a status at the product pricing level. ------------------------------------------------------------------------ M /admin/templates/modules/products/product_edit.php 6. Fixed issue that caused the quoted helpdesk ticket reply to truncate on certain string combinations. ------------------------------------------------------------------------ M /admin/modules/helpdesk/view_ticket.php 7. Fixed bug that caused the access token validation to fail for the PHPAudit licensing method. ------------------------------------------------------------------------ M /admin/modules/license_methods/PHPAudit/validate.php 8. Changed the HTML body tag to have an id of spbas. This is a result of cleaining up duplicate spbas ids in prior commits. ------------------------------------------------------------------------ M /customers/templates/default/header_print.php 9. Message bodies sent base64 encoded are now properly handled by the helpdesk. ------------------------------------------------------------------------ M /admin/modules/helpdesk/lib/classes/helpdesk.php 10. Added sx() to the department data, converts entities for the password. ------------------------------------------------------------------------ M /admin/modules/cron_jobs/helpdesk_ticket_import.php 11. Added check to be sure the user created function exists before calling it for license creation. ------------------------------------------------------------------------ M /admin/modules/license_methods/Iono/functions.php M /admin/modules/license_methods/PHPAudit/functions.php M /admin/modules/license_methods/SPBAS/functions.php 12. The default pay gateway setting was ignored. ------------------------------------------------------------------------ M /api/modules/order_forms/payment.php 13. Added sx() to the recent orders amount display. ------------------------------------------------------------------------ M /admin/modules/dashboard/lib/classes/dashboard.php 14. Fixed bug that accepted an empty expiration date for the local license key when updating a license in the admin UI. ------------------------------------------------------------------------ M /admin/modules/license/license_edit.php M /admin/modules/license_methods/SPBAS/license_edit_type.php M /admin/templates/modules/license_methods/SPBAS/license_edit_type.php 15. The local expiration date is now updated at the license level in admin as the API increments it. ------------------------------------------------------------------------ M /admin/modules/license_methods/SPBAS/functions.php M /api/modules/license/SPBAS_validate_license.php 16. Removed slashes from the auto-inserted signature at view ticket in admin. ------------------------------------------------------------------------ M /admin/modules/helpdesk/view_ticket.php 17. Added css to cover ul and ol inside the article ID div tag. They were reset before, styled them to look like ul and ol HTML elements. ------------------------------------------------------------------------ M /kb/templates/default/css/layout.css 18. Removed the HTML strong tag from the CSS reset. ------------------------------------------------------------------------ M /kb/templates/default/css/reset.css 19. Fixed bug that caused the KB category now to be empty if only the main category was checked in admin. ------------------------------------------------------------------------ M /api/modules/kb/index.php 20. Added missing javascript file. ------------------------------------------------------------------------ A /kb/templates/default/javascript/vertical_shake.js 21. Added sx() to the ticket subject at the view. ------------------------------------------------------------------------ M /admin/templates/modules/helpdesk/view_ticket.php 22. Fixed issue with duplicate html ids ------------------------------------------------------------------------ M /kb/templates/default/footer.php M /kb/templates/default/header.php 23. Removed the first instnace of this in kb/templates/default/footer.php: ------------------------------------------------------------------------ M /kb/templates/default/footer.php 24. Fixed the broken department test connectivity link. ------------------------------------------------------------------------ M /admin/modules/helpdesk/department_edit.php M /admin/modules/helpdesk/lib/classes/helpdesk.php 25. Fixed incorrectly named variable that caused the directory to not display for per-install licensing. ------------------------------------------------------------------------ M /admin/templates/modules/license_methods/PHPAudit/license_instances.php 26. Nonexistant media sets will not be issued at package creation. Plus added in query to remove the entry from the product assets map ------------------------------------------------------------------------ M /admin/modules/media/lib/classes/media.php 27. Cast item count query result as an integer and verify it is or is not greater than zero. ------------------------------------------------------------------------ M /admin/modules/order_forms/lib/classes/order_forms.php 28. Cast paid and expected values as float in order::process(). ------------------------------------------------------------------------ M /admin/modules/orders/lib/classes/orders.php 29. Fixed bug with empty cart_session in the form that posts to Authorize.net. ------------------------------------------------------------------------ M /admin/modules/pay_gateways/Authorize.net SIM/form.php 30. Added the instance information back into the customer area license view for the SPBAS licensing method. It was overlooked until now. ------------------------------------------------------------------------ M /api/modules/customer_areas/my_package_details.php M /customers/compiler/my_package_details.php M /customers/templates/default/my_package_details.php 31. Added strip_tags() to the reply body in the admin ticket view. ------------------------------------------------------------------------ M /admin/modules/helpdesk/view_ticket.php 32. Fixed bug that would not allow a currency to have only a symbol suffix. ------------------------------------------------------------------------ M /admin/modules/currency/currency_editor.php 33. Added checks to stop e-mails from ever sending to any of the department e-mail addresses. ------------------------------------------------------------------------ M admin/modules/common/lib/classes/email_handler.php ************************************************************************ * CSS, Template and Configuration File Changes (18) ************************************************************************ 1. in the customers section of api/configuration.php change this: 'download_ticket_attachment', // <-- v1.8 'department_options', // <-- v1.8 to this: 'download_ticket_attachment', // <-- v1.8 'department_options', // <-- v1.8 'loginshare', // <-- v1.9 1a. change this: 'order_process', 'order_complete', to this: 'order_process', 'order_complete', 'addon', // <-- v1.9 ------------------------------------------------------------------------ 2. in kb/templates/default/header.php change this:
to this:
------------------------------------------------------------------------ 3. in kb/templates/default/css/layout.css change this: #spbas #article_options { margin: 0 0 0 24px; float: left; width: 30%; } to this: #spbas #article_options { margin: 0 0 0 24px; float: left; width: 30%; } /* added v1.9 */ #spbas #article ul, #spbas #article ol { list-style-type: disc; margin: 0 0 0 36px; } #spbas #article ol { list-style-type: decimal; } #spbas #article li { margin: 0 0 0 6px; } #spbas #disqus { border-top: 1px dotted #ccc; margin-top: 36px; padding-top: 12px; } #spbas .dsq-options { margin-top: 18px; } #spbas .dsq-item-trackback { display: none; } /* END: added v1.9 */ ------------------------------------------------------------------------ 4. in customers/templates/default/index.php change this: to this: ------------------------------------------------------------------------ 5. in customers/templates/default/downloads.php change this: to this:
------------------------------------------------------------------------ 6. in customers/templates/default/downloads.php change this:
-
to this: - ------------------------------------------------------------------------ 7. in customers/templates/default/contact.php change this:

to this:

------------------------------------------------------------------------ 8. in customers/templates/default/dashboard.php change this:

to this:

8a. in customers/templates/default/dashboard.php change this:
  • /images/icons/announcements.gif' class='icon' /> '>

  • to this:
  • /images/icons/announcements.gif' class='icon' /> '>

  • ------------------------------------------------------------------------ 9. in customers/templates/default/invoice.php change this:




    to this:



    9a. in customers/templates/default/invoice.php change this:

    to this:

    ------------------------------------------------------------------------ 10. in customers/templates/default/opt_out.php change this:

    to this:

    ------------------------------------------------------------------------ 11. in customers/templates/default/register.php change this:

    to this:

    ------------------------------------------------------------------------ 12. in customers/templates/default/css/layout.css change this: /* Login */ #spbas #login { margin: 0 auto; width: 500px; } to this: /* Login */ #spbas #login { margin: 0 auto; width: 500px; } /* Register */ #spbas #register { margin: 0 auto; padding: 0 0 12px 0; width: 500px; } /* Contact */ #spbas #contact { margin: 0 auto; padding: 0 0 12px 0; width: 500px; } 12a. in customers/templates/default/css/layout.css add this to the bottom of the file: #spbas .margin_top { margin-top: 12px; } ------------------------------------------------------------------------ 13. in customers/templates/default/my_package_details.php change this: > to this: > ( ").toggle();'> )
    ' class='scroll margin_top' style='display: none;'>
    13a. change this:
  • ", 1, "&package_id=");'>
  • to this:
  • ", 1, "&package_id=");'>
  • ", 1, "&package_id=");'>Addon Packages
  • 13b. in customers/templates/default/my_package_details.php change this:

    Click to Download




    to this:

    Click to Download




    13c. change this:
    to this:
    13d. change this: