Version 5.2 Release Notes

From WHMCS Documentation

Release Information

Version 5.2.0

  • Release Type: Beta (For Testing)
  • Release Date: 1st February 2013

Version 5.2.1

  • Release Type: Stable
  • Release Date: 12th March 2013

Version 5.2.2

  • Release Type: Stable
  • Release Date: 14th March 2013

Version 5.2.3

  • Release Type: Stable
  • Release Date: 28th March 2013

Version 5.2.4

  • Release Type: Stable
  • Release Date: 23rd April 2013

Version 5.2.5

  • Release Type: Security
  • Release Date: 16th May 2013

Version 5.2.6

  • Release Type: Targeted Release
  • Release Date: 23rd July 2013

Version 5.2.7

  • Release Type: Maintenance Release
  • Release Date: 26th July 2013

Version 5.2.8

  • Release Type: Security
  • Release Date: 3rd October 2013

Version 5.2.9

  • Release Type: Security
  • Release Date: 18th October 2013

Version 5.2.10

  • Release Type: Security
  • Release Date: 20th October 2013

Version 5.2.11

  • Release Type: Security (Packaging error resulted in the release of 5.2.12)
  • Release Date: 25th October 2013

Version 5.2.12

  • Release Type: Security
  • Release Date: 25th October 2013

Version 5.2.13

  • Release Type: Security
  • Release Date: 21st November 2013

Version 5.2.14

  • Release Type: Maintenance
  • Release Date: 27th November 2013

Version 5.2.15

  • Release Type: Security
  • Release Date: 23rd December 2013

Version 5.2.16

  • Release Type: Security
  • Release Date: 21st January 2014

Version 5.2.17

  • Release Type: Security
  • Release Date: 25th March 2014

Changelog

http://docs.whmcs.com/Changelog:WHMCS_V5.2

Upgrade Steps

The same usual steps for upgrading WHMCS apply to Version 5.2. They are:

  1. Begin by taking a backup of your database using a tool such as phpMyAdmin
  2. Now download the latest WHMCS version either from our client area (http://wiki.whmcs.com/Upgrading#Downloading_the_Latest_Version) or from your web host license provider
  3. Next, unzip the contents of the WHMCS zip file download to a folder on your computer
  4. Now if you have customised your WHMCS admin folder name, you should rename the admin folder in the new files to match
  5. Upload the new files to your existing installation folder replacing any existing folders & files
  6. Visit the admin area as you normally would to login and you should then see the upgrade script
  7. Accept the license agreement
  8. If you are prompted for any database information *STOP*, this indicates the configuration.php file is missing and so a new install is being attempted - you need to restore the configuration.php before continuing.
  9. Check to confirm once you have backed up your database, and then click the upgrade button
  10. Once the updates finish, delete the install folder from your server

These steps can be used to upgrade from any version of WHMCS from V3.3 & later.

Remember: After upgrading, your browser may still display cached versions of the previous files. So if you get any display issues or inconsistencies, always try clearing your cache first, both in your browser, and the WHMCS templates cache (templates_c folder files)

Template Changes

Version 5.2.17

Default Client Area Template

  • clientareacreditcard.tpl - Line 68 replaced 3 lines, switch to using post with CSRF tokens.

Classic Client Area Template

  • clientareacreditcard.tpl - Two changes:
    • Line 19: modified to use CSRF token
    • Lines 28-30: modified to post with CSRF token

Classic Client Area Template

  • clientareacreditcard.tpl - Two changes:
    • Line 20: modified to use CSRF token
    • Lines 28-30: modified to post with CSRF token

Version 5.2.16

Classic and Portal Client Area Templates

  • viewinvoice.tpl - Move the following line from line 55 to 56, ensuring it is below the <form> open tag
<div class="creditbox">{$LANG.invoiceaddcreditdesc1} {$totalcredit}. {$LANG.invoiceaddcreditdesc2}<br />


Version 5.2.15

No template changes


Version 5.2.14

Blend Admin Template

  • viewticket.tpl

Original Admin Template

  • viewticket.tpl

V4 Admin Template

  • header.tpl
  • viewticket.tpl


Version 5.2.13

Blend Admin Template

  • clientssummary.tpl
  • footer.tpl
  • head.js
  • header.tpl
  • sidebar.tpl

Original Admin Template

  • clientssummary.tpl
  • header.tpl
  • sidebar.tpl

V4 Admin Template

  • clientssummary.tpl
  • head.js
  • header.tpl
  • sidebar.tpl


Version 5.2.12

No template changes


Version 5.2.11

No template changes


Version 5.2.10

No template changes


Version 5.2.9

No template changes


Version 5.2.8

No Template Changes


Version 5.2.7

No template changes


Version 5.2.6

No template changes


Version 5.2.5

No template changes


Version 5.2.4

Default Client Area Template (Only)

  • clientareaproductdetails.tpl
  • clientareacancelrequest.tpl
  • clientareadomaindetails.tpl
  • clientareadomains.tpl
  • clientareainvoices.tpl
  • clientareaproductdetails.tpl
  • clientareaproducts.tpl
  • clientareaquotes.tpl
  • clientarearecordslimit.tpl
  • clientareasecurity.tpl
  • knowledgebasecat.tpl
  • login.tpl
  • logintwofa.tpl
  • logout.tpl
  • supportticketslist.tpl
  • css/whmcs.css

Modern Order Form Template

  • configureproductdomain.tpl
  • viewcart.tpl

Slider Order Form Template

  • configureproductdomain.tpl

Vertical Steps Order Form Template

  • complete.tpl
  • style.css


Version 5.2.3

All Templates (Classic, Default & Portal)

  • 3dsecure.tpl
  • affiliatesignup.tpl
  • clientareasecurity.tpl
  • logintwofa.tpl
  • ticketfeedback.tpl

Default Client Area Template (Only)

  • bulkdomaintransfer.tpl
  • clientareadomaindetails.tpl
  • clientareahome.tpl
  • header.tpl - added enomnewtlds link.
  • homepage.tpl


Version 5.2.2

No template changes


Version 5.2.1

Classic Client Area Template

  • affiliates.tpl
    • Line 32 - Change of colspan from 6 to 5
  • clientareachangesq.tpl
    • Removed File. Replaced with new functionality.
  • clientareacreditcard.tpl
    • Line 42 - Change of variable for expiry date from $years to $expiryyears
    • Lines 46->53 - Change Start Date from text input to dropdown
    • Line 56 - Add CVV input box to allow validation on remote storage
  • clientareadetails.tpl
    • Line 45->47 - New Lines for email out opt
  • clientareadomaincontactinfo.tpl
    • Line 21 - New Line for successful change
  • clientareadomains.tpl
    • Line 32 - removed hard coded "Go" and changed to language string
  • creditcard.tpl
    • Line 73 - Change of variable for expiry date from $years to $expiryyears
    • Lines 78->84 - Change Start Date from text input to dropdown
  • header.tpl
    • Line 31 - Added check of conditional links to show domains option
    • Line 36 - Added check of conditional links to show affiliates option
  • pwresetvalidation.tpl
    • Complete rewrite Required Change
  • supportticketssubmit-stepone.tpl
    • Complete rewrite to handle no departments
  • clientareasecurity.tpl - New file for new functionality
  • ticketfeedback.tpl - New file for new functionality
  • unsubscribe.tpl - New file for new functionality

Default Client Area Template

  • affiliates.tpl
    • Line 89 - Change of colspan from 6 to 5
  • bulkdomainchecker.tpl
  • bulkdomaintransfer.tpl
    • Line 48 - Class change on table
  • clientareachangesq.tpl
    • Removed File. Replaced with new functionality.
  • clientareacreditcard.tpl
    • Line 104 - Change of variable for expiry date from $years to $expiryyears
    • Line 111 - Change Start Date from text input to dropdown
    • Lines 122->129 - Add CVV input box to allow validation on remote storage
  • clientareadetails.tpl
    • Lines 139->146 - New Lines for email out opt
  • clientareadomaincontactinfo.tpl
    • Lines 22->27 - New Line for successful change
  • clientareahome.tpl
    • Line 40 - Added strip_tags to announcements to stop format bleeding
    • Line 59, 67->69 - Change of variables to use condlinks
  • clientareaproductdetails.tpl
    • Line 201 - Change hard coded text to language variable
    • Line 227 - Change colspan from 3 to 4
  • clientareaquotes.tpl
    • Line 26 - Added "View Quote" link to view quote inline rather than download
  • clientregister.tpl
    • Line 2 - Removed pwstrength.js include as no longer required
  • creditcard.tpl
    • Line 33 - Added new class to form
    • Lines 158->164 - Changed start date dropdown to use new variables
    • Line 167 - Change of variable for expiry date from $years to $expiryyears
    • Line 180 - Removed start date code as moved up the file
  • downloads.tpl
    • Line 34 - Changed hard coded language strings to variables
  • downloadscat.tpl
    • Line 38 - Changed hard coded language strings to variables
  • header.tpl
    • Lines 57->69 - Variable changes to use condlinks
    • Lines 99->101 - New affiliate condlink addition
  • homepage.tpl
    • Line 1,21 - Variable changes to use condlinks
  • knowledgebase.tpl
    • Line 7,8 - Changed hard coded language strings to variables
  • knowledgebasecat.tpl
    • Line 10 - new if statement around hidden catid variable
    • Line 12,13 - Changed hard coded language strings to variables
  • pwresetvalidation.tpl
  • Complete rewrite *Required Change*
  • supportticketslist.tpl
    • Line 6 - Variable name change from "q" to "searchterm"
  • supportticketsubmit-stepone.tpl
    • Lines 16->19 - foreachelse added to handle no departments
  • clientareasecurity.tpl - New file for new functionality
  • ticketfeedback.tpl - New file for new functionality
  • unsubscribe.tpl - New file for new functionality
  • viewquote.tpl - New file - may be in some installs already
  • quote.css - New file - may be in some installs already

Portal Client Area Template

  • affiliates.tpl
    • Line 72 - Change of colspan from 6 to 5
  • clientareachangesq.tpl
    • Removed File. Replaced with new functionality.
  • clientareacreditcard.tpl
    • Line 45 - Change of variable for expiry date from $years to $expiryyears
    • Lines 49->54 - Change Start Date from text input to dropdown
    • Line 57 - Add CVV input box to allow validation on remote storage
  • clientareadetails.tpl
    • Lines 88->93 - New Lines for email out opt
  • clientareadomaincontactinfo.tpl
    • Lines 18->21 - New Lines for successful change
  • clientareadomains.tpl
    • Line 51 - Changed hard coded language strings to variables
  • creditcard.tpl
    • Line 110 - Change of variable for expiry date from $years to $expiryyears
    • Lines 118->124 - Changed start date dropdown to use new variables
  • header.tpl
    • Line 27,32 - Variable changes to use condlinks
  • pwresetvalidation.tpl
    • Complete rewrite *Required Change*
  • supportticketsubmit-stepone.tpl
    • Complete rewrite to handle no departments
  • viewquote.tpl
    • Line 40,46 - Update link used if TOS used
  • clientareasecurity.tpl - New file for new functionality
  • ticketfeedback.tpl - New file for new functionality
  • unsubscribe.tpl - New file for new functionality

Ajax Cart Order Form Template

  • adddomain.tpl
    • Line 22 - Moved availablilty form further down
    • Lines 45->80 - availablilty form moved including code to show domain configuration where not showing originally
  • configuredomains.tpl
    • Lines 13->15 - Onclick function added to addons checkboxes
  • viewcart.tpl
    • Line 89 - Change of variable for expiry date from $years to $expiryyears
    • Lines 93->98 - Change Start Date from text input to dropdown
    • Line 110 - Added code to change value of button when clicked to deter multiple clicks

Boxes Order Form Template

  • adddomain.tpl
    • Line 9 - Changed hard coded language strings to variables
  • viewcart.tpl
    • Line 269 - Change of variable for expiry date from $years to $expiryyears
    • Lines 273->278 - Change Start Date from text input to dropdown

Cart Order Form Template

  • adddomain.tpl
    • Line 11 - Changed hard coded language strings to variables
  • viewcart.tpl
    • Line 290 - Change of variable for expiry date from $years to $expiryyears
    • Lines 294->299 - Change Start Date from text input to dropdown

Comparison Order Form Template

  • viewcart.tpl
    • Line 239 - Change of variable for expiry date from $years to $expiryyears
    • Lines 243->248 - Change Start Date from text input to dropdown

Modern & Slider Order Form Templates

  • addons.tpl
    • Line 4 - removed incorrect css line
  • viewcart.tpl
    • Line 243 - Change of variable for expiry date from $years to $expiryyears
    • Lines 248->255 - Change Start Date from text input to dropdown

Vertical Steps Order Form Template

  • adddomain.tpl
    • Line 31 - Changed hard coded language strings to variables
  • viewcart.tpl
    • Line 287 - Change of variable for expiry date from $years to $expiryyears
    • Lines 292->299 - Change Start Date from text input to dropdown

Web 2.0 Cart Order Form Template

  • adddomain.tpl
    • Line 24 - Changed hard coded language strings to variables
  • login.tpl
    • Line 29 - Changed input from text to password
  • viewcart.tpl
    • Line 562 - Change of variable for expiry date from $years to $expiryyears
    • Lines 569->574 - Change Start Date from text input to dropdown

Release Notes

  • Display Problems/Browser Cache - Always clear your browser cache, or perform a hard refresh after upgrading, most display related issues are purely due to seeing an old version of the CSS
  • The Add Transaction permission is now required in order to apply payment to an invoice - previously access to Manage Invoices was also sufficient
  • The dbconnect.php file has been removed as of WHMCS V5.2 and so any custom files will require updating to include "init.php" and only "init.php", the current separate "functions.php" include will be handled automatically
  • In the viewinvoice.tpl template file the variable {$subscriptionid} has been changed to {$subscrid}
  • The ResellerClub domain registrar module now uses the API Key authentication method, replacing the account password. If using this module you will need to enter your API Key under Setup > Products/Services > Domain Registrars. Detailed instructions can be found on the ResellerClub page.