Only fill this in if you're a spammer huh? Your name :
Your email :
Your message :
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]
23924 views and only
Mar
17th
2006

It's been a while

Posted in : Thoughts, B2evo cvs

Well, it's been a smidge since I last posted here, mainly because I've been working on a few projects which are due for release soon. Two of them involve phoenix blogs and the other one is [elsie].

I've also been working on some new anti-spam measures, although some of them won't be implementable until they publicly release the 1.8 version of the code, which is geared far more towards stopping the wankers that think spam is the way forward (if you're a spamming wanker and actually reading this, please feel free to spam this blog, the data that you provide is invaluable :D ).

As you can see from the "number of comments in the last 24 hours" I haven't actually enforced any of the antispam measures on this blog, although you have to be a logged in member to be able to make a comment that's actually published - if you're not a member, and you want to make a comment then you'll need to get hold of me via the [b2evo] forums and request membership of this blog. This is mainly so I can get a shedload of data on the methods that these wankers use when they spam. So far I have over 15,000 spam comments on record, and you'd be amazed at how much these can be condensed to "common properties".

The new anti-spam measures that are coded into the 1.8 version will make it VERY simple for anyone to write a plugin that can assist fight spam. Instead of the "true/false" blacklist that's the current method, they've implemented a "karma" system whereby comments (and posts) are analysed by a variety of plugins and an overall "chance of spam" is generated. This changes the blacklist into a grey list which is far more useful as you can have good guys and bad guys all in the same table and each can affect the eventual karma total.

It'll be interesting to see the sorts of antispam measures that other developers come up with. As all of them will be plugins you'll be able to pick and choose which ones you wish to implement on your own blogs. The goal is to have such a variety of measures that may or may not be implemented on a blog, that the spammers just piss off and shoot themselves ...... damn, now that would be a christmas present huh?

¥
21968 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.

¥

23356 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
12th
2005

Beta is comming

Posted in : Thoughts, B2evo cvs

Well, it looks like they're getting close to releasing Phoenix Beta, which has a lot of bug fixes in it and some new bells and whistles. The major down side is that they've "refactored" the plugins, which appears to be a fancy way of saying "renamed all the functions and hooks". This means that all of my plugins will need to be rewritten to work with the beta version, ahhh gotta love cvs. Whilst it sounds like a pain in the arse, it shouldn't actually take much work to convert them over, it'll just take time ..... damn, I almost wish I'd only written one plugin now :p

On the brighter side, I've almost finished converting my comment moderaton hack over to the beta version and I've started on expanding it into a full system rather than the "works enough for me to use" system that's in place at the moment. If I can get the code robust enough and it does what's wanted then I'll see about getting it added to the core.

Another bright point is, with the code going into beta, apart from the fact that it means it's getting closer to a full release version, it should also mean that the code is far more stable and unlikely to be "refactored" again. So this should be the last time I need to recode my plugins ...... I'm an optomist :|

In other news today, [stk] has joined forces with a certain unamed british programmer to start up "a value-added website presence",

[quote]Initially, our goal will be to provide b2evo-specific add-on features, tutorials and plug-ins. Many of these features will be free, in the spirit of Open Source software, but because we both hope to continue full-time development, we'll be accepting donations, offering site subscriptions, and taking on website consulting work. And we're planning on extending support, articles and features beyond b2evolution, covering such diverse topics as CSS, XHTML, site maintenance, design and a number of other open source applications.[/quote]

Sounds like it's going to be fun.

¥
21174 views and only

1 2 3 4 5 6 7 8 >>

Subscribe to rss feed
 
Skin design by AstonishMe This blog is powered by b2evolution
 

X