Piero V.

Plugin BBToolbar (v1.1) [Flatpress]

English

UPDATE (4/09/2011 22:55): I’ve updated again the plugin, so re-download the file if had already downloaded.

This is an update for BBToolbar Plugin.

It fixes a bug with the Img tag (the popup checkbox didn’t work) and it fixes the emoticons that have an apostrophe (').

License: GNU GPL v2

Download: bbtoolbar_v1.1.tar.gz

Italiano

AGGIORNAMENTO (4/09/2011 22:55): Ho corretto di nuovo un file, perciò riscaricate il plugin se l’avevate già scaricato prima.

Questo è un aggiornamento per il Plugin BBToolbar.

Mette a posto un bug del tag Img (il checkbox popup andava anche se non selezionato) e mette a posto un problema con le emoticons che hanno un apostrofo (').

Licenza: GNU GPL v2

Download: bbtoolbar_v1.1.tar.gz

Transparents thumbs [Flatpress]

English

I’ve added some code to thumb plugin that allows the get transparent thumbs with GIFs and PNGs files.

I’ve taken this code from a comment of the imagecopyresampled PHP function.

Open fp-plugins/thumb/plugin.thumb.php with a text editor and replace:

	$scaled = imagecreatetruecolor($new_width, $new_height);
	imagecopyresampled($scaled, $image, 0, 0, 0, 0, $new_width, $new_height, $infos[0], $infos[1]);

with

	$scaled = imagecreatetruecolor($new_width, $new_height);

	/*
	 * If gif or png preserve the alpha channel
	 *
	 * Added by Piero VDFN
	 * Kudos to http://www.php.net/manual/en/function.imagecopyresampled.php#104028
	 */
	if($infos[2]==1 || $infos[2]==3) {
		imagecolortransparent($scaled, imagecolorallocatealpha($scaled, 0, 0, 0, 127));
		imagealphablending($scaled, false);
		imagesavealpha($scaled, true);
		$output=$infos[2]==3 ? 'png' : 'gif';
	} else {
		$output='jpg';
	}

	imagecopyresampled($scaled, $image, 0, 0, 0, 0, $new_width, $new_height, $infos[0], $infos[1]);

Now, replace some lines belove imagejpeg($scaled, $thumbpath); with: … [Leggi il resto]

Plugin Tag (v2.5) [Flatpress]

English

This is an update for the Tag Plugin.

Changelog:

  • Fixed entities problems on the tag listing
  • Fixed the problem with the manual [more]
  • Modified the entry editor (suggestion feature requires jQuery)

Known bugs:

  • If you haven’t Javascript enabled and you click on Save and continue you see both the tag tag and both the tag field. This is a limit of Flatpress, I can’t do anything.

License: GNU GPLv2

Download: tag_v2.5.tar.gz

Italiano

Ecco un aggiornamento per il Plugin Tag.

Changelog:

  • Sistemato un problema di validazione con la liste dai Tag
  • Sistemato un problema con il [more] manuale
  • Modificato l’editor dei post (i suggerimenti richiedono jQuery)

Bug conosciuti:

  • Se non hai abilitato Javascript o non hai jQuery, quando clicchi Salva e continua vengono fuori i tag sia nella textarea, sia nel campo apposito. Sono spiacente ma pare essere un limite di Flatpress.

Licenza: GNU GPLv2

Download: tag_v2.5.tar.gz

Plugin BBToolbar (v1.0) [Flatpress]

English

This plugin is a replacement for the default BBCode toolbar but it also adds a toolbar to write comments.

It also replaces all the Emoticons plugins and it adds an emoticons toolbar.

You can select the emoticons set (the default one is powered by Lantaca) or you can create your own: you create the directory e_yourset, then you put here your emoticons and you create a file called set.txt. This file is in this format:

# This is a comment
symbol1 char2	image.ext

The replacements are separated by a space and the image by a tab.

You can also add buttons via javascript: there are two arrays: bbtCustomAdmin and bbtCustomComms respectively for the entry editor and for the comment editor. If you want to customize the function of a tag, you have to use the bbtCustomFunctions object:

bbtCustomFunctions={
	'mytag' : function() {
		// Do some stuff
	},
}

The function must return true or false: with false the tag is complete, with true the default function is run.

You can change all options from the administration panel: go to Plugins -> BBToolbar. … [Leggi il resto]

Plugin DokuCaptcha (v1.1) [Flatpress]

English

This plugin is the porting of the Dokuwiki’s CAPTCHA plugin by Andreas Gohr.

All data about original authors are in the file authors.txt.

It has some captcha types: Textual, Javascript, Image or Audio.

You can select your favourite mode from Admin -> Plugins -> Dokucaptcha.

Changelog:

  • Cleaned all code
  • Changed the font (now it’s Kindergarten)
  • Removed the flash wav player for audio captcha (it didn’t work very well)
  • The javascripts use the DOM instead of jQuery

License: GNU GPL v2 (but not v3)

Download: dokucaptcha_v1.1.tar.gz.

Italiano

Questo plugin è il porting a Flatpress del plugin CAPTCHA di Dokuwiki, fatto da Andreas Gohr.

Tutti i dati sugli autori originali sono nel file authors.txt.

Ha diverse modalità di funzionamento: Testuale, Javascript, Immagine o Audio.

Potete scegliere la vostra preferita da Amministrazione -> Plugin -> Dokucaptcha.

Changelog:

  • Pulito tutto il codice
  • Cambiato il font (ora è Kindergarten)
  • Rimosso il player wav in flash (non funzionava molto bene)
  • I javascript usano il DOM anziché jQuery

Licenza: GNU GPL v2 (ma non v3)

Download: dokucaptcha_v1.1.tar.gz.