The Compact Monthly Archive Widget has just been released at 1.0.
This widget has been on the sidebar on the left of OddThinking for 9 months, but now it is available for you own WordPress blog.
Everything you need to know is on the plug-in’s home page.
The exciting part is not the widget itself, but the fact that it is hosted by WordPress – that’s a big change from EmailShroud and CRCRLF which are only hosted here.
That meant learning Subversion (which has been on my list for a while).
It also meant learning Trac as a developer, rather than merely a reporter. Note: I haven’t worked out how to get this component added to the Trac component list, so you can’t report bugs that way, yet.
Finally, it meant learning the WordPress/BB Readme.txt format, which I still haven’t nailed because the screenshot included with the readme is 404ing.
Comment by Aristotle Pagaltzis on January 8, 2008
Don’t get used to Subversion. Move up to something better before it rots your brain too much.
Comment by pmb on April 9, 2008
Aristotle: Svn is the evolution of old Cvs.
Did you invent a newer, more advanced, system?
Comment by baron on May 12, 2008
hi. Thanks for plugin
perfect.
regards
Comment by Philix on July 25, 2008
This is a great plugin
Comment by Matias on January 11, 2010
Hi. I like the plugin. I want to ask you 2 things:
1) How I can use the plugin when I’m not using sidebar widgets. I mean, Is it possible to use the plugin in an “old school” way?
2) Is it possible to use a timestamp different from my locale language?.
Thanks in advance! (sorry for my bad english).
Comment by Julian on January 11, 2010
Matias,
I had to look at the code to remember this…
Sorry,
1) No, I use the widget framework to look after most of the context, so it can’t run as an old-school plugin. (You are, of course, welcome to adapt it.)
2) The WordPress locale is used to find out the names of the months. It doesn’t have to be the same locale as the operating system on the server, but it does have to be the same locale as the WordPress instance.
I’d be interested to hear why you would like it to be different; sounds like an unusual need.
Comment by Phil on May 5, 2010
Don’t work with WP 2.3.1
Please help.
Comment by Julian on May 5, 2010
Phil,
First thing to do is to immediately upgrade to WordPress 2.3.2 to deal with a security issue that was dealt with over 2 years ago.
Actually, best upgrade to 2.3.3, to deal with the security issues dealt a few months later.
Now that you have the upgrading process down pat, maybe you should consider upgrading to either 2.5.1, 2.6.5, 2.7.1, 2.8.6 or, best still, 2.9.2? There’s been a lot of progress to WordPress since you last upgraded!
If you do have some good reason not to upgrade past 2.3.* (Please share what it is, I am curious!), this plugin should still work. Let me know what symptoms you are having. (But, I can’t promise to actually install WP 2.3.1 to test it, sorry.)
Comment by Julian on May 31, 2010
Just confirming: it appears to work for WordPress 3.0RC.
Comment by Charlie on June 24, 2010
Hi – great plugin!
Is it possible to have the years in reverse order – so as to have 2010 at the top and 2008 at the bottom of the list?
Cheers
Comment by Julian on June 24, 2010
Charlie,
Excellent question.
I haven’t got the time at the moment to actually implement and test this out, but I can point to the right area if you are handy with PHP and SQL.
In the file
compactMonthlyArchiveWidget.php, at line 21, there is an SQL query, that finishes:ORDER BY post_date ASC");I think you need to replace that last bit with:
ORDER BY Year DESC MONTH ASC");In the same file, at line 28 it says
for ($currentYear = $startYear; $currentYear < = $endYear; $currentYear++).You need to replace
<=with>=and++with--This is untested! Good luck.