Only fill this in if you're a spammer huh? Your name :
Your email :
Your message :

Categories: Plugins & renderers, Plugins, Renderers

Apr
11th
2006

Code plugin demo

Posted in : Plugins & renderers, Renderers, Plugins

[lt]?php echo 'hello world'; ?[gt] [lt]script type="text/javascript"[gt] window.alert( "hello world"); [lt]/script[gt] [lt]h1[gt]Hello world[lt]/h1[gt] [lt]p[gt]Hello world[lt]/p[gt] [lt]style type="text/css"[gt] #hello{ color:#f00; background-color:inherit; } .world{ color:inherit; background-color:#f00; } [lt]/style[gt]
23926 views and only
Jan
17th
2006

[plugin] Code formatter

Posted in : Plugins & renderers, Plugins, B2evo cvs

Damn, this one's a doozy :)

It's not quite finished yet, but this plugin allows you to post code between <pre> tags. At the moment the output is pretty basic, but I might get round to adding some sort of syntax highlighting to it

[lt]?php

/**
 * This file implements the code formatting plugin.
 *
 * @package plugins
 *
 * {@internal Below is a list of authors who have contributed to design/coding of this file: }}
 * @author Yabba - {@link http://www.astonishme.co.uk/}
 *
 * @version $Id: _code.plugin.php,v 1.00 2005/08/14 11:39:00 yabba Exp $
 */
if( !defined('EVO_CONFIG_LOADED') ) die( 'Please, do not access this page directly.' );


/**
 * Code Plugin
 *
 * This plugin responds to rendering event
 *
 * @package plugins
 */
class code_plugin extends Plugin
{
	/**
	 * Variables below MUST be overriden by plugin implementations,
	 * either in the subclass declaration or in the subclass constructor.
	 */
	var $name = 'AM Code';
	var $code = 'am_code';
	var $priority = 100;
	var $version = 'CVS $Revision: 1.00 $';
	var $author = 'Astonishe Me';
	var $help_url = 'http://www.astonishme.co.uk/';

When it's finished and a fluffy write up is done by an unamed yank it'll be released on our new site Astonish Me.

¥

23357 views and only
Dec
20th
2005

[renderer] Search highlighting

Posted in : Plugins & renderers, Renderers, Plugins, B2evo cvs

Having seen this feature requested a few times on the [b2evo] forums, and having been stoutly nudged by an unnamed displaced yank with "I've been after this for ages as well" I've created a search term highlighter plugin.

As always to use this plugin, download [media phoenix/renderers/search.zip]this file[/media] and upload it to your plugins directory.

Go into admin for your blog and choose the settings tab and then the plugins subtab, and click the install link for the plugin.

The search keywords are highlighted with the css classes search_hit# where # is the keyord number 0 > x , I would imagine that 10 or so would be more than ample for any search that is done

There are a few flaws in the way the search results are returned by the evocore at the moment. If you search for <span> it will return any posts with <span> tags (which obviously can't be highlighted). I'm working on a way to overcome this without hacking the evocore, but at the moment the plugin just works with the evocores version of results

There's also a flaw which highlights words that are part of link urls etc, I'll hopefully be eradicating that one as well, if not .... well... I can live with it :p

¥

23064 views and only
Dec
2nd
2005

[skintag] Custom css

Posted in : Plugins & renderers, Renderers, Plugins, B2evo cvs

Introduction [css] .post_test { width:45%; margin:0 auto; border:2px dotted #aaa; background-color:#333; color:#ccc; padding:1em; font: 1em/1.2em georgia,serif; } .custom_code{ width:90%; margin:0 auto; border:2px solid #080; background-color:#eee; color:#000; padding:1em; } [/css] [title]Hello world from the css plugin post[/title]

This plugin was written after a request by a frustrated displaced yank, on this thread on the [b2evo] forums.

Damn Scott, yer always making me work mate    

Anyway, back to the plugin. This plugin allows you to add custom title, description, keywords, meta data, css and javascript to your posts (warning, only use the javascript ability if you trust everybody who has the ability to post).

It isn't quite as simple to use this plugin, you need to make a few changes to your skins, but none of the changes are difficult.

To use, download [media phoenix/plugins/css-plugin.zip]this file[/media] and upload it to your plugins directory.

Go into admin for your blog and choose the settings tab and then the plugins subtab, and click the install link for the plugin.

Pages: 1 · 2 · 3

23186 views and only
Nov
18th
2005

The title

Posted in : Plugins & renderers, Plugins