Archive For April, 2003
It doesn’t work perfectly yet but I’ve integrated the related stories hack into b2++. Just add {$relatedstories} to your post.tpl to display them! Note: it only displays related stories when one story is displayed, such as here.
hmm, interesting hack but it could be quite heavy on the server with all those “LIKE” conditions in the SQL! I’ll give it a go anyway in b2++.
Really busy today at work. Not much to blog. Still problems installing b2++ for some Win32 users. If you got b2++ working in Windows will you mail me or reply on the above forum to help Candle? As usual, Tim has some great stuff to read, especially his review of Bob Cringely’s article last week [...]
I released a new b2 snapshot today. This is the first release I’ve testing in Windows. By default Apache on Windows doesn’t enable mod_rewrite so I added code to catch when that happens. Here’s the b2 discussion board I announced the new release on. Download the new snapshot. You should probably download both the src [...]
There’s a nice generalised text highlighter on the Smarty Plugins Wiki page so I modified it slightly to highlight b2 searches! Here’s a search for smarty that shows off this new plugin. How do you use it? Modify your post.tpl and add the modifier to the_content variable like this: {$the_content|highlightsearch} If you want different colours [...]
The newest and best release of b2++ is now available for download! There have been a huge number of changes in this release, so go read the changelog carefully. It has lots of new features such as plugin support, and a much improved install process!
I added the “A Year Ago Today” Plugin to the site. Use it by adding the following Smarty tag to your site template (ie. in index.tpl) {todayayearago heading=’<h1>A Year Ago</h1>’} There are a number of differences between this plugin and the original: The “heading” part is the heading displayed if there are any posts, otherwise [...]
