Skip to content

Releases: alicolville/Weight-Tracker

5.1.12

14 Oct 11:55
Compare
Choose a tag to compare
  • Improvement: Refactored User preferences code so it can be extended.
  • Improvement: Added new filters "wlt-filter-admin-user-sidebar-top", "wlt-filter-admin-user-sidebar-middle" and "wlt-filter-admin-user-sidebar-bottom" to allow developers to add HTML to user sidebar in "Manage Data".
  • Improvement: Added new filter "wlt-filter-js-ws-ls-config" to allow developers to filter JS config.
  • Improvement: Added new filter "wlt-filter-user-settings-below-aim" to allow developers to add to the User settings page.
  • Improvement: Added the filters 'wlt-filter-user-settings-db-formats' and 'wlt-filter-user-settings-save-fields' to allow a developer to save other user preference fields.
  • Bug fix: Stopped [wlt-calories] and [wlt-macronutrients] throwing an error when the user was logged out. Thanks @MARKONEX
  • Big fix: Fixed a bug where "Your modifications have been saved" message was always being shown on [wlt-table] shortcode.
  • Database schema changes for future releases.

5.2.11

02 Oct 17:57
Compare
Choose a tag to compare
  • Fixed a PHP check on a constant that in some cases threw an exception.

5.2.10

30 Sep 09:29
Compare
Choose a tag to compare
  • Added some additional CSS to help those who have a theme that hides the [wlt] shortcode.

5.2.9

29 Sep 21:20
Compare
Choose a tag to compare
  • Removed email from being sent when License expired. Appears it is sending in some cases when the license has not expired!

5.2.7

28 Sep 06:23
Compare
Choose a tag to compare
  • Improvement: Added 7 day trial button
  • Bug fix: Ensured the field "This field is required." can be translated.
  • Bug fix: Fixed issue with empty "dob" field when using [wlt-if] shortcode.

5.2.4

26 Sep 19:29
Compare
Choose a tag to compare
  • Improvement: Added an Advanced tab to [wlt] shortcode to display a BMI, BMR, Calories and Macronutrients. This tab can be hidden with the attribute "hide-tab-advanced" - Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Added a Photos tab to [wlt] shortcode to display a gallery. This tab can be hidden with the attribute "hide-tab-photos" - Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Added footable.js to Macronutrient and Calorie tables in Admin (tables looks a lot better in responsive mode).
  • Improvement: Added "alternate" class for Macronutrient table to make alternative rows stand out.
  • Bug fix: Ensured "No data found" can be translated on data tables.
  • Bug fix: Show hamburger menu icon on tabs.

5.2.3

25 Sep 05:57
Compare
Choose a tag to compare
  • Removing changes that weren't supposed to go out in 5.2.2 as they weren't completed! Apologies!

5.2.2

24 Sep 16:51
Compare
Choose a tag to compare
  • Improvement: Added footable.js to Macronutrient and Calorie tables (tables looks a lot better in responsive mode).
  • Bug fix: Fixed "Can't use return function in write context" appearing in older versions of PHP.
  • Bug fix: Ensured "Measurements are in" can be translated.
  • Bug fix: Ensured "Search" text on new data tables can be translated.

#116

5.2.1

23 Sep 12:05
Compare
Choose a tag to compare
  • Bug fix: Fixed issue with target weight failing to save if photos enabled.

5.2

22 Sep 19:02
Compare
Choose a tag to compare
5.2
  • Photo Uploads!
    • New field on attachments "Don't show to public" (set to true by default) to stop user photo's being rendered on standard attachment pages.
    • Users can now upload / replace / remove a photo alongside their weight / measurement entries.
    • Admin can view all photos uploaded by a user.
    • Admin can upload / replace / remove a user's photo.
    • New shortcode [wlt-photo-count] to display the number of photos uploaded by the user - Read more: https://weight.yeken.uk/shortcodes/
    • New shortcode [wlt-photo-oldest] to display the user's oldest photo - Read more: https://weight.yeken.uk/shortcodes/
    • New shortcode [wlt-photo-recent] to display the user's most recent photo - Read more: https://weight.yeken.uk/shortcodes/
    • New shortcode [wlt-gallery] to display the user's most recent photo - Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Added "css-class" argument for [wlt-macronutrients-table] shortcode - Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Added "css-class" argument for [wlt-calories-table] shortcode - Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Standard Pro Users can now upgrade to Pro Plus for 50% cheaper!
  • Improvement: [wlt] shortcode has a new argument "hide-photos". If set to true, the photo section of the form will be hidden. Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: Added field "photo" to [wlt-if] shortcode. Allows you to check if the user has uploaded a photo.
  • Improvement: New hook "wlt-hook-data-entry-deleted" created. Fired when an entry is deleted.
  • Improvement: Removed DataTables.js and replaced with Footable.js for advanced data tables. This keeps the front end consistent with admin area.
  • Improvement: [wlt-table] has a new argument to disable data being edited / deleted "enable-add-edit". Read more: https://weight.yeken.uk/shortcodes/
  • Improvement: [wlt-table] user's now have the option to edit their data with this shortcode (not just delete).
  • Improvement: Tweaked form headers to say "Edit" intead of "Add" when editing an entry.
  • Improvement: Editing an entry is done using PHP and HTML. jQuery / Ajax has been removed so more reliable.
  • Improvement: Re-factored all to use one function to keep things consistent.
  • Improvement: Added French-speaking Canada (Québec), French-speaking Belgium and French-speaking Switzerland- thanks Pierre
  • Improvement: Updated French language - thanks Pierre
  • Bug fix: When display a user's weight entries on Search results, if there are no entries, display nothing instead of 0[weight unit]
  • Bug fix: Don't display "Difference form target" if there is no recent or target weights to calculate from.
  • Bug fix: Fixed locale issues in data tables.
  • Removed "(needed for BMR)" from setting fields.

PR #111