News

zenhoto-photostream

This plugin gives Zenphoto something resembling the Flickr "photostream" functionality, displaying all recent images over a series of pages, no matter what album they belong to.

Cookies

A site (front end) using ZenphotoCMS should work without cookies. There may however be certain things that don't work as expected.

A list of cookies ZenphotoCMS uses by default. This list refers to cookies Zenphoto, offical themes or plugins set themselves. Cookies from third party libraries (either included or externally like for example Google Maps) are not listed.

Since 1.5.8b

Authentication
zpcms_auth_user
Stores the zenphoto user login credentials.
zpcms_auth_gallery
Stores guest user gallery access credentias.
zpcms_auth_search
Stores guest user search access credentials.
zpcms_auth_image_itemid
Stores guest user image item access credentials. "itemid" refers to the ID of the image.
zpcms_auth_album_itemid
Stores guest user album item access credentials. "itemid" refers to the ID of the album.
zpcms_auth_category_itemid
Stores guest user category item access credentials. "itemid" refers to the ID of the category. (...)

Back to top

This plugin prints a "Back To Top" link at the right buttom of your blog section. Of course you have to use the Zenpage plugin. The link will only be printed on the "news.php" and "pages.php" 

 

How to create custom TinyMCE configurations

  1. In the root plugins folder create a new folder called tinymce4
  2. Inside the new tinymce4 folder create a new folder called config
  3. Go to zp-core/zp-extensions/tinymce4/config and copy any or all of the existing config files to get you started.
  4. Note there are slight differences between config files for gallery items, Zenpage CMS items and comments.
  5. Place the copied files in your new /plugins/tinymce4/config/ folder
  6. Rename your copied config file(s) to something unique for each file. The prefixes "zenphoto-", "zenpage-" (both on the tinymce4 options) and "comment-" (comment_form plugin) are required so these plugin option selectors know which to display so choose something like e.g. zenphoto-myconfig.php.
  7. Open the new renamed config file and ensure the first javascript line is pointing to the correct location of the normal tinymce.min.js file, by default this should be (...)

Permissions for Zenphoto files and folders

Zenphoto defaults the permissions for files and folders based on the file permissions of the /zp-core folder. This usually is the correct setting.

However some server configurations may not work with this setting. Setup will attempt to modify the permissions. If it is unable to do this you will have to manage the permissions manually.

Zenphoto requires these permissions to the following folders and all files and folders within:

  • /albums – Read access at least, for image uploading via the backend Zenphoto also needs write access naturally
  • /backupRead and write access (This folder is only used if you use the database backup utility Zenphoto provides)
  • /cache – Read and write access
  • (...)

Troubleshooting guide

We have restructured the troubleshooting guide a bit recently. This collector articlce is now obsolete. Please now use the category Troubleshooting itself to find related articles.

downloadList

A plugin to generate a file download list. This download folder can be relative to your Zenphoto root (foldername) or external to it (../foldername). By default the uploaded folder is chosen so you can use the file manager to manage these files.

You can also override that folder by using the printdownloadList() function parameters directly. Additionally you can set a downloadlink to a specific file directly by using printDownloadLink(path-to-file);.

The file names and the download path of the items are stored with the number of downloads in the database's plugin_storage table.

The download link is something like: www.yourdomain.com/download.php?file=id number of the download.

So the actual download source is not public. The list itself is generated (...)

admin-approval

Overrides of the publish handling such that only a user with ADMIN_RIGHTS or MANAGE_ALL_object rights may mark an object published.

 

auto_backup

This plugin provides a facility to periodically run the Zenphoto backup utility. Use it to insure that database backups are done on a regular basis.

NOTE: The website must be visited for this plugin to be able to check if it is time to run. Inacative sites may not get backed up as frequently as the interval specifies. Of course, if the site is inactive, there probably is little need to do the backup in the first place.

Backups are run under the master administrator authority.

 

class-AnyFile

Use this plugin to handle filetypes that are not otherwise provided for by Zenphoto as "images".

Default thumbnail images may be created in the plugins/class-AnyFile folder. The naming convention is suffixDefault.png. If no such file is found, the class object default thumbnail will be used.

The plugin is an extension of TextObject. For more details see the class-textobject plugin.