CHANGELOG v1.8.0 Stable A = Added new file M = Modified existing file ************************************************************************ * Important Notes (1) ************************************************************************ 1. We've added the ability to run a cron job directly. This is important if you plan to run the new helpdesk. Please visit the following location to create a cron job specifically to import helpdesk tickets: Admin -> Application -> Scheduler -> Install the cron job at the very bottom for Helpdesk. ************************************************************************ * New Features (2) ************************************************************************ 1. Added an integrated helpdesk. ------------------------------------------------------------------------ Changed paths: A /trunk/admin/modules/cron_jobs/helpdesk_ticket_import.php A /trunk/admin/modules/helpdesk A /trunk/admin/templates/modules/helpdesk A /trunk/admin/modules/order_forms/lib/classes/order_forms.php A /trunk/api/modules/customer_areas/department_options.php A /trunk/customers/compiler/helpdesk.php A /trunk/customers/compiler/view_ticket.php A /trunk/customers/includes/classes/email.php A /trunk/customers/templates/default/helpdesk.php M /trunk/customers/templates/default/javascript/application.js M /trunk/customers/templates/default/my_package_details.php M /trunk/customers/templates/default/my_packages.php 2. Added reCAPTCHA support via a 3rd Party module. ------------------------------------------------------------------------ A /trunk/admin/modules/3rd_party/modules/reCAPTCHA A /trunk/admin/modules/3rd_party/modules/reCAPTCHA/run.php A /trunk/admin/modules/3rd_party/modules/reCAPTCHA/settings.php A /trunk/admin/templates/modules/3rd_party/modules/reCAPTCHA A /trunk/admin/templates/modules/3rd_party/modules/reCAPTCHA/settings.php M /trunk/api/modules/customer_areas/contact.php M /trunk/customers/compiler/contact.php A /trunk/customers/includes/classes/reCAPTCHA A /trunk/customers/includes/classes/reCAPTCHA/LICENSE A /trunk/customers/includes/classes/reCAPTCHA/README A /trunk/customers/includes/classes/reCAPTCHA/recaptchalib.php M /trunk/customers/templates/default/contact.php ************************************************************************ * Improvements (5) ************************************************************************ 1. Removed the need for the API key in the integration code. ------------------------------------------------------------------------ M /trunk/admin/modules/license_methods/PHPAudit/functions.php M /trunk/admin/modules/license_methods/PHPAudit/validate.php M /trunk/api/modules/license/change_license_status.php 2. Added enable/disable options for the sending of e-mail templates. ------------------------------------------------------------------------ M /trunk/admin/modules/common/lib/classes/email_handler.php M /trunk/admin/modules/email/template_edit.php M /trunk/admin/templates/modules/email/template_edit.php 3. Added two new replaceable tags for the new order confirmation e-mail template. The new tags are discount_total and paid_total. ------------------------------------------------------------------------ M /trunk/admin/modules/order_forms/lib/classes/order_forms.php M /trunk/api/modules/order_forms/order_complete.php 4. Removed //$total_recipients=mass_mail::total_recipients($campaign); // pr($total_recipients); from line 177, let cron do it instead. ------------------------------------------------------------------------ M /trunk/admin/modules/email/campaign_edit.php 5. Changed the printable invoice. When paid it read "Paid: 0.00", changed that to just read "Paid" instead. ------------------------------------------------------------------------ M /trunk/admin/templates/modules/invoices/printable_invoice.php M /trunk/customers/templates/default/invoice.php ************************************************************************ * Bug Fixes (10) ************************************************************************ 1. Fixed bug that added a 7 to index.php when viewing the user from the order edit view. ------------------------------------------------------------------------ M /trunk/admin/modules/orders/order_edit.php 2. Fixed drop down box containing rows to show at once. Was not working before. ------------------------------------------------------------------------ M /trunk/customers/compiler/my_packages.php 3. When creating a new admin and choosing the Assign Permissions Like option ignore signature. ------------------------------------------------------------------------ M /trunk/admin/modules/admin/lib/classes/administrators.php 4. Fixed PHP warning: strtotime() expects parameter 2 to be long, string given... ------------------------------------------------------------------------ M /trunk/api/modules/license/get_local_key.php 5. Fixed issue where a freshly reissued license returned no instance information for the SPBAS licesning method. ------------------------------------------------------------------------ M /trunk/admin/modules/license_methods/SPBAS/functions.php 6. Fixed bug that ignored the date format for the customer area my package details view using the system format instead. ------------------------------------------------------------------------ M /trunk/api/modules/customer_areas/my_package_details.php 7. Fixed bug that caused logged in customers at checkout to have a default country of USA regardless of the country chosen. ------------------------------------------------------------------------ M /trunk/order/compiler/checkout.php 8. Fixed bug that ignored the category status. ------------------------------------------------------------------------ M /trunk/api/modules/order_forms/cart.php 9. Added the closing ?> that this file was missing. ------------------------------------------------------------------------ M /trunk/admin/modules/license_methods/SPBAS/integration_code/SPBAS.class.php 10. Fixed bug that caused logged in customers at checkout to have a default country of USA regardless of the country chosen. ------------------------------------------------------------------------ M /trunk/order/compiler/checkout.php ************************************************************************ * CSS, Template and Configuration File Changes (13) ************************************************************************ 1. api/configuration.php change this: $no_api_key_required=array( 'download', // <-- added v1.7 'download_secure', 'download_attachment', 'validate_via_js' ); to this: $no_api_key_required=array( 'download_ticket_attachment', // <-- added v1.8 'SPBAS_validate_license', // <-- added v1.7 'download', // <-- added v1.7 'download_secure', 'download_attachment', 'validate_via_js' ); ------------------------------------------------------------------------ 2. In api/configuration.php, for the customers section, change this: 'downloads', to this: 'downloads', 'contact', // <-- v1.8 'contact_form_send', // <-- v1.8 'helpdesk', // <-- v1.8 'view_ticket', // <-- v1.8 'download_ticket_attachment', // <-- v1.8 'department_options', // <-- v1.8 ------------------------------------------------------------------------ 3. Change this, from here: Admin -> Settings -> E-mail -> Templates -> Order Form (select box) -> New Order Confirmation, Manage Total - {order_total} to this: Total Order: {order_total} Total Discount: {discount_total} Total Paid: {paid_total} ------------------------------------------------------------------------ 4. In customers/templates/default/invoice.php change this:
  • to this:
  • ------------------------------------------------------------------------ 5. In customers/templates/default/header.php change this:
  • '>
  • to this:
  • '>
  • '>
  • ------------------------------------------------------------------------ 6. In m3_configuration.php, for the customers section, change this: 'opt_out' // <-- v1.6 ); to this: 'opt_out', // <-- v1.6 'contact', // <-- v1.8 'helpdesk', // <-- v1.8 'view_ticket', // <-- v1.8 ); ------------------------------------------------------------------------ 7. In m3_configuration.php, in the cusotomers section, change this: // password protected pages $conf['password_protected']=array( 'dashboard', 'my_account', 'my_invoices', 'messages', 'my_packages', 'my_package_details', 'announcements', 'download_secure' ); to this: // password protected pages $conf['password_protected']=array( 'dashboard', 'my_account', 'my_invoices', 'messages', 'my_packages', 'my_package_details', 'announcements', 'download_secure', 'helpdesk', // <-- v1.8 'view_ticket', // <-- v1.8 ); ------------------------------------------------------------------------ 8. In customers/templates/default/css/layout.css change this: #spbas input[type=text], #spbas input[type=submit], #spbas input[type=password], #spbas input[type=textarea] { border: 1px solid #DDDDDD; color: #878686; margin: -3px 0 0 0; padding: 3px; width: 261px; *margin-left: 6px; /*ie7*/ } to this: #spbas input[type=text], #spbas input[type=submit], #spbas input[type=password], #spbas input[type=textarea], #spbas textarea { border: 1px solid #DDDDDD; color: #878686; margin: -3px 0 0 0; padding: 3px; width: 261px; *margin-left: 6px; /*ie7*/ } ------------------------------------------------------------------------ 9. In customers/templates/default/css/layout.css change this: #spbas input[type=textarea] { height: 50px; width: 261px; *margin-left: 6px; /*ie7*/ } to this: #spbas input[type=textarea], #spbas textarea { height: 50px; width: 261px; *margin-left: 6px; /*ie7*/ } ------------------------------------------------------------------------ 10. In customers/templates/default/css/layout.css added this to the bottom of the file: #spbas .alt { border: 1px dotted #e1e1e1; border-width: 1px 0; background: #fafafa; } #spbas .ticket_reply { line-height: 16px; padding: 18px 12px 18px 12px; } #spbas .ticket_reply_box { margin: 22px 0 0 0; } #spbas .created_by { background-color: #fefae4; border: 1px solid #eaeaea; font-style: italic; margin: 0 0 12px 0; padding: 12px; } #spbas .reply_icon { padding: 0 2px 0 12px; } #spbas .moreUploads { margin: 12px 0 0 0; } #spbas .attachment_container { margin: 12px 0 0 0; } #spbas .upload_container { margin: 0 0 12px 0; } #spbas .attachments { margin-top: 18px; } #spbas .attachments a, #spbas .attachment { margin-right: 12px; } #spbas .text_red { color: #bf5f4c; } #spbas .text_green { color: #4d9044; } #spbas .login_notice { display: block; font-size: 12px; line-height: 18px; margin: 0 0 18px 0; } ------------------------------------------------------------------------ 11. in customers/templates/header.php change this:
  • '>
  • to this:
  • '>
  • '>
  • ------------------------------------------------------------------------ 12. in customers/templates/default/my_packages.php change this: / / / to this: / / ------------------------------------------------------------------------ 13. in customers/templates/default/my_package_details.php change this:
    to this: