News

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

crop_image

Provides extensions to the image utilities to crop images.

Places an image crop button in the image utilities box of the images tab. Note: this plugin permanently changes the image. There is no undo.

zenphoto_seo

Translates accented characters to unaccented ones.

filter-new_objects

Adds data to newly created images and albums.


filter-file_searches

Filters out images/albums from the filesystem lists.

filter-comments

Processes a new comment posting, sending the post to all who have previously commented. This is an example filter. It does not, for instance, check to see if a previous poster is also an admin receiving email notifications anyway.

Spamfilter Spamassassin

This is plugin for Spamassassin filtering.

Spamfilter Mollom

This is a Mollom based SPAM filter. It uses the Mollom service to check spam. It also includes the Mollom class file and the Mollom captcha generator file.