Plugins

This is a test-area for plugins which maybe one day or another might become official, or that users are submitting.

FlatPress Markdown

Markdown Plugin by Vasily Polovnyov

Description

This plugin allows you to use markdown in your posts. It uses php-markdown-extra, smartypants for typographic transformations and safeHTML for comments.

Download

Notes

Just some important notes:

Markdown can process HTML as is. That’s why you don’t need to disable bbcode plugin. If you disable bbcode plugin FlatPress will not parse the bbcode anymore, and your entries will be full of square brackets.

It is safe to use markdown in comments, because plugin uses safeHTML to strip down all potentially dangerous content within HTML.

FlatPress Highlight.js Plugin

Highlight.js plugin by Vasily Polovnyov

Description

Flatpress highlight.js integration. All js are minimized with yui compressor. Contains all original style themes.

Highlight.js highlights syntax in code examples on blogs, forums and in fact on any web pages.
It’s very easy to use because it works automatically: finds blocks of code, detects a language, highlights it.
This is not only convenient but also allows highlighting for code examples marked up with writing syntaxes like Markdown where there is no way to specify HTML class easily.

Download

Usage

Disable bundled syntaxhighlighter plugin. Edit this two lines in plugin.highlightjs.php:

/* define languages that you actually use on your pages */
define('NEEDED_LANGUAGES', 'css html perl');
/* set theme.
possible values: ascetic, dark, default, far, idea, sunburst, zenburn */
define('CSS_STYLE', 'idea');

TinyMCE WYSIWYG Editor

TinyMCE plugin by NoWhereMan

Description

Allows posts to be written with a WYSIWYG editor, TinyMCE

Read more info on this discussion

Download

Usage

To make the plugin work correctly you have to make some changes in plugin.bbcode.php. So open it and (right at the beginning) you'll find these 3 lines of code

define('BBCODE_ESCAPE_HTML', true); –> change it to define('BBCODE_ESCAPE_HTML', false); (by doing this FP will parse HTML code in posts)

define('BBCODE_ENABLE_COMMENTS', false); –> change it to define('BBCODE_ENABLE_COMMENTS', true); (if you want bbcode to be enabled in comments)

define('BBCODE_USE_EDITOR', true); –> change it to define('BBCODE_USE_EDITOR', true); (this is the trick to make the plugin work: disable the bbcode editor!)

Remeber: DO NOT DISABLE bbcode plugin, because otherwise FP will not parse the bbcode anymore, and your entries will be full of square brackets that will make the posts totally messed up! By doing this, you'll be able to use bbcode format in your WYSIWYG editor, and it will work as always…

To customize the editor refer to the official site of TinyMCE.

Emoticons

Emoticon plugin by NoWhereMan

Description

Very simple emoticons plugin with no extended configuration; you just open the file and fill the details in; from a post on the forum

Read more info: on this discussion

Download

Extended IMG Tag

Extended IMG Tag PlugIn by NoWhereMan

Description

This plugin allows you to add a caption to your IMGs

Download

FavIcon

Favicon plugin by NoWhereMan

Description

Adds a global-wise (theme-independent) favicon to your blog; from a post on the forum

Download

HeadStuff

HeadStuff PlugIn by NoWhereMan

Description

This plugin allows you to add arbitrary data in the <head> section of a rendered page.

Download

SimpleTags

SimpleTags PlugIn by Broobles

Description

Quick port of the original WP plugin to work with FP 'strict' system :)

Download

CommentIPBlackList

CommentIPBlackList PlugIn by fulk

Description

Simple IP based blacklist plugin for blocking comments from specific IP addresses. Can be used to block some annoying posters.

Download

FlatPress FeedControl

FeedControl Plugin by Vasily Polovnyov and NoWhereMan

Description

This plugin allows you to change the default RSS/Atom feed URLs to a custom URLs (FeedBurner, …)

Download

FPstats

Web statistics plugin by Mat

Description

Fpstats is Flatpress plugin providing some statistics about visitors of a blog. Under development, but logging won't be changed (for 99%) so you can use fpstats from now to log data about visitors even though you can't see extensive statistics at the moment…

Links

 
res/plugins.txt · Last modified: 2008/07/24 21:17 by mat
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki