bugs or features

You are currently browsing articles tagged bugs or features.

Tarski 2.1.4 contains a vital compatibility fix for anyone upgrading to WordPress 2.6. If you’re planning on installing WordPress 2.6, install this update immediately, before you upgrade your WordPress installation. Following the upgrade guide is generally a good idea.

Always back up your files and database before running a WordPress or Tarski upgrade.

It appears that options are now being automatically unserialised, which means that when Tarski attempts to unserialise the already-unserialised tarski_options object, an error gets thrown which breaks a bunch of stuff. All of which means, upgrade now, or you might potentially lose your Tarski options.

Tarski 2.2 is still in production, and will add some nice functionality as well as some performance improvements and a fair bit of tidying. I’ve backported a couple of bug-fixes from 2.2 to 2.1.4, so you don’t have to wait for them.

Issues with this release should be posted on the forum.

Tags: , , , , ,

2.0.5 Release

Tarski 2.0.5 was initially slated as a pure bugfix release, but as with most things, it grew in the making. Details are in the changelog.

However, the most major features are the bugs fixed. To begin with, the navbar now reorders correctly, and no longer needs to save that order when pages are saved; more efficient and better-written code makes it all happen dynamically.

A problem with Tarski’s options saving and updating code was exposed by the new multiple authors checking instituted in 2.0.3, with the result that the save-and-restore no longer worked properly: restoring one’s options after deleting them would merely save the defaults to the database. The underlying issues have now been fixed.

On the new features front is one I know I’ll appreciate as I continue to improve Tarski: the code behind the version check is now a lot smarter. It used to just check whether the version grabbed from the stylesheet and the one in the database—now it can tell whether any given version is newer or older than the installed version, which lets us do things like show a notice on the Dashboard notifying the user that they’re using a development version.

Lastly, I appropriated some WordPress widget code to rewrite the recent articles section, with the result that it’s now added via an action hook, th_fmain, and can consequently be removed by a plugin as well as through the Options page. The recent articles’ excerpts also have WordPress’ excerpt filters applied to them too, so any plugin which adds or removes those filters will now work as expected on Tarski’s excerpts.

Enjoy the new version; all being well, it’ll be the last before Tarski 2.1, but I wouldn’t bet my life on it.

Please post bugs and suggestions on the forum.

Tags: , , , , , , , ,

2.0.3 Release

There are a few more tweaks and bug fixes in Tarski 2.0.3, all of which are detailed in the changelog.

The update notifier has been the subject of a few improvements, including adding support for PHP’s own file_get_contents function for people whose servers don’t have libcurl installed. Its error handling has also been made more robust, so when required PHP components aren’t available it will let users know what the issue is and how to resolve it.

If you want to use images as links but don’t like borders, the new imagelink2 image class will let you do that simply and easily.

There are a few text changes in this version, so if people could provide updated translations (shouldn’t take long) that would be wonderful.

Bugs and suggestions to the forum please.

Tags: , , , , , , , , , , , , ,

2.0.1 Release

With any major Tarski release, I know that there are bugs which won’t rear their ugly heads until it’s in the wild. Tarski 2.0.1 fixes the ones that have shown themselves so far. Details are in the changelog.

Jordan is the man to thank for the major fixes: he’s written a new, more efficient feed parser for the update notifier that should eliminate the memory limitation issues a couple of people had, and added an increased level of robustness to the options updater.

There are also fixes for a couple of CSS bugs, one where the navbar would disappear when only title and tagline were set to not display, and another where the next/previous post navigation disappeared in Internet Explorer.

Lastly, Tarski’s stylesheets are now added via the wp_head hook, and they can now be filtered. This means if you want to replace the stylesheets entirely, and just use the markup skeleton, you can do it without editing header.php. You could also use it to, for example, add per-page stylesheets or change the URLs to point to a separate file server.

Bugs, suggestions etc. to the forum as always.

Tags: , , , , , , , , , ,

1.7.3 Release

Tarski 1.7.3 includes two bug fixes; if you’re not affected by either of these things, it’s probably not worth the time to upgrade from 1.7.2. Translations should be unaffected by the version bump.

The first fix is to make the update notifier work on servers where allow_url_fopen is disabled, such as the popular Dreamhost. Please note that if your server has allow_url_fopen disabled, you must enable caching by setting the cache directory’s permissions to 777. Otherwise, you’ll just get a “No connection to update server” message. Thanks to janzo on the forum for pointing this issue out.

The asides selector on the Options page has also received a small tweak, to bring it in line with expected behaviour: all post categories are now selectable as asides, even if they currently don’t have any posts in. Thanks to lecrocq on the forum for noticing this one.

Work on the next version of Tarski continues apace, and as always you can keep track of major changes via a quick glance at the roadmap. The technically-minded amongst you can also browse the latest development build. The next version will probably be released in early November, depending on my other commitments.

Bugs and suggestions to the forum as always.

Tags: , , , , , ,

1.7 Release

When WordPress 2.1 was released, we made the mistake of not having a compatible version of Tarski ready. WordPress 2.3—which will be out pretty soon—includes a number of changes which will be significant for Tarski users, and consequently we were determined not to make the same mistake twice. Tarski 1.7 remains backwards-compatible with the WordPress 2.1/2.2 branch, but it’s decidedly forward-looking. You can mull over the details on the changelog.

Perhaps the biggest change is the removal of our Ultimate Tag Warrior support in favour of the new ‘core’ WordPress tags system. Unless you’re running the 2.3 release candidate, this means your tags will disappear until you upgrade your WordPress installation and import your UTW tags. Tarski’s new tags page template, which you can see in action on our tags page, uses the new WP tag cloud.

While the overall goal of 1.7 was to make Tarski compatible with the new version of WordPress, we also took it as an opportunity to polish our code a bit and add a few helpful new features. As you can see by casting an eye up to the navbar, the ‘Home’ link can now be renamed. People have been asking for this for a while now, and I decided it was time to give in. You can change that on the Tarski Options page; look for the ‘Navigation Options’ header.

Speaking of the navbar, we’ve fixed an annoying issue where one had to re-save one’s Tarski options to get the navbar to reorder. It now reorders automatically whenever you save a page (since that’s when you change the Page Order value). The navbar output has also been added to the hooks system, which means two things: firstly, the constants.php file is now fully replaced (at least as far as it’s going to be), and that you can now add links to the navbar using a plugin. I hope to use this functionality to add a more elegant, user-friendly way to include external links.

The update notifier improvements in the last release have received a boost too, as the version check is now cacheable. To enable the cache, you need to make sure permissions on library/cache/ in your Tarski directory are set to 777. More details are available on the Update Notifier page.

For those who prefer to use a header image as their website title, and hide the actual title, I’ve improved the code so the alt attribute description is the site title when the title isn’t displayed, and the image itself links home (when you’re not on the front page, of course). A pinch of CSS means things should display as before, but the way things work is a bit more closely aligned with the expected behaviour (i.e., the site title links to the home page).

Category and author archives have had their first improvement in a long while: if there’s a description associated with them, they’re now displayed instead of the boring “This is a category archive for…” or “You are currently browsing so-and-so’s articles…”. So if you view my posts, you get a brief sentence about me instead of generic filler text. In addition to this, the document body now has an id which is set depending on which page you’re viewing, so you could make a particular author or category archive display in a certain way just by adding some extra code to your custom style. We’ve also assigned HTML classes to certain elements of the post metadata, so you can style those more easily.

As I detailed in my article on Tarski Plugin Integration, the support for specific plugins is now gone, so if you want to carry on using those plugins with Tarski I strongly recommend giving it a read.

Many thanks to everyone who helped me track down and fix the various bugs in Tarski 1.6; hopefully 1.7 won’t have the same problems. Enjoy the new version.

Please post bugs, suggestions and new translations on the forum.

Tags: , , , , , , , , , ,

1.6 Release

Despite only releasing the previous version a month or so ago, we decided to call this release Tarski 1.6 since there have been some fairly major changes. You can obsess over the details in the changelog as usual.

Perhaps most importantly, the header selection code in the Tarski Options page has been almost completely rewritten, although it preserves the same functionality as before. Where before it relied on JavaScript being enabled in the user’s browser, it now degrades gracefully—when JavaScript and CSS are disabled, it will still be functional, building up from an HTML skeleton rather than down from a JavaScript implementation. For this you can thank Chris Erwin, author of the Checkbox & Radio Input Replacement script that makes our new header selection code tick, and Richard Fliam who did some sterling work making our implementation compatible with Internet Explorer.

In line with other changes being phased into the WordPress admin panel, we’ve switched our required JavaScript library to jQuery, which now does the show and hide legwork for the sidebar options selection. The comments file has also been rewritten, stripping out some forty lines of code and resulting in a cleaner, leaner and more maintenance-friendly file.

We’ve also fixed several bugs, including both a recently introduced one where the ‘Author’ field in the comments form was being filled by the author link of the last commenter, and a very long-standing one where comments display was screwed up for users of the ‘Recent Articles’ sidebar widget (many thanks to Peter Cawley for providing this and other fixes).

The new update notification system will hopefully pass unnoticed, as a seamless replacement for the old one. Essentially it’s just an Atom feed, which Tarski checks whenever you visit the Dashboard or Tarski Options page (I may look into caching results for the next version). This is more secure, and allows the notification text to be translated—something that wasn’t possible with the old system. Niels Leenheer’s Feedparser does the heavy lifting.

1.5 translations have been frozen and the latest translations can be found in the translations trunk directory as usual. Just as a heads-up, this will probably be our last major release before WordPress 2.3 comes out. Enjoy the rest of your summer, and we’ll see you in September for Tarski 1.7.

Bugs, suggestions and new translations to the forum please.

Tags: , , , , , , , , , , , , , ,

Since 1.5 came out, new translations of Tarski into Bosnian, Bahasa Indonesian, Dutch, Swedish, German and Romanian have been released. You can get all the latest translations here. If you’d like to contribute a new translation, take a look at the localisation page.

July 25, 2007 by Ben Eastaugh | Permalink

1.5 Release

Those of you who’ve been following our updates via Subversion will know this already, but for traditionalists who like to download a zip file each time, here’s Tarski 1.5. Quite a lot of stuff in the changelog, but I’ll give the usual rundown here as well.

First up is a rudimentary mobile stylesheet; something I’ve been meaning to add for ages but only recently got round to. It’s not amazing, but it’s functional and preserves the Tarski aesthetic.

The theme hooks system has been massively overhauled, with the clunky and simplistic constants.php replaced by the custom plugin hooks system I described recently. Check out library/tarski-hooks.php for the hooks, and library/constants-hooks.php for the bridge between that and the existing constants.php file, which is still supported as a legacy system (and a simpler one for the less PHP-savvy amongst us).

Amongst the other new features are better OpenID comments support, and thanks to one user’s intervention there’s also much better support for static front pages—which just goes to show, if you bring an issue up in the forum there’s a decent chance something will be done about it.

Other than that, there are the usual tweaks and bug fixes. Thanks as always to those who’ve contributed translations, suggestions, and code, especially to Jordan Liggitt who solved a problem with the older and newer entries navigation.

A quick note on translations: translations for Tarski 1.4 have been frozen here, translations for 1.5 will be added to the translations directory as they come in. The .pot file in that directory is up-to-date.

Bug reports, suggestions and translations to the forum please.

Tags: , , , , , ,

Just published an article over on Extralogical about adding custom hooks to WordPress themes, which might be of interest to the theme authors amongst you. It also offers a little preview of how the new hooks system in Tarski 1.5 will work.

June 13, 2007 by Ben Eastaugh | Permalink

« Older entries