Changelog 8.x.x

 

The following is a copy of the changelog.txt file.


Version 8: Better settings page, Faster code, Less http requests, Less disk accesses

8.2.08 Nov 03 2022

  • New admin page: Email admin. Enables adding/removing subscribers from the various wppa email lists as well as enabling, disabling and clearing lists.
  • Now excluded wppa-cdn folder when selecting import local root dir.

8.2.08 Oct 24 2022

  • Fixed frontend edit photo info dialog. Now also supports visual editor. To use the visual editor tick Advanced settings -> Admin -> VI -> Item 14: Enable TinyMCE editor.
  • You can now exlude indexing album and photo descriptions and therefor exclude the descriptions from search. Basic settings -> Search -> I -> Item 3: Include description. Note: The items in the settings table have been renumbered.
  • You can now also limit the viewport of slideshows. See Basic settings -> Slideshow -> III -> Item 8: Slide area max size. Works like the setting for covers and thumbnails in Basic settings -> Layout -> I -> Item 7: Area max size.
  • You can now ignore shortcode attributes size and align for mobile devices. See: Basic settings -> Layout -> I -> Item 12: Ignore size/align on mobile.
  • Fixed the error: Misconfig. thumbnail area too small.

8.2.07 Oct 03 2022

  • New virtual album shortcode specification: #posttitle. Example: [wppa type="cover" album="#posttitle"]
    Shows the album(s) with their names eaqual to the title of the post/page. If such an album does not exist,
    it will be created with the owner set to the post/page author or ---public---, dependant of setting Advanced settings -> New -> I -> Item 39: Owner of #posttitle album.
  • Fixed ajax method 'none' at the frontend.
  • When the skip empty album switch is ticked and frontend uploads are enabled, empty albums with status --- public --- will be visible to enable uploading.

8.2.06 Sep 19 2022

  • Export page enhanced.
  • Fixed mail system problems due to issues with the php function array_merge() that occurred only under special configurations i.e. commentnotify owner and admin only.
  • Subsearch did not work anymore, fixed.

8.2.05 Sep 01 2022

  • Switching language e.g. by qTranslate plugin, did no longer load the right language files. Fixed. Also retro-fixed in 8.2.04.009 on aug 08 2022.
  • Fixed an errormessage that might show up when there are no photos in the system and shortcode [photo ...] was enabled.. Also retro-fixed in 8.2.04.009 on aug 11 2022.
  • Some cosmetic changes to album and photo admin pages with respect to upload limits and owner fields.
  • Removed obsolete debuggig code.
  • Reduced number of queries by better cacing option data.
  • Added Timstamp descending to the sub-album sequence methods.
  • Added import from realmedialibrary plugin categorized wp media.
  • Fixed a slideshow pagination issue that resulted in serious performance degradations on large slideshows.
  • Multiline settings lost their linebreaks. Fixed.
  • You can now directly download exported albums on the export page. Also timeouts are now detected.

8.2.04 Aug 04 2022

  • The width and height of portrait oriented mp4 videos is now properly recorded.
  • The dirs wp-content/cache and wp-content/widget-cache are now skipped when scanning for importable files.
  • To improve previews, you can now add your theme and custom css at the backend.
    See new settings Advanced settings -> Admin -> VI -> Items 15, 16 and 17.
  • Improved algorithm to decide if an album or item (photo, video, document) is visble for the current visitor.
    This takes in account: item (photo) status, album status, user status: admin/superuser, logged-in or out, owner of the item or not etc.
    Note: The visibility of items that reside in albums that can not be seen by the current visitor,
    depends upon their own status when they are explicitly requested e.g. by a shortcode like [wppa type="photo" photo=".."].
  • Added the following items that were missing after the recent restructuration of the photo admin page: Single image shortcode, remake buttons and photo specific urls.
  • Added settings to precache album and photo data. See Advanced settings -> System -> I -> Items 46 and 47.

8.2.03 Jul 15 2022

  • The display of the album and photo admin page has been restructured. Phase II
  • You can now enter exif dates ending in 00 min and 00 sec.
  • New album setting: Max subalbums. This setting only limits the creation of sub albums at the frontend and looks at direct subalbums only.

8.2.02 Jun 29 2022

  • Introduction of native blocks: Photo of the day, upload and simple slideshow. Usable for posts/pages and widgets.
  • Textual corrections. The use of 'subalbum' is now consistent.
  • Email callback urls did not work when refuse unencrypted is enabled. Fixed.
  • The display of the album and photo admin page has been restructured.

8.2.01 Jun 01 2022

  • The start/stop icon in the center of the slideshow sometimes displayed the wrong icon. Fixed.
  • Optimized code for zoomable images and flat panoramas.
  • Fixed layout and text issues on the settings page.
  • Description field in album and photo admin lost linebreaks. Fixed.
  • Re-implemented WP editor for album and photo descriptions. Enable in Advanced settings -> Admin -> VI -> Item 14.
  • When using PDF in a slideshow, the link from the slide no longer needs to be to lightbox.
  • On multisites creating a new album using the Add new button, created a system album rather than an album for the current site. Fixed.
  • Added settings to change the delay of resize end and scroll end events. Advanced settings -> System -> I -> Item 44 and 45

8.1.10 May 12 2022

  • Widgets do no longer give errors in the widget block editor.
  • Improved layout of the album admin and photo admin pages.
  • A non admin user who has album admin access can now only delete items that are in albums that he can edit at the backend i.e. has access to (public or his own).
  • Fixed a pagination issue on masonry rows display.

8.1.09 Apr 25 2022

  • size="auto,500" i.e. responsive with maximum did not work as the maximum was not working. Fixed.
  • You can now limit frontend album creation to one or more userroles. See Advanced settings -> Admin -> I -> Item 2
  • You can now select where to have the thumbnail popups, always, on pc only (i.e. not on mobile) or nowhere. See Basic settings -> Thumbnails -> III -> Item 6: Thumb popup
  • Hiding the photodescription on a slideshow when empty did not work. Fixed.
  • Next ugly browse button in slideshow did not work properly on mobile devices. Fixed.
  • Fixed date formatting issue in calendar on exif date slideshow breadcrumb.
  • Nicescroller did not work on contest display. Fixed.

8.1.08 Apr 07 2022

  • New selectable item in Album cover (title) link: manual entered. If selected, an extra input field appears where you can enter any url the cover title should link to.
  • Mailing feuploadnotify did not always work. Fixed.
  • All calendar types are now properly translated.
  • Added real calendare types to the shortcode generators.
  • The albums in the selection lists in the shortcode generators are now including parents and alphabetically sorted
  • New feature: Indicator of any users very first upload. See Advanced settings -> New -> I -> Items 4a, 7a and 9a
  • Admin and moderators will see a selectionbox in the fe upload box to overrule the default status during upload.

8.1.07 Mar 30 2022

  • Maintenance release
  • Clicking the 'back to thumbnails' button in the slideshow breadcrumb now always returns to the right page, hilgliting the right item, regardless of either page size.
  • Fixed a possible conflict with wp customizer.
  • Fixed a db warning at initial installation.
  • You can now also specify a default description for 'granted' albums in Advanced settings -> New -> I -> Item 19a: Grant album description.
    You can use $user as placeholder for the user name as defined in Item 19, as well as all existing album description keywords.
  • You need no longer to wait one up to two hours before deleted items will be permanently removed.
    On the album table the last line show the recoverable items as before.
    The various edit types on this line now also allow you to remove the items from the system immediately,
    either one by one or multiple at once on the (new) Bulk edit page for recoverable items.
    Undeleting can now be done bulkwise too.

8.1.06 Mar 21 2022

  • Fixed upload widget.
  • Fixed shortcode types acount and pcount for multiple albums/parents.
  • Fixed maintenances procs Custom album proc and Custom photo proc.
  • Improved behaviour of pan buttons on zoomable images. Improved touch moving of zoomed images.
  • Improved stability of displaying panorama and zoomable images.
  • Extra checkbox on Ajax method selection ( Advanced settings -> System -> I -> Item 5: Ajax method ) to use home url rather than site url.
    Use this switch when there are problems with ajax actions like frontend upload

8.1.05 Mar 10 2022

  • Fixed a js error when no nicescroller active.
  • Added list tags in allowed html tags for descriptions.
  • Fixed Gutenberg shortcode generators.

8.1.04 Mar 02 2022

  • Fixed frontend upload.
  • Dropped attribute all="1" on non-real calendars.
  • Link to slideshow on real calendars now work.
  • Album and Photo Sequence edit now also works on mobile devices.
  • The album list in Eit Photo Sequence is now alphabetical.
  • Selective clearing cache on post/page update did not work. Fixed.

8.1.03 Feb 23 2022

  • New tab on links from slideshow to single image did not woek. Fixed.
  • Fixed a caching issue that resulted in not dispaying the requested single image generated without ajax call.
  • Cosmetic improvement on Photo Sequence edit.
  • Fixed a spurious divide by 0 when an expected photo file does not exist.
  • Fixed an issue with updating addressline when delaying is on.
  • Fixed missng thumbnail in emails.

8.1.02 Feb 20 2022

  • Re-enabled update addressline.
  • Nicescroll options are now sanitized to prevent js crash after wrong edits.
  • On Album Admin table, when set to collapsable and pagination is on, now also all (grand)children of the albums on the list are included, to avoid confusion when only a part of them are shown.
  • New feature: Edit tags, To globally change or remove photo tags. Requires capability Tag edit. See Advanced settings -> Admin -> I
  • New feature: Edit sequence, to chnage the sequence of the items in an album without having album access. Requires capability Sequence Edit.
  • You can now globally switch off certain menu items in Advanced settings -> Admin -> VI.

8.1.01 Feb 08 2022

  • Lightbox on slide images did not always show the full list of items. Fixed.
  • You can now also send emails on backend uploads/imports. See: Advanced settings -> Email -> I -> Item 2: Mail on upload. Works only when frontend upload mailing is activated. Mails are sent 15 minutes after the first upload. You can also specify if preview thumbnails should be included. If no thumbnails should be shown in case of multiple photos, just the number of them is in the email.
  • Fixed a nicescroller issue.
  • Html tags were stripped when changing album or photo descriptions. Fixed.
  • Slideshow widgets did not start when cached. Fixed.
  • Fixed a google.maps js error when gpx was enabled but when there is no map on the pgae.
  • Fixed a layout conflict with plugin Contact form 7.

8.1.00 Feb 01 2022

  • Many changes to comply with the wp coding standards to improve security:
    • Removed ajax method 'Classic'.
    • Javascript is now always deferred (Removed Advanced settings -> System I -> Item 11: Defer javascript), in order to use the prescribed method for inline javascript.
    • Dropped all custom style items in Advanced settings -> System -> I. Use wp customizer instead.
    • Dropped the use of the wp editor for multiline textfields on admin pages.
    • Dropped frontend edit photo method 'Classic'.
  • Deleting a users 'Admins choice' zipfile will also remove his tags.
  • Removed Google+ share.
  • Added round black share buttons. See Advanced settings -> Share -> I Items 7, 10, 11.
  • Known problems:
    • shortcode generator on Gutenberg editor does not work correctly.
    • update addressline is temporarely disabled due to infinite looping on refresh page.

Important notice

If you have problems after upgrading to this version, you may need ajax method 'Classic' that has been dropped because it contains code that is not officially approved by WP.
Nevertheless, you can use it also in this version when you do the following:

  • Download wppa-ajax-front.zip
  • Unzip on your local pc
  • Use an FTP program to copy wppa-ajax-front.php into folder .../wp-content/plugins/wp-photo-album-plus/
  • Verify your ajax method setting in Advanced settings -> System -> I -> Item 5: Ajax method, and try 'Classic'

8.0.10 Jan 06 2022

  • Security fix: The logfile was prone to XSS attacks. Fixed.
  • Added option 'Same as filmthumb' to the links on slideshow images. This makes sense only for links on filmthubs to lightbox. This construction will transfer the click on slide image to filmstrip image. This is to overcome the restriction that links from slideshow to lightbox do not support zoomable and panoramic images. This will only work when the filmstrip is not disabled. Note that zoomable and panoramic images on lightbox do not show name, description, rating etc below the image.
  • Users without album admin rights are now also allowed to copy the 'admins choice' photos to their granted album; i.e. for non album admin righted users, clicking My choice no longer returns an error when Advanced settings -> System -> i -> Item 31: Admins choice action is set to To album or To album and zip.
  • In the shortcode [wppa type="choice"], the attribute admin="" may contain a comma seperated list of users to display in the box. This list used to be a list of display names, it now may also be a list of login names (or a mix), e.g.:
    [wppa type="choice" admin="kimmy,opajaap"] (login names)
    [wppa type="choice" admin="Kimmy,opajaap"] (mixed)
    [wppa type="choice" admin="Kimmy,Opa Jaap"] (display names)
    are all valid shortcodes.
    Note 1: All names are case sensitive.
    Note 2: This specification to limit the display does not exist in the widget implementation but you can put the shortcode in a text widget.
    If you want to show your own zipfile only: Tick Advanced settings -> System -> I -> Item 30: Admins choice me only. This works on the widget also.
  • When the 'Admins choice' selection includes tagging the photo, it will now be tagged by the users displayname rather than user-<userid>.
  • Added maintenance procedure Advanced settings -> Maintenance -> III: One time conversions -> Item 3 to convert old style Choice generated tags to new style tags.
  • Corrected (lowered) wheel zoom sensitivity on panoramic and zoomable images for browsers other than chrome.
  • On new sites one did not have the rights to change the photo of the day settings. Fixed.

8.0.9 Dec 18 2021

  • The photo updated flag will now also be set when the photo hes been re-uploaded.
  • Update photo new style dialog did not close when used on a thumbnail due to a js error. Fixed.
  • In import and upload, when called directly from the album admin table, the requested album was no longer pre-selectd. Fixed.
  • Fixed various issues caused by caching and delaying.
  • New setting in Advanced settings -> New -> Item 4: Modified Photo, added a checkbox. If checked, a modified photo will also set the album as being modified.

8.0.8 Dec 01 2021

  • Improved smartness of caching. On changing photos, albums, adding comments and ratings etc., only the affected cachefiles will be cleared.
  • Fixed film thumbnail titles.
  • Calendars (non real) did no longer work. Fixed.
  • Fixed erroneously stripped tags in descriptions.
  • New settings Advanced settings -> System -> Items 41: Caching overrule and 42: Delay overrule. To globally overrule the shortcode and widget settings.
    There are 3 options: 1. do not overrule, 2. always as possible and 3. never.

8.0.7 Nov 11 2021

  • Security release. All querystring args are now processed and sanitized in one function wppa_get() in wppa-input.php
  • Role specific upload limits did no longer work. Fixed.
  • Popups on masonry thumbnails did not work when links on thumbnails differ from lightbox. Fixed.
  • Rightclick on thumbnail or thumbnail popup allows you to open the link in a new tab, if No rightclick is not on.
  • Title of the QR widget was wrong and not editable. Fixed.
  • Linktypes 'The photos in the author(s) albums, slideshow' and 'All the authors photos, slideshow' for the BestOf widget/shortcode did not work. Fixed.
  • Fixed issues caused by tags that contain single quotes.
  • Custom datafields could only be updated by users that had unfiltered_html capability. Fixed.
  • One can no longer cache the stats widget, its useless.
  • Fixed a conflict with plugin Page Load Ajax.
  • Added menu item Search. Opens a page with the green search bar like on the album table. Required capability is equal to that for Album Admin.
  • If comments are disabled, the menu item to manage comments will no longer show up.
  • Fixed various typos in texts.
  • Frontend edit photo New style will automatically update the displayed name and description in the slideshow.

8.0.6 oct 05 2021

  • New setting options to Basic settings -> Thumbnails -> II: Thumbnail display options -> Item 4: Thumbnail comcount. Enables you to select a userrole, and show the number of comments given by userts with that role separately, only visible to users of that role.
  • Pagination is now switched off when a photo enumeration is given.
  • Fixed wrong links when photo names in urls is activated.
  • In case of duplicate names in 'names in urls' they will not be converted to avoid confusion.
  • When photo names in urls, slideshow always started at the first slide, also when a link expected a specific item. Fixed.
  • Fix first found in cover image selection did not result in less db queries that was the objective of the feature. Fixed.

8.0.5 sep 30 2021

  • New shortcode type: grid. New attribute photos. Typical use: [wppa type="grid" photos="1.2.5..19"], [wppa type="grid" album="5"] optionally size= and align= as usual in wppa shortcodes.
  • New setting: Basic settings -> Links -> II: Links from standard images -> Item 8: Grid. Grid photo link.
  • New setting: Basic settings -> Misc -> I: Miscellaneous settings -> Item 9: Grid video controls. Show the video controms on a video in a grid display.
  • New setting: Basic settings -> Search -> I: Search albums and photos features related settings -> Item 35: Show empty search. Display empty search message.
  • Fixed a fatal error on the Album admin pages, that happened only when not admin and photo order restricted.
  • Basic settings -> Misc -> I -> Item 3: Default coverphoto selection, has an extra checkbox named Fix first found. This shows only when a random method is selected. When checked, the first found will be registered as fixed cover image. The Reset all checkbox enables you to reset all the fixed coverimages.
  • Dropped the selection item Compressed for pretty links as it often does not work correctly.
  • Filmstrip layout was wrong when the size arg was used in the shortcode. Fixed.
  • WPPA now uses wp-jquery-ui-dialog css file, and code has been changed to be compatible with it, to avoid conflicts with other plugins that use it also.

8.0.4 sep 21 2021

  • Settings page will no longer crash when the php implementation does not support the exec() command.
  • Fixed inconsistent behaviour of 'slideshow wrap around' feature.
  • Improved behaviour of popup thumbnails. They come up now correctly.
  • New setting: Basic settings -> Slideshow -> IV -> Item 14: Easing formula.
  • New setting: Basic settings -> Lightbox -> I -> Item 28: Easing formula.
  • New setting: Basic settings -> Thumbnails -> III -> Item 9: Popup easing formula.
  • You can now combine thumbnail popups with all available thumbnail links, so also lightbox.
  • Albums now have a status. Publish is the default, Private: only visible to loggedin visitors, Hidden: only visible to admin and superusers.
  • Mailing unsubscribe links failed. Fixed.
  • Improved algorithm to clear non-wppa caches.
  • Corrected and extended helptext in titles (balloons) on the Album Admin -> Edit Album Information page.
  • Hotfix 8.0.04.007: Current values of input and selections did not show up on the settings page. Fixed.

8.0.3 sep 08 2021

  • Extended alternate ajax methods and fixed certain links. If frontend ajax links do not work, you can select different ajax methods on Advanced settings -> System -> I Item 5: Ajax method. ('Normal' is default). 'Classic' is like pre ver 8 method 'Ajax non admin' ticked, Backend method is like pre ver 8 'Ajax non admin' unticked (uses admin-ajax).
  • If frontend upload does not work (give errors) set Advanced settings -> Users -> I Item 5.1: Upload Ajax method to 'extern' (like classic) or to 'backend' (uses admin-ajax). ('normal' is default).
  • Note on upload. If you want users to upload to sites that have a site password, i.e. where users do not need to login with their name, treat them as non logged in. To allow uploads in this case: tick the box in Advanced settings -> Users -> I Item 32: Upload logout, and make sure the owners of the albums allowed to upload to are set to ---public---.
  • If you do not use the widget or the upload shortcode but let them upload using the album cover link, make sure empty albums are not skipped, to allow the first upload. See Basic settings -> Albums -> II Item 7: Skip empty albums.
  • Plugin All in One SEO tampers the internal wppa occurrance counters because it renders the page before the actual page building. This results in certain links not working like the link from an image in a widget to a landing page, because the landing shortcode is no longer the first occurrance. Provided a fix for this by resetting the counters at the end of the the process that builds the page header.
  • When both defer javascript was active and the shortcode was cached, reponsiveness was no longer fully supported. Fixed.
  • Switching off manual control on a spheric panorama caused a js error resulting in not displaying the image. Fixed.
  • The documentation site https://wppa.nl now shows the version 8 settings.
  • Fixed a problem in scheduled renewing crypts. The time interval is now correctly obeyed.
  • Cache is now cleared when a maintenance procedure has completed.

8.0.2 aug 24 2021

  • Further restructured javascript loading and inits. One can now also cache slideshows and slideshow widgets when defer javascript is on.
  • Re-added the feature that non loggedin users can upload photos. Be careful wit this, especially make sure moderating is on.
    See Advanced settings -> Users -> I Item 32: Upload logout, and Advanced settings -> Admin -> II Item 11: Upload moderation. Added an admin notice about this if applicable.
  • Fixed frontend upload issues.
  • Added option Advanced settings -> System -> I Item 5: Ajax method. In vertsion 8 the official way to use Ajax at the frontend as documented in the Developers manual was implemented.
    Unfortunately this method appears not to work on every site, so i added a selectionbox with 4 options. If certain links at the frontend do not work, try one of the alternate methods.
    If frontend upload does not work properly when the progressbar (i.e. ajax upload) is on, try one of the alternate methods listed in Advanced settings -> Users -> I Item 5.1: Upload Ajax method

8.0.1 aug 10 2021

  • Re-added the WPPA+ text widget for backward compatibility.
  • All querystring items now have a value. This fixes the fact that isset() returns false when the value is null, leading to certain links not working proprtly.
  • Improved algorithm for lazy load on mobile devices.

8.0.0 aug 04 2021

  • Restructured and greatly simplified settings page. Removed obsolete and redundant settings. Made the layout more friendly.

    4926

    Photo Albums -> Settings

    See also: this documentation page
  • Photo of the day admin page is now in the Settings page under Photos.
  • To create albums or upload photos can only be done by logged in users, you can no longer configure these features for loggedout visitors.
  • Custom css settings are being fased out. One is encouraged to move that to the wp customizer. On the settings page you will only see the custom css items that are not empty. The help text encourages you to move the content to the wp customizer.
  • Ajax method changed. No longer possible to choose between admin or non admin ajax. Ajax is always activated, because there can no longer be conflicts due to inaccessibility of both ajax files from the frontend by http request.
  • Photo count treshold has been removed because one can select a childrens image as cover image of any album.
  • Nice scroller is no longer loaded on mobile devives. Scrollbars on mobile are nice enough by themselves and this improves performance.
  • Removed WPPA+ Text widget. You can now use the WP Custom HTML widget instead.
  • HTML in descriptions is now automatically allowed for those users who have HTML edit rights.
  • Widgets do no longer show up anywhere if the corresponding feature is not enabled. e.g. Notify widget - Enable email. etc.
  • The shortcode to display the most recently uploaded photo did not work when additionally the album was specified e.g.
    [wppa type="photo" photo="#last,12"][wppa type="photo" album="12" photo="#last"]. Fixed. Works also for type="mphoto" and type="xphoto".
  • Fixed a slideshow filmstrip layout issue for theme twentytwentyone.
  • Fixed lightbox layout issues when panorama and standard photos were mixed
  • The max simultaneous ajax requests during resequencing photos is now limited to 10. This prevents db errors due to too many open db instances.
  • Caching system is simplified. Just on or off. In widgets: checkbox; in shortcodes: '', '0', 'off' or 'no' means no caching; anything else means caching on. Although the fact that there are separate cachefiles for logged-in and logged-out visitors, make sure you do nat cache widgets or shortcodes that may display user dependant content.