News

General contributor guidelines

Helping on the forum

You are more than welcome to help on the forum by answering questions of users. Please remember that English is the forum language so most people have a chance to understand.

If we see you helping a lot you may even be provided with moderator status and so to speak be part of the "support team".

Reporting bugs

Zenphoto is constantly developed and sometimes new bugs sneak in without being noticed while fixing other things. By testing the development version from GitHub you help finding these.

Some guidelines to help us to help you in reporting bugs:

  1. Disable all third party plugins and theme and try to reproduce the issue with an official theme. Our ability to diagnose problems is much aided if we can reproduce them ourselves.
  2. Always use the latest Zenphoto release. We can provide only minimal support for versions that are (...)

lighttpd rules

Rewrite rules for the lighttpd servers.

A little site restructuring

In case you have not noted we have done some restructuring on the site, mainly on the extensions section.

We have divided the former "collection" posts that contained several extensions into separate posts now. This way you can easier search using the categories and the newly introduced tags for extensions to find what extension you are looking for.

For the now slightly increased number of entries we have also installed a better page navigation.

Also some stuff has been moved to the user guide section as it was not really about exensions but more tutorials. These are just these:

text_watermark

A plugin to create simple text watermarks.

gravatar

A really simple plugin allowing the use of Gravatar avatars in comments.

user_groups

User group management. You can create groups with common rights and assign users to the groups. Then you can alter these user's rights simply by changing the group rights.

Templates can also be used. The difference between a group and a template is that the latter simply sets the user rights one time. Afterwards the user is independent from the template.

comment_form

This is Zenphoto's unified comment handling facility

Place a call on the function printCommentForm() in your script where you wish the comment items to appear.

The plugin uses zp-core/zp-extensions/comment_form/comment_form.php. However, you may override this form by placing a script of the same name in a similar folder in your theme. This will allow you to customize the appearance of the comments on your site.

There are several options to tune what the plugin will do.

generate BBcode

Print a link, which, when clicked, displays a ThickBox containing BBCode, for sharing in phpBB forums and such. The generated BBCode is of the form : [url=url_to_the_full_image][img]preview_img[/img][/url]
The preview image has a size of max 800pix (based on the largest side).

class-textobject

Supports files of the following types:

  • .txt
  • .htm
  • .html

The contents of these files are "dumpped" into a ... sized to a 24x36 ratioed box based on your theme "image size" option. This has a class of "textobject" so it can be styled.

What this plugin really is for is to serve as a model of how a plugin can be made to handle file types that zenphoto does not handle natively.

Some key points to note:

  • The naming convention for these plugins is class-.php.
  • The statement setting the plugin_is_filter variable must be near the front of the file. This is important as it is the indicator to the Zenphoto plugin loader to load the script at the same point that other object modules are loaded.
  • These objects are extension to (...)

filter-custom_data

Provides an example of the use of the custom data filters