I am currently tinkering with a phpBB3 installation for a forum I ran until the summer of this year – Coffeehouse Chat. I shut the site down in the summer, but am now contemplating opening it up again. However, I want to try a few new things out on the site, including some ’embedded content’ where I include content generated elsewhere on my site in forum posts and pages.
The easiest way to do this seemed to me to be use the HTML IFRAME tag, but I wanted to do this within the context of Forum posts, and didn’t want to get in to having to create separate template pages for these special pages within Forum threads. I therefore decided to use BBCode tags and use those to code IFRAME tags.
There are always warnings about implementing any form of BBCode that can in principle allow a user to put code from another site dircetly in to your page – and quite rightly so. However, I felt reasonably comfortable about the approach I was going to take, as rather than make available a ‘generic’ BBCode version of an IFRAME tag, I was going to create a series of BBCodes that would only insert an IFRAME tag with a pre-specified URL and other attributes in to the page.
The approach was as follows:
Install the code that I wanted to run in the IFRAME within a sub-directory on my web server.
Tweak that code so as to run within a window that would fit comfortably within the space available for a conventional phpBB forum post.
Within the phpBB administration screen, create a new BBCode to generate an IFRAME specific to the application in the sub-directory. For example:

Here I decided that to add my game of ‘Battleships’ to a page I would simply create a BBCode tag called [battleships].
Write the corresponding HTML code that will be inserted in the page when the phpBB is encountered. In this case, it’s as follows:

Because the URL is pre-set to a location within my own site, there is no problem if users of the Forum choose to use the BBCode on their own posts within the Forum.
The BBCode command can thus be placed on any page and brings in content generated from the predefined URL. I’ve used this approach to embed some Javascript applications in Forum posts, and it works very well as a means of delivering customised content within posts.
There’s an old joke amongst musicians – ‘What do you call someone who hangs around on stage with musicians?’ The punchline? ‘A drummer.’ Well, I like drummers – most of them, anyway. I think that the first drummer that I became really aware of as a personality within a band was Charlie Watts of ‘The Rolling Stones’ . To start with he always appeared older than everyone else there, and looked more like an accountant who’d accidentally found himself sitting behind the drum kit. But by gum, he could drum! And as the rest of the band age, Charlie barely seems to alter. When his colleagues find themselves in the glare of publicity, Charlie stays behind the scenes. Solid. Reliable. Literally a safe pair of hands. And that’s how I regard drummers. There are exceptions to this rule – Keith Moon being the obvious one – but let me run with this!
One of my ‘guilty secret’ films is the 1982 John Badham movie ‘War Games’, in which a teenager inadvertently starts the countdown to World War 3 by hacking in to a military computer system. He thinks he’s playing war games, but the computer thinks that it’s the real thing and starts counting down to a real missile launch. At the end of the film, the youth and the computer’s inventor manage to convince the machine to stop it’s attempts to launch the missiles by telling it to try out various game scenarios in which the result is always the same – mutual destruction. The computer, smarter than most politicians, remarks that nuclear war is an interesting game; the only way to win is not to play.
…a thing as lovely as a tree, goes the poem. We’ve been blessed this year by squirrels in our garden. We live in a suburb of Sheffield with lots of trees which give a great playground for the squirrels, roosting places for birds, sources of sound effects when the wind blows through the leaves and variable satellite TV quality in the spring and summer when the leaves on a particular nearby tree get in the way of the incoming satellite TV signal!
When I was kid my main regret about our garden was the lack of a tree at the end of it. It was a loooong garden, just right for a long-wire aerial to support my interest in short wave radio. Unfortunately, there was no tree. the traditional supports for a long wire aerial for short wave listening, as portrayed in numerous books, was a house at one end – check! – and a tree at the other. Sadly, I had no tree, my parents objected to my plan of acquiring a telegraph pole and planting it at the end of the garden, and so my aerial stopped where the last washing line support pole was. Ah well….
I have a client in Harrogate who I visit every couple of weeks, travelling by train. I went up there a couple of days ago, and as I’d had a particularly hectic couple of days before hand was able to reflect on something that I’ve thought about occasionally in the year that I’ve been visiting Harrogate. And that is that it’s really pleasantly slow compared to Sheffield.
I just came across this on my Twitter feed – a reference to a ” ‘Future of the web’ Turtle” at Open 09. Yup – a turtle. After some Googling about and learning more than I ever wanted to know about our green, aquatic co-travellers on Planet earth, I eventually went to
No, nothing to do the 1970s TV series with Ricardo Montalban as a bloke who made wishes come true on an Island with a combination of technology, actors and smoke and mirrors. Although….. Nope, this is a review of a
Not very pleasant reading – although there is a chapter that offers a couple of alternative paths to take. Learning to be frugal is something we’re likely to have to get used to over the next few years, anyway, so that will be easy medicine to take – the vast majority of us have no real alternative. And one other thing after reading this book – it reinforces the old saw that Labour are not fit to govern – which is a dreadful thing for those of us who once had such hopes for the Left in the UK.