Piero V.

Make comments always visible on Flatpress

Italiano

Può capitare di far sempre visibili i commenti su Flatpress.

Ecco il plugin che fa al caso vostro:

<?php
/*
Plugin Name: Comments Always Visible
Version: 1.0
Plugin URI: http://www.vdfn.altervista.org/2010/09/29/make-comments-always-visible-on-flatpress/
Description: Make comments always visible
Author: Piero VDFN
Author URI: http://www.vdfn.altervista.org/
*/
function plugin_commentsvisible() {
	global $fp_params;
	if(!empty($fp_params['entry']))
		$fp_params['comments']=true;
}

add_filter('init', 'plugin_commentsvisible', 20);

Salvatelo per esempio in fp-plugins/commentsvisible/plugin.commentsvisible.php.

Licenza: Pubblico Dominio

English

If you use Flatpress, maybe you want to show comments always.

This is the code to do that (see on the top of entry).

Save it for example in fp-plugins/commentsvisible/plugin.commentsvisible.php.

License: Public Domain

Plugin Internal URLs (v1.6) [Flatpress]

Italiano

Ho scritto una nuova versione del plugin Internal URLs.

Ha un leggerissimo miglioramento per le prestazioni: se non usate Pretty URLs, non eseguirà il suo hack creato a posta.

Per vedere come funziona, andate a vedere la versione 1.5.

Licenza: GNU GPLv2

Download: Internal URLs v1.6.tar.gz

English

I’ve written a new version of Internal URLs Plugin.

It’s a small fix for performances: if you don’t use Pretty URLs, it won’t use the Pretty URLs hack.

For usage, see version 1.5.

License: GNU GPLv2

Download: Internal URLs v1.6.tar.gz

Difendiamo l'Inno di Mameli

Non so se tutti lo sanno, ma c’è la Lega Nord che da tempo fa affermazioni contro l’Inno di Mameli.

Penso che tutti saranno d’accordo con me nel dire un bel “Ma Vaffanculo!” perché andrebbe solo valorizzato.

Scusate lo sfogo ma la TV locale che trasmette il solito Gentilini che ricordo non è sindaco che è presentato come tale (invece è il vice sindaco di Treviso) che fa le sue le sue scenate.

Si dirà dei calciatori e altri sportivi che non conoscono l’Inno Italiano ma bisognerebbe guardare anche ai politici che dovrebbero dare il buon esempio.

Non so se anche da voi sia così, comunque vi auguro di no.

Ah, comunque, tanto per mettere tutto in chiaro dico questo solo perché penso che portare rispetto sia un obbligo per chiunque.

Power Balance @ Le Iene

Come sospettavo, quella cavolata immane di power balance è solo effetto placebo.

Ti fregano 40€ per un braccialetto di gomma inutile.

Il tutto è stato provato da Le Iene.

Plugin Emoteseditor (v1.0) [Flatpress]

Italiano

Ho scritto un plugin che serve per avere una lista delle faccine da inserire sopra la textarea dell’editor dei post.

Non penso che funzioni anche con TinyMCE.

L’uso è semplice: appena decompresso aprite con un editor di testo semplice il file plugin.emoteseditor.php e da linea 14 inserite le vostre faccine come fatto nelle linee 12 e 13, senza però il # che è un commento.

La funzione in javascript è presa da phpMyAdmin e scritta per tutte le textarea da alexking.org.

Licenza: GNU GPLv2

Download: emoteseditor_v1.0.tar.gz

English

I’ve written a plugin that inserts the smileis list before the textarea of entries editor.

I think it won’t works with TinyMCE.

Before using it you have to edit the plugin.emoteseditor.php file with a php editor or just with notepad and insert from line 14 your emoticons like as done it in line 12 and 13, without the #.

Javascript function was originally in phpMyAdmin and it was written for all textareas by alexking.org.

Licence: GNU GPLv2

Download: emoteseditor_v1.0.tar.gz