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

Category: 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]
23928 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