CHANGELOG v1.4.0 Stable A = Added new file M = Modified existing file ************************************************************************ * v1.4.0 New Feature Sponsors ************************************************************************ Please give a big thanks and show your support to our sponsors: http://solidphp.com/community/showthread.php?t=4495 ************************************************************************ * Important Notes! ************************************************************************ 1. Run "UPGRADE_LOCALIZATIONS.sql" in the v1.4.0 Upgrade directory through phpmyadmin or mysql directly, all at once. However, please run "UPGRADES.sql" (in this same directory) one query at a time. 2. Open api/configuration.php in your text editor and look for the "order_forms" section. Change valid tasks array to look like this: // order_forms 'change_currency', // <-- add this 'cart', 3. Open m3_configuration.php in your text editor and look for the "order" section: elseif($spbas=='order') Change the valid tasks array to look like this: // A list of valid tasks. $conf['valid_tasks']=array( 'change_currency', // <-- add this 'cart', ************************************************************************ * New Features (15) ************************************************************************ 1. Added new 3rd party code hooks that are triggered when creating a new account in the order system or the customer area registration form. ------------------------------------------------------------------------ M /trunk/admin/modules/3rd_party/edit.php M /trunk/admin/modules/3rd_party/editor.php M /trunk/api/modules/customer_areas/register.php M /trunk/api/modules/order_forms/create_customer_account.php M /trunk/api/modules/order_forms/order_complete.php 2. Added search to the customer area license view. Also improved pagination and made it possible to set how many rows to view at one time. ------------------------------------------------------------------------ M /trunk/admin/modules/license/lib/classes/licensing.php M /trunk/admin/modules/users/lib/classes/users.php M /trunk/api/modules/customer_areas/my_package_details.php M /trunk/customers/compiler/my_package_details.php M /trunk/customers/includes/classes/pagination.php M /trunk/customers/templates/default/css/layout.css M /trunk/customers/templates/default/javascript/application.js M /trunk/customers/templates/default/my_package_details.php 3. Added a global license access log viewer at Admin -> Licensing -> Licenses, Logs. ------------------------------------------------------------------------ M /trunk/admin/modules/license/lib/classes/licensing.php M /trunk/admin/modules/license/license_edit.php M /trunk/admin/modules/license/license_editor.php M /trunk/admin/templates/default/common/main/css/layout.css M /trunk/admin/templates/default/license/license_editor.php 4. Added the ability to change the addon display order in the order system for a product. ------------------------------------------------------------------------ M /trunk/admin/modules/products/lib/classes/products.php M /trunk/admin/modules/products/product_edit.php M /trunk/admin/templates/default/order_forms/order_form_edit.php M /trunk/admin/templates/default/products/product_edit.php 5. Added an export feature for the localization which generates a plain text file that can be easily edited and translated. Also added an import feature to complete the functionality. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/classes/localization.php M /trunk/admin/modules/common/lib/functions.php M /trunk/admin/modules/developer/lang_editor.php M /trunk/admin/templates/default/developer/lang_editor.php 6. Added the ability to clone a product from the admin UI. ------------------------------------------------------------------------ M /trunk/Upgrade/v1.4.0/CHANGELOG.txt M /trunk/admin/modules/products/lib/classes/products.php M /trunk/admin/modules/products/product_editor.php M /trunk/admin/templates/default/products/product_editor.php 7. Added left and right arrows to the pay gateway logs so they are easier to traverse. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/functions.php M /trunk/admin/modules/pay_gateways/pay_gateway_editor.php M /trunk/admin/templates/default/pay_gateways/pay_gateway_editor.php M /trunk/m3_configuration.php 8. Added the ability to delete the entire order from the Billing -> Orders view in addition to removing the order only. Deleting the entire order will remove the order, invoice, package and assets. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/invoices/lib/classes/invoices.php M /trunk/admin/modules/orders/lib/classes/orders.php M /trunk/admin/modules/orders/order_editor.php M /trunk/admin/modules/packages/lib/classes/packages.php M /trunk/admin/templates/default/orders/order_editor.php 9. Added the Clickbank module. ------------------------------------------------------------------------ A /trunk/admin/modules/pay_gateways/Clickbank A /trunk/admin/modules/pay_gateways/Clickbank/admin.php A /trunk/admin/modules/pay_gateways/Clickbank/form.php A /trunk/admin/modules/pay_gateways/Clickbank/return.php A /trunk/admin/templates/default/pay_gateways/Clickbank A /trunk/admin/templates/default/pay_gateways/Clickbank/admin.php A /trunk/admin/templates/default/pay_gateways/Clickbank/gateway_notes.php 10. Invoices created via cron now send an e-mail notification. ------------------------------------------------------------------------ M /trunk/admin/modules/cron_jobs/create_invoices.php M /trunk/admin/modules/invoices/invoice_editor.php M /trunk/admin/modules/invoices/lib/classes/invoices.php M /trunk/admin/templates/default/invoices/invoice_editor.php 11. Add a new user via admin, registering in the customer area or registering in the order system now sends an e-mail containing the registration details to the user. ------------------------------------------------------------------------ M /trunk/admin/modules/users/lib/classes/users.php M /trunk/admin/modules/users/user_editor.php M /trunk/admin/templates/default/users/user_editor.php M /trunk/api/modules/customer_areas/register.php M /trunk/api/modules/order_forms/create_customer_account.php 12. Added an e-mail to notify customers when a support package has expired. ------------------------------------------------------------------------ A /trunk/admin/modules/cron_jobs/support_package_expired.php M /trunk/admin/modules/support_package/lib/classes/support_packages.php 13. Added an e-mail to notify customers when a download control has expired. ------------------------------------------------------------------------ A /trunk/admin/modules/cron_jobs/download_control_expired.php M /trunk/admin/modules/download_control/control_editor.php M /trunk/admin/modules/download_control/lib/classes/download_control.php M /trunk/admin/templates/default/download_control/control_editor.php 14. Added wire transfer module. ------------------------------------------------------------------------ M /trunk/admin/modules/customer_areas/customer_area_edit.php M /trunk/admin/templates/default/customer_areas/customer_area_edit.php 15. Added the ability to send e-mails per pay gateway. ------------------------------------------------------------------------ M /trunk/api/modules/order_forms/order_complete.php ************************************************************************ * Improvements (16) ************************************************************************ 1. PHPAudit v2 importer now suspends the package if the license is not active. ------------------------------------------------------------------------ M /trunk/admin/modules/import/templates/phpaudit_v2.php 2. Changed 3rd party module runtime file name. ------------------------------------------------------------------------ D /trunk/admin/modules/3rd_party/modules/iDevAffiliate/order_complete.php A /trunk/admin/modules/3rd_party/modules/iDevAffiliate/run.php 3. Rewrote the Moneybookers module. ------------------------------------------------------------------------ M /trunk/admin/modules/pay_gateways/Moneybookers/admin.php M /trunk/admin/modules/pay_gateways/Moneybookers/form.php M /trunk/admin/modules/pay_gateways/Moneybookers/return.php M /trunk/admin/templates/default/pay_gateways/Moneybookers/admin.php 4. Rewrote the 2Checkout module. ------------------------------------------------------------------------ M /trunk/admin/modules/pay_gateways/2Checkout/form.php M /trunk/admin/modules/pay_gateways/2Checkout/return.php M /trunk/admin/modules/order_forms/lib/classes/order_forms.php M /trunk/admin/templates/default/pay_gateways/2Checkout/gateway_notes.php 5. Added the ability to change the primary contact for a customer from the admin customer view. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/order_forms/lib/classes/order_forms.php M /trunk/admin/modules/taxes/lib/classes/taxes.php M /trunk/admin/templates/default/customers/customer_edit.php 6. Added support for never in the local key array index 13. ------------------------------------------------------------------------ M /trunk/admin/modules/license_methods/PHPAudit/functions.php 7. Implemented price sheets on the customer side. It is now possible to switch between currencies and set give a specific user their own price sheet. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/classes/modules.php M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/modules/order_forms/lib/classes/order_forms.php M /trunk/admin/modules/order_forms/order_form_edit.php M /trunk/admin/modules/orders/lib/classes/orders.php M /trunk/admin/modules/orders/order_edit.php M /trunk/admin/modules/products/lib/classes/products.php M /trunk/admin/modules/products/product_editor.php M /trunk/admin/templates/default/customers/customer_edit.php M /trunk/admin/templates/default/order_forms/order_form_edit.php M /trunk/api/configuration.php M /trunk/api/modules/customer_areas/invoice.php M /trunk/api/modules/order_forms/cart.php A /trunk/api/modules/order_forms/change_currency.php M /trunk/api/modules/order_forms/checkout.php M /trunk/api/modules/order_forms/order_complete.php M /trunk/api/modules/order_forms/payment.php M /trunk/api/modules/order_forms/product.php M /trunk/api/modules/order_forms/start_session.php M /trunk/api/modules/order_forms/view_cart.php M /trunk/m3_configuration.php M /trunk/order/compiler/cart.php A /trunk/order/compiler/change_currency.php M /trunk/order/compiler/order_complete.php M /trunk/order/compiler/payment.php M /trunk/order/compiler/product.php M /trunk/order/compiler/view_cart.php M /trunk/order/includes/classes/forms.php M /trunk/order/templates/default/cart.php M /trunk/order/templates/default/css/layout.css M /trunk/order/templates/default/javascript/application.js M /trunk/order/templates/default/payment.php M /trunk/order/templates/default/product.php M /trunk/order/templates/default/view_cart.php 8. The invoice payments view now links the transaction id to the pay gateway log. ------------------------------------------------------------------------ M /trunk/admin/modules/invoices/invoice_edit.php M /trunk/admin/modules/invoices/lib/classes/invoices.php M /trunk/admin/templates/default/invoices/invoice_edit.php 9. The admin invoice view now shows the package and links to it. ------------------------------------------------------------------------ M /trunk/admin/modules/invoices/invoice_edit.php M /trunk/admin/modules/invoices/lib/classes/invoices.php M /trunk/admin/templates/default/invoices/invoice_edit.php 10. When adding a new order form category, if it is public and is the only category make it the default. ------------------------------------------------------------------------ M /trunk/admin/modules/order_forms/lib/classes/order_forms.php 11. Added the date and time to the order view. ------------------------------------------------------------------------ M /trunk/admin/templates/default/orders/order_edit.php 12. Added the short description to renewal products in the admin product view. ------------------------------------------------------------------------ M /trunk/admin/modules/products/product_editor.php 13. PHPAudit per server licensing did not show the IP address in the admin view. ------------------------------------------------------------------------ M /trunk/admin/templates/default/license_methods/PHPAudit/license_instances.php 14. Added default values to packages::add_package() for price_sheet_id and sku_pricing_id. Added missing functionality, now when choosing a product from the add new product view the price sheet select box adjusts automatically. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php M /trunk/admin/templates/default/customers/customer_edit.php M /trunk/admin/modules/packages/lib/classes/packages.php 14. Language translations can now be global to a module only by making both the task the module name. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/classes/localization.php 15. Changed the example cron job format. If it works for you currently you can ignore this change. ------------------------------------------------------------------------ M /trunk/admin/templates/default/cron/cron_editor.php 16. Updated phpmailer (http://sourceforge.net/projects/phpmailer/) ------------------------------------------------------------------------ A /trunk/admin/modules/common/lib/classes/class.pop3.php M /trunk/admin/modules/common/lib/classes/class.smtp.php M /trunk/admin/modules/common/lib/classes/phpmailer.php ************************************************************************ * Bug Fixes (24) ************************************************************************ 1. Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/user/public_html/admin/modules/products/product_edit.php on line 298 ------------------------------------------------------------------------ M /trunk/admin/modules/products/product_edit.php 2. Fixed mysql error on the language editor. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/classes/pagination.php M /trunk/admin/modules/developer/lang_editor.php 3. Fixed no translation found on the admin profile editor. ------------------------------------------------------------------------ M /trunk/admin/templates/default/admin/admin_edit.php 4. Changing payment method makes design disturbance. ------------------------------------------------------------------------ M /trunk/order/templates/default/javascript/application.js M /trunk/order/templates/default/payment.php 5. Changed admin -> customers, manage -> pricing tab to "Remove Pricing" instead of "Remove User" ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php M /trunk/order/templates/default/javascript/application.js M /trunk/order/templates/default/payment.php 6. Fixed check/uncheck all in the data grids for IE browser. ------------------------------------------------------------------------ M /trunk/admin/templates/default/common/main/javascript/application.js 7. Pagination works for the first page in the customer area, after that it defaults to 10 again. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/classes/pagination.php M /trunk/admin/modules/customers/customer_editor.php 8. Unassign from order form did not work. ------------------------------------------------------------------------ M /trunk/admin/modules/pay_gateways/lib/classes/pay_gateways.php 9. Deleting a price tier now removes any assets assigned to the price tier lookup table. ------------------------------------------------------------------------ M /trunk/admin/modules/products/lib/classes/products.php 10. Orders having no one time fees with recurring fees created $0.00 invoices. ------------------------------------------------------------------------ M /trunk/admin/modules/packages/lib/classes/packages.php 11. The Paypal module does not use my logo even when I enter a correct url. ------------------------------------------------------------------------ M /trunk/admin/modules/pay_gateways/Paypal/form.php 12. Removing an invoice from the customer view loses tab. ------------------------------------------------------------------------ M /trunk/admin/modules/customers/customer_edit.php 13. Order something, go back and it creates a 0 incomplete order w/ no parts. ------------------------------------------------------------------------ M /trunk/api/modules/order_forms/payment.php 14. Added strip_tags() to enforce the send e-mail as text. The WYSIWYG editor automatically adds html so this setting was needed to counter that. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/classes/email_handler.php 15. Recurring now registers as recurring when checking out with Paypal. ------------------------------------------------------------------------ M /trunk/admin/modules/order_forms/lib/classes/order_forms.php M /trunk/api/modules/order_forms/payment.php 16. Fixed date() error message on line 139. ------------------------------------------------------------------------ M /trunk/customers/compiler/my_package_details.php 17. Fixed foreach() error message in the admin UI when no data array is present. ------------------------------------------------------------------------ M /trunk/admin/modules/pay_gateways/pay_gateway_editor.php 18. Bug fix: missing 5 arg error message. ------------------------------------------------------------------------ M /trunk/admin/modules/price_sheets/price_sheet_edit.php 19. Defined date format was used instead of the application standard format when editing ivnoices. This caused the dates to reset to invalid. ------------------------------------------------------------------------ M /trunk/admin/modules/invoices/invoice_edit.php 20. Fixed bug with local license key expiry in the get local key API. ------------------------------------------------------------------------ M /trunk/admin/modules/license_methods/PHPAudit/functions.php M /trunk/api/modules/license/get_local_key.php 21. Broken image -> removed overlib function from checkout. ------------------------------------------------------------------------ M /trunk/order/templates/default/checkout.php 22. Order e-mails not being sent on new order. ------------------------------------------------------------------------ M /trunk/api/modules/order_forms/order_complete.php 23. Fixed bug that set the license expires date to 1 for the iono method. Cron runs would result in instantly expired licenses. ------------------------------------------------------------------------ M /trunk/admin/modules/license/lib/classes/licensing.php 24. Admin -> Licenses -> Recently Accessed -> Manage was giving an error 404 missing licensing type. ------------------------------------------------------------------------ M /trunk/admin/modules/license/lib/classes/dashboard.php ************************************************************************ * Configuration File Additions (2) ************************************************************************ 1. Changed api/configuration.php valid tasks array to look like this: // order_forms 'change_currency', // <-- add this 'cart', --- 2. Changed m3_configuration.php, the "order" section - elseif($spbas=='order'), valid tasks array to look like this: // A list of valid tasks. $conf['valid_tasks']=array( 'change_currency', // <-- add this 'cart', ************************************************************************ * CSS Changes & Template Changes (12) ************************************************************************ 1. Changed order/templates/default/order_complete.php from this:
To this:
--- 2. Added css to order/templates/default/css/layout.css on line 348: #spbas #nav_bar div { float: left; margin-top: -4px; } #spbas #price_sheet_id { border: 1px solid #ddd; color: #717478; font: normal 11px verdana, arial, helvetica, serif; letter-spacing: 0; padding: 2px; width: auto; } --- 3. Changed order/templates/default/cart.php from this: