Login/Register

Update Feed

Zenphoto 1.5.8

2 June 2021

Zenphoto version 1.5.8 is now available (major release).

Upgrading to Zenphoto 1.5.8


Zenphoto 1.5.8 can be upgraded to (or installed) using any of Installatron's products. Use Installatron's optional Automatic Update feature to automatically apply Zenphoto updates as new versions are released, or use Installatron's Clone feature to duplicate an existing Zenphoto install to test the 1.5.8 upgrade prior to applying it live. Get started managing your Zenphoto installations with Installatron

What's New in Zenphoto 1.5.8


Security
** Zenphoto will not autorun setup anymore if database credentials are not set correctly or missing in the config file. Since we cannot check for login status without database access this might expose install information to the outside world and offer setting MySQL credentials to anyone. Instead a generic "configuration error" page will now be shown both on the front- and the backend. The debug log will have an entry about this and you need to edit the config file via FTP now. Setup will now only autorun if the config file is missing completely as we then have to "assume" this is a fresh install.
** Better checks to avoid showing the reconfiguration on "minor install signature" changes on the frontend for non loggedin visitors and confusing them. The debuglog will have an entry about this instead. Loggedin users will still get to see it.

General
** All native Zenphoto cookies have been renamed to use the prefix "zpcms_". So you will need to re-login. The reason is that for privacy concerns it is now clear where these cookies come from. Additionally to"zpcms_" there is a sub prefix for certain types:
*** Authentication related cookies start with "zpcms_auth_"
*** Administration related cookies start with "zpcms_admin_"
*** Search related cookies start with "zpcms_search_"
*** Setup related cookies start with "zpcms_setup_"
** There are now several functions to print info about all native cookies you can use on your privacy page: getCookieInfoData(), getCookieInfoHTML() and printCookieInfo(). Additionally there is a content macro you can use on for example your privacy info page:
** Note that this does not cover plugins that rely on additional external services like Google Maps or Matomo. Zenphoto's own cookies do not track, except of course the login cookies.
** $plugin_name: The optional name. If not defined the filename will be used, as before.
** $plugin_date: The date of the last update (yyyy-mm-dd format preferred).
** $plugin_siteurl: A URL where users can find info and hopefully updates for the plugin, like a GitHub repository. This should not be used for the author website in general.
** $plugin_disable: Currently this allows one ternary operator condition for e.g. a compatibility or dependency check. Since this might get a little inconvenient if you have more complex requirements this now allows an array of several ternary operators. These operators should return an explaination that is now peristently shown or false if everything is okay.
** $plugin_notice: A notice message about special dependencies, requirements, using external sources, etc.
** $plugin_deprecated A message about the plugin being deprecated or parts of it.
** $plugin_description, $plugin_notice, $plugin_deprecated, $plugin_disable: These allow (one dimensional) array definitions instead of just one string for better readability of longer texts. Each array entry will be output as a single paragraph. This also allows using ternary operators (see $plugin_disable above).
** $themeinfo['siteurl']: See $plugin_siteurl above.
** $themeinfo['disable']: See $plugin_disable above.
** $themeinfo['notice']: A message about special dependencies, requirements, using external sources, etc.
** $themeinfo['deprecated'] A message about the theme being deprecated or parts of it
** $themeinfo['desc'] , $themeinfo['notice'],$themeinfo['deprecated'], $themeinfo['disable'] :These allow (one dimensional) array definitions instead of just one string for better readability. Each array entry will be output as a single paragraph. This also allows using ternary operators (see $plugin_disable above).

Backend
** There are now Individual "use_side" (width/height/longest/shortest) option settings for uncropped default thumbs that in function follow those of default sized images
** "Unprotected" =>"unprotected"
** "Protected view" => "protected"
** "Download" => "download"
** "No access" => "no-access"
** Site copyright notice – use $galleryobject->getCopyrightNotice();
** Site copyright rightsholder – use $galleryobject->getCopyrightRightsholder();
** Site copyright url – use $galleryobject-->getCopyrightURL()
** Image copyright notice – use $imageobject->getCopyrightNotice();
** Image copyright rightsholder – use $imageobject->getCopyrightRightsholder();
** Image copyright url – use $imageobject->getCopyrightURL();

Themes

New Plugins

Plugins
** Allow caching of images in a dynamic album from its admin panel and remove the useless button for cache cleaning
** Fixes bug ignoring all album sublevels past the first
** The RSS subscription link is now not shown if comments are closed
** If the plugin is disabled, no comment releated interfaces like checkbox or bulk action options are listed
** Support for missing standard image html filters has been added
** All print*Album() and print*Image() functions have been deprecated. These were only wrappers for the base printImageStatistic() and printAlbumStatistic() functions anyway which now should be used with appropriate settings instead
** New function getPictureOfTheDay() to retain only unique functionaltiy provided by deprecated randomImages() and randomImagesAlbbum() tempalte functions
** If option is set to require consent it includes new Matomo 3.14+. method for cookie consent. Requires the usage of the content macro on your site's privacy page. Compatible with Matomo 4+
** Fix issue with admin tracking option
** Leaflet 1.7.1 Update
** Geo-coordinates are now generally validated to be in the actual range
** security-logger: Fix privacy issue ignoring the IP anonymisation option
** Category/pages menu (more exact the base printNestedMenu() function) assigns the active class to list item instead of the link to be consistent with all other menu types
** Fix default sortorder for newly created Zenpage pages and categories via the backend so they don't kill nested sortorders anymore. Pages table sort_order field gets a null default value to align with others.
** Rename name Zenpage classes internal properties $sortorder and $page_sortorder to $sorttype and $page_sorttype to reflect what they refer to actually. NOTE these are protected internal properties so there are no deprecations.
** Zenpage::getAllCategories(), getZenpageStatistics(), printZenpageStatistics(): Parameter $sortdirection respectivley $sortdir changed from string ('asc'/'desc') to boolean (true for descending (default), false for ascending) to be consistent with general boolean parameter usages for sortdirection. A deprecation notice will be triggered.
** Zenpage::getPages() now properly sorts by title

Translations Updated

© 2004 - 2025 Installatron LLC. All rights reserved. Privacy Policy.