DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:tuxquote

tuxquote Plugin

Compatible with DokuWiki

2010-11-07 "Anteater", 2011-05-25 "Rincewind", 2012-01-25 "Angua", 2012-10-13 "Adora Belle", "Weatherwax", 2013-12-08 "Binky", 2014-05-05 "Ponder Stibbons"

plugin Show a random image of Tux the Linux penguin with a random quote.

Last updated on
2014-09-18
Provides
Syntax
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Similar to fortune, xfortune

Tagged with motd, quotes, random, tux

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

The following screenshots are static samples only.

Tuxquote in action Tuxquote in action

Syntax

After installation, insert the following code

[TUXQUOTE]

If you would like it to appear in the top right corner of the page, use the following code to hide the TOC and turn off caching to show a different image and quote every time the page is refreshed

~~NOCACHE~~
~~NOTOC~~
[TUXQUOTE]

Configuration and Settings

The following attributes can be changed from the Configuration Manager:

Title: Add title text above the Tuxquote image.
Width: Width in percentage or pixels of the page. Eg: 80% or 200px.
Align: Can be “left”, “right” or “none”.

You can add or remove images from <wiki>/lib/plugins/tuxquote/pics/ directory. All jpg, png and gif images will be randomly used from that directory.

Add or remove quotes from the <wiki>/lib/plugins/tuxquote/quotes.txt file. Quotes are line delimited and HTML formatting can be used, enabling you to use <BR /> for line breaks etc.

Change Log

  • 2014-09-18
    • Added Title, Width and Alignment options controlled via the Configuration Manager.
  • 2014-09-15
    • Replaced some deprecated HTML styling tags.
  • 2014-03-29
    • Fixed issue #1: a bug in generating the image URL on some server/PHP version combinations. Thanks to Dual-Boot for pointing that out.
  • 2014-03-03
    • Replaced the Tux images with images sourced from CrystalXP.net (http://www.crystalxp.net/) which are under the Creative Commons BY-NC-SA license
    • Added file images-readme.txt containing the Creative Commons BY-NC-SA license that applies to the images distributed with this plugin and added image attributions as required
  • 2014-02-22
    • Initial release

Known Bugs and Issues

Report any issues on the Issue Tracker.

plugin/tuxquote.txt · Last modified: 2014-09-18 08:41 by 58.84.184.33