Difference between revisions of "Version 5.2 Release Notes"

From WHMCS Documentation

(Release Information)
m (Template Changes)
Line 35: Line 35:
 
==Template Changes==
 
==Template Changes==
  
Template Changes TBA upon stable release
+
Template Changes
  
 +
'''/classic/'''
 +
    '''affiliates.tpl'''
 +
        * Line 32 - Change of colspan from 6 to 5
 +
    '''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
 +
       
 +
    '''ticketfeedback.tpl'''
 +
    '''unsubscribe.tpl'''
 +
        * New Files for new features
 +
       
 +
'''/default/'''
 +
    '''affiliates.tpl'''
 +
        * Line 89 - Change of colspan from 6 to 5
 +
    '''bulkdomainchecker.tpl'''
 +
    '''bulkdomaintransfer.tpl'''
 +
        * Line 48 - Class change on table
 +
    '''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
 +
       
 +
    '''ticketfeedback.tpl'''
 +
    '''unsubscribe.tpl'''
 +
    '''viewquote.tpl'''
 +
        * New Files for new features
 +
        * viewquote.tpl may be in some installs already
 +
 +
    '''/css/'''
 +
        '''quote.css'''
 +
            * New File
 +
           
 +
'''/portal/'''         
 +
    '''affiliates.tpl'''
 +
        * Line 72 - Change of colspan from 6 to 5
 +
    '''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
 +
    '''ticketfeedback.tpl'''
 +
    '''unsubscribe.tpl'''
 +
        * New Files for new features
 +
 +
'''/orderforms/ajaxcart/'''
 +
    '''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
 +
       
 +
'''/orderforms/boxes/'''
 +
    '''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
 +
       
 +
'''/orderforms/cart/'''
 +
    '''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
 +
 +
'''/orderforms/comparison/'''
 +
    '''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
 +
       
 +
'''/orderforms/modern/'''
 +
'''/orderforms/slider/'''
 +
    '''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
 +
 +
'''/orderforms/verticalsteps/'''
 +
    '''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
 +
 +
'''/orderforms/web20cart/'''
 +
    '''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==
 
==Release Notes==

Revision as of 17:47, 12 March 2013

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

Changelog

Changelog TBA upon stable release


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. Tick 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

Template Changes

/classic/
    affiliates.tpl
        * Line 32 - Change of colspan from 6 to 5
    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
        
    ticketfeedback.tpl
    unsubscribe.tpl
        * New Files for new features
        
/default/
    affiliates.tpl
        * Line 89 - Change of colspan from 6 to 5
    bulkdomainchecker.tpl
    bulkdomaintransfer.tpl
        * Line 48 - Class change on table
    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
        
    ticketfeedback.tpl
    unsubscribe.tpl
    viewquote.tpl
        * New Files for new features
        * viewquote.tpl may be in some installs already

    /css/
        quote.css
            * New File
            
/portal/          
    affiliates.tpl
        * Line 72 - Change of colspan from 6 to 5
    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
    ticketfeedback.tpl
    unsubscribe.tpl
        * New Files for new features

/orderforms/ajaxcart/
    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
        
/orderforms/boxes/
    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
        
/orderforms/cart/
    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

/orderforms/comparison/
    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
        
/orderforms/modern/
/orderforms/slider/
    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

/orderforms/verticalsteps/
    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

/orderforms/web20cart/
    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}
  • Further release notes will be added here throughout the course of testing.