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

Tags: pre-release

Jun
2nd
2008

Opening the blogrums

Posted in : Techno Babble

It's like a forum, but it's a blog

Finally, I've mostly integrated the old blogrum code with InnerVisions .... I've even started a tutorial on how to add a blogrum to your own b2evolution blog .... don't get excited though, it's nowhere near finished and I'm not in any great rush ;). There's still a fair amount of work to do with it before it's anywhere near the end result I have in mind, and the skins a tad shagged in IE6, but I'll be re-skinning it as soon as I've got all the code working and testing, so either put up with it or switch to a browser that it does work in ;)

I've decided that I can't be arsed importing all the current blogrums posts/comments/users, it's more hassle than it's worth so I'll just leave the current version where it is and shut down the ability to post/comment there. I also haven't redone the ability to create a new post from the frontend, I'll work on that when I get more free time. For the moment it's only linked in my drop down menus as I'd need to redo the header graphic to add it to the menu buttons, and I'm liable to go for a whole new skin if I have to go to that effort anyway ;)

Anyway, feel free to have a play, and let me know if you find any bugs/quirks ;)

¥

1117 views and only one comment
Top ways you found my blog
May
16th
2008

Playing with external links

Posted in : Plugins & Widgets

External links are a pane

I decided to have a play around with my skins external links code, which uses javascript to add an onclick event to any links with class="ext", and a plugin I've had lying around for a fair smidge which does something similar for all/any external links by looking at the href for the link in question. The end result is a shiny new plugin which will add a graphic to every external link on your blog, clicking the graphic opens the link in a fancy little overlay which I stole from our photozoom plugin. I also threw in a few settings so that you can change the text that's added and add any domains that you class as internal links, although the plugin will auto generate an entry for each unique blog url on your system so you probably won't need to add any.

If you fancy having a play with this then you'll need to download 2 plugins as I've decided to separate the fancy javascript screen stuff into it's own plugin as I'm starting to use it in a couple of plugins and it's easier to have a dependency and maintain one codebase. You can download the external links plugin here ( am_externallinks.zip ) and the javascript helper plugin which it needs here ( am_jshelper.zip ), upload them both, install the js helper plugin and then install the external links plugin. That's pretty much it, now all your external links will have a crap looking arrow graphic which, when clicked, will open your link in a cool overlay. Your links will also have the class amExternalLink added to them so that you can style them as you wish. The arrow <img> tag will also have the same classname applied so you can change the graphic to suit your skin.

As always if you find any bugs or it melts your blog then just let me know ;)

¥

2288 views and only 18 comments
May
12th
2008

Tidying the Admin screen

Posted in : Plugins & Widgets

Does your admin look bloated?

NOTE : The chances are that none of this works in IE, so if you use IE you may as well skip the rest of this post ..... or read it and then go get a better browser ... whichever rocks your boat

So, I was playing around with the admin area to see what could be done using js, as it's required for the admin area to function anyway, and css. The main idea was to hide all of the clutter that's not used for the majority of posts, or only used briefly during the whole posting process, whilst also leaving it accessible for the moments that you do need it. When I say "clutter" I pretty much mean everything except the textarea that you type in and the post title. Toolbars - gone, advanced properties - gone, categories - gone, post status - gone, you get the picture ;)

All of this is done from a plugin which hooks into a couple of the admin events and then unleashes a bit of javascript to play around with classnames and id's and onclick events and stuff. The rest is handled by a simple bit of css ...... so simple in fact that IE can't understand it ...... nothing new there then huh? ..... anyway, the end result is that pretty much everything in admin is collapsed or hidden until you hover over or click stuff. The toolbars will show on hover, or you can click the text to pin them open if you're going to be using them a lot for a particular post.

The whole of the right column is reduced to a lil tab handily marked "OPTIONS". Hovering over the tab brings the right column back so you can play with your categories, visibility and renderers and things. This allows the post textarea et el to be expanded to fill the width of the screen which, for me, makes posting far far easier ...... combine that with Afwas's plugin ( [2.4] Resize Admin Textarea plugin ) and you can pretty much fill your screen with just the post area ...... cool huh?

Finally a thanks to John for his constructive criticism and suggestions about the plugin ..... and for allowing me to scare the shit out of him when most of his admin area disappeared ..... I suppose I should have warned him first :roll:

Anyway, if you fancy having a play with this plugin, and you're using a decent browser, then you can download it here ( am_tidyadmin.zip ). If you find any bugs or flaws or stuff ( apart from "it doesn't work in IE", and variations of the same tune ) then just let me know.

¥

1082 views and only 19 comments
Apr
21st
2008

Predicting tags

Posted in : Plugins & Widgets

Auto-complete your tags

I decided to have another play with tags as I tend to use them quite a bit on my posts and I'm always forgetting which ones I've used before and which ones I haven't. So I threw together a plugin that will auto-suggest tags based on ones that you've used in the past. It'll also show you a list of all other similar tags in case you have more than one tag with the same starting letter(s) although they're not clickable at the moment because I haven't got that far.

Installation is pretty simple, just download the zip ( AM AutoTags ), upload it, install it, then meander into the plugin settings and set the tag separator for whatever your version uses. That's it. Now when you enter tags you it should try and auto complete them for you and show you a list of other tags.

NOTE : I've only tested this in FireFox as my IE is having a crisis of confidence when it comes to running javascript, so if you use IE and it doesn't work then tough shit. Also, this is a pre-release version so it's bound to have a few quirks, if you find any then just let me know and I'll see what I can do to eradicate them.

¥

*edit* 24th April
I think I've finally managed to convince IE that it can actually understand javascript so this should now work in IE as well, zip file updated

1923 views and only 39 comments
Jan
3rd
2008

Playing with an RSS reader

Posted in : Plugins & Widgets

SimplePie gets widgetised

After being nudged by Danny about an RSS reader I started a fair while back and never finished, mainly because I didn't have a use for it, I felt obliged to create an RSS Reader widget .... mainly to stop him nagging my arse off ;). Fortunately I'd come across an RSS Reader class a tad ago called SimplePie which would make the task a LOT easier, although it took a bit of pissing about to get it working the way I wanted. If you want to skip all the usual babble you can download the current version of the plugin here ( AM RSS Reader ), it does come with some system requirements which can be found on SimplePies System requirements page.

Installation and usage

Installing is the same as every other widget, download the file, unzip it, upload the am_rss_reader_plugin folder to your blogs folder. Meander over to admin > global settings > plugin install > install new plugin ( damn that's a hell of a path ), click the install link for the plugin. Now wander over to your skins widgets and click add new widget for whatever skin container you want it in. On the widgets settings page choose a custom title for the feed, the maximum number of items you want to display and slap in the feeds url ( note to self : validate the feed url ). If you feel brave you can play with the items html ( see the readme for replacement values ), the chances are that you won't need to change it. Once you have all your settings done, hit save. That's it, you now have the feed in your skin wherever your container is.

So, what can it do?

The short answer is "quite a bit actually", the long answer is that it has a bunch of settings which it utilises in a magic ceremony that results in the RSS feed being spat out, wherever you placed the widget, in a totally customised way. This magic is carried out by unemployed elves who are desperate for work now that christmas is over. So not only will you have a really cool widget, you'll also be helping save the elves, now is that cool or what? Of course this means that the widget stops working around the beginning of december for a few weeks but such is life ;) Rather than repeat all of the settings, what they do, why and how I actually made a readme ( yeah I know, me write a readme, whatever is the world coming to? )

Semi-technical stuff

Due to the fact that I dislike having folder permissions set to "let the world rape me", which is unavoidable on some shared hosting, I decided not to use SimplePies caching system, which uses files, and instead the results are cached in the database. You can set the cache duration to absolutely anything you like, the default is 60 minutes. At the moment I've only enabled the simplest of the SimplePies abilities, ( ie/ you can get post author, content, url, date, title ), but if anybody really wants some of the other functionality that's available with the class then just holler, it's not that difficult to incorporate them.

As always this is a pre-release version, although it's been tested in most 2.x flavours, so if it breaks let me know .... if it doesn't break then it'll be released as soon as I come up with a post that doesn't involve elves ;)

¥

*edit* You can now see the widget in action on my Feeds I read page.

5285 views and only 43 comments
Dec
6th
2007

Photozoom 3 takes steroids

Posted in : Plugins & Widgets

Introducing the PZ3IceCold plugin

We haven't really named it that, it just kinda fit with the flow of the rest of the post ... just like all the images do ;) ... So, you want it, you desire it, you love the feel of it in your hands, you want to do all sorts of cool and sexy things with it ...... you need a shrink ...... but where the hell do you get it? The short answer is here, the long answer is way longer and also involves big words .... but you've already downloaded the plugin and forgotten all about my tacky lil pad, whilst you paw over the coolness of the interface .... I understand .... sniff .....

 

for the minority that are still reading, here's the rest of the post ( including all the big words ):

We rock :D

Millions of people email us on a daily basis begging us to code a photozoom plugin that works with every version of b2evolution that we've tested it with ........ which is .... urm, whatever version I'm running, and another one, and scott may have tested it by the time I post this, in whatever version he's running, so that's three versions it may or may not run in ...... Today their dreams have become a reality ..... so stop emailing us already, just download the bloody plugin :| ...... from now on, adding a photozoomed image to your posts is as simple as clicking a button, emailing us to tell us how frickin' cool the interface looks, clicking a few more buttons here, type the odd caption there and ... just for you IE users out there ..... clicking on a radio button, and voila, or boom or blammo or whatever, instant PZ3 image in your post complete with caption, alt text, title text and some other bits of your choice ....... how cool is that!

So, how come we're cooler than a canadian snowstorm?

The short answer is "install the plugin".The long answer is much longer and includes those big words I promised : On the grounds that the b2evo admin pretty much requires javascript just to function, we decided to have a play with improving the work-flow by manipulating the DOM with some pretty persuasive code .... which is ironic really, since photozoom was specifically created to be a pure CSS solution .... without all the ie specific html shit that other solutions employ ... anyway, I digress .... so, we started to play with an interface .... ohhh, and we bent the core a tad, sorry FG .... and then we spent a fair smidge of time, courtesy of Mr Gates, with a slightly higher than normal blood preassure ... and then, finally, we stepped back and looked in awe at the wondrous mess we'd created ....... at least it proved the concept was viable :>>

So, we wandered off into a dark and lonely place and spent a few days coding up the new work-flow ... and then we spent several hours beating IE over the head with a copy of HTML for Dummies ... and finally it was done. The end result is a plugin that makes it a doddle to add photozoom images to your post, without you having to worry about all the HTML/CSS required to make all the magic work. As an added bonus the plugin actually puts the HTML into your post so even if you uninstall the plugin, as long as you include the pz3 css in your skin, your images will still work.

Is that it?

Realising that not everybody likes the black look, weirdos, we added loads of classnames and id's and stuff to all the various bits that make up the interface, so if you prefer your screen to be red just hit the relevant stylesheet and play with hex. Just don't forget to take IE to one side and slap it around until it understands your changes. Please note : this is a pre-release version, so there's still a few style glitches to work out with the interface. The actual photozoom part of it is fully finished though and won't be changed between now and the public release, so it's safe to play with it.

As always any feedback would be appreciated, even if all you want to say is "your interface sucks", of course we'd just refer you to a good shrink, but that's by the by.

¥

1920 views and only 14 comments

1 2 >>