New version! New version! New version! (39)

1 Name: !WAHa.06x36 2005-02-11 14:32 ID:LjtYx7Q/ (Replies) [Del]

First of all, you will notice that I have bowed to the demands of the people and added a version number to Wakaba. It has somewhat arbitarily been selected as 2.0 for this new release.

This new version brings some changes: is no longer supported, because it was leading to rendering problems in several browsers, and didn't really add anything interesting. Furthermore, I've re-written to use the templating system from Kareha, so modifications and fixes should be easier and easier to handle (or so I hope). I've also ported over the stylesheet switcher from wakaba_style and Kareha, which now uses Futallaby-style stylesheets. I was meaning to create some stylesheets of my own, but in the end I didn't find the necessary creativity and just included some by other people: !DEEPjKeito's Gurochan style, and terra's Burichan style.

More stylesheets would be nice to have, and if you feel like making one, go right ahead.

2 Name: !WAHa.06x36 2005-02-11 14:40 ID:LjtYx7Q/ (Replies) [Del]

Now then, some more detailed changes:

  • A new option, IMAGE_REPLIES_PER_THREAD, lets you limit how many image replies are shown on the main page (there is still no limit to how many you can post, threads just get shortened on the main page until they show only a certain number of images).
  • The email field should now support URLs.
  • A German translation has been provided by lolocaust, and can be found in extras/ The other language files have also been renamed to use two-letter language abbrevations ( and
  • Files in include/ can contain the templating functions. mid.html has been renamed rules.html, and contains the default rules. This, along with the header.html and footer.html files should help avoid having to modify for each board. S_HEAD, S_FOOT and S_RULES were also removed entirely from the strings file.
  • has been updated for the new system, and there have been some fixes for the oekaki files. You can also set ALLOW_IMAGES and ALLOW_IMAGE_REPLIES to 0 on oekaki boards to disable image uploading, should you feel like it. Oekaki posting will still work.
  • The post abbrevation bug has been fixed.
  • The No.1 links now link to reply page.

3 Name: !WAHa.06x36 2005-02-11 14:42 ID:LjtYx7Q/ (Replies) [Del]

I'd like everyone to upgrade to this version as soon as possible, because it contains a number of features that make board usage and maintenance easier. But since there are some pretty serious changes, it might be best to just install it on a few boards to start with to weed out any bugs I missed.

4 Name: !WAHa.06x36 2005-02-11 14:49 ID:LjtYx7Q/ (Replies) [Del]

One more things: futaba_style is now very strictly XHTML compliant, and can be sent to browsers as application/xhtml+xml. The included example.htaccess is set up to send it as such to browsers which report themselves as supporting it.

5 Name: !DEEPjKeito 2005-02-11 15:38 ID:omMGZQwR (Replies) [Del]

I have updated to this version on /g/ at GUROchan, and it is working fine. Unfortunately I will be away this weekend, so I don't have the time to update the other boards before I come home again.

Anyway, I have one question. Probably a stupid one too. How can I choose which style's set as default?
I've set use constant CSS_FILE => 'css/gurochan.css'; in the config, but Futaba is still default.

Thanks for your good work!

6 Name: lolocaust!rsvcwx6Axc 2005-02-11 15:48 ID:Heaven (Replies) [Del]


I have noticed that the vericodes don't update properly on /g/ now - I have to reload the reply page to get them to refresh.

7 Name: !WAHa.06x36 2005-02-11 16:59 ID:LjtYx7Q/ (Replies) [Del]


CSS_FILE is outdated, and I just forgot to remove it. There's a DEFAULT_STYLE option that you can set to the name (proper name, not filename) of the style you want as default.

8 Name: !WAHa.06x36 2005-02-11 17:12 ID:LjtYx7Q/ (Replies) [Del]

9 Name: anon!pA1UE1eGto 2005-02-11 18:17 ID:Heaven (Replies) [Del]

Software error:

Can't locate in @INC (@INC contains: . /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl /usr/local/lib/perl/5.8.3 /usr/local/share/perl/5.8.3 /usr/local/lib/perl/5.8.2 /usr/local/share/perl/5.8.2 /usr/local/lib/perl/5.8.1 /usr/local/share/perl/5.8.1 /usr/local/lib/perl/5.8.0 /usr/local/share/perl/5.8.0) at /home/www/ line 18.
BEGIN failed--compilation aborted at /home/www/ line 18.

I just switched to 2.0.1, and this pops up when I attempt to axcess the manage panel on /art/. The I didn't want to replace, but does this mean I have to?

10 Name: !WAHa.06x36 2005-02-11 18:53 ID:LjtYx7Q/ (Replies) [Del]

You didn't install all the files, if it can't find You'll have to install all of them (including the ones in include/ and css/), except, for it to work.

11 Name: Albright!LC/IWhc3yc 2005-02-12 02:43 ID:n4kVeBNy (Replies) [Del]

Did NUBChan update? When I try to reply to this thread, I get a "thread does not exist" error.

12 Name: Orochi Herman!hN02YkuTxM 2005-02-12 03:47 ID:ym0eBU9p (Replies) [Del]

New Wakaba reported as broken as a junk car. Nuff said.

13 Name: !WAHa.06x36 2005-02-12 07:04 ID:LjtYx7Q/ (Replies) [Del]

I should have mentioned that if you use the .htaccess to make it send pages as application/xhtml+xml, you must make sure that your pages are well-formed XML or the browser will scream at you. The default code IS, but any modifications have to be too. That's what's NUBchan's problem right now.

14 Name: !WAHa.06x36 2005-02-12 07:29 ID:LjtYx7Q/ (Replies) [Del]

Actually, the admin panel is ALWAYS sent as application/xhtml+xml, which means that if you fuck up the XHTML, the admin panel breaks. This is a good indicator that you should fix your XHTML.

15 Name: !WAHa.06x36 2005-02-12 08:45 ID:2P+7koGK (Replies) [Del]


I of course meant, "That's what's NUBchan's problem's right now."

16 Name: !WAHa.06x36 2005-02-12 09:43 ID:2P+7koGK (Replies) [Del]

I found a few small mistakes in and the include/* files, so I fixed those. I also fixed some old bugs I had forgetten about, such as the #-in-filename bug, and the bug when not renaming image files.

I also added a few default icons, for various chiptune formats, and for torrent and flash files. The default rules.html now correctly lists all the external format you have specified, too.

17 Name: Anonymous 2005-02-12 13:30 ID:Heaven (Replies) [Del]

> I of course meant, "That's what's NUBchan's problem's right now."

That makes no sense.

18 Name: !WAHa.06x36 2005-02-12 14:17 ID:2P+7koGK (Replies) [Del]


Because IS JOKE.

19 Name: Anonymous 2005-02-12 18:57 ID:Heaven (Replies) [Del]

Oh. haha

20 Name: !WAHa.06x36 2005-02-13 09:44 ID:tMqo9Pk6 (Replies) [Del]

Sling found another bug... orz.

The only files that have changed since 2.0.2 are and (and if you want to get the new version number).

If you have a hand-customized, the fix is this: Change




21 Name: !WAHa.06x36 2005-02-13 10:42 ID:tMqo9Pk6 (Replies) [Del]

ZMatt has made a new CSS style:

It's in the 2.0.3 archive too, now.

22 Name: !WAHa.06x36 2005-02-13 17:00 ID:tMqo9Pk6 (Replies) [Del]

orz^2, yet another bug found, by cyril this time. Under certain unlikely circumstances, which of course nevertheless happened on his board, the post list panel can break. This version fixes this. The only files that have changed are and (just for the version number).

23 Name: Anonymous 2005-02-13 17:19 ID:Heaven (Replies) [Del]

Go go go! Release hound!

24 Name: !WAHa.06x36 2005-02-15 07:11 ID:hcWedHKv (Replies) [Del]

I forgot to mention this known bug: Old articles's email addresses will lack a mailto:. New articles will be fine, and since people so rarely use the email field for anything useful I didn't feel the need to code a workaround for the old articles. They will get deleted in time anyway.

25 Name: !WAHa.06x36 2005-02-18 13:54 ID:PFZAWFjc (Replies) [Del]

Anonymous found a bug with the filetype handling - you had to turn on ALLOW_UNKNOWN before you could upload any of the defined external filetypes. This is wrong, and you shouldn't have to turn that option on for this to work. This is fixed, and I also included dmpk2k's icons for archive files.

26 Name: Anonymous 2005-02-18 18:34 ID:/w4mjhvP (Replies) [Del]

Did you change anything with cookies? I upgraded and cookies refuse to work now, not sure if it's something I did or what.

27 Name: !WAHa.06x36 2005-02-18 19:04 ID:Heaven (Replies) [Del]

Shouldn't be any changes to the cookie code... Did you try force-refreshing to make sure the latest .js file is loaded?

28 Name: Anonymous 2005-02-18 19:36 ID:/w4mjhvP (Replies) [Del]

Yeah. No good.

29 Name: !WAHa.06x36 2005-02-18 19:51 ID:PFZAWFjc (Replies) [Del]

You're right. Somewhere in the confusion I'd managed to mess up the Javascript linking in the template... orz

30 Name: Anonymous 2005-02-18 20:10 ID:/w4mjhvP (Replies) [Del]

Damn, two in one day, I'm awesome.

31 Name: hotaru!hoTarufiRE!!H0csnvz2 2005-02-18 23:10 ID:ujGYqACv (Replies) [Del]

problem with FILETYPES...

>syntax error at line 133, near "7z"

32 Name: !WAHa.06x36 2005-02-19 07:52 ID:PFZAWFjc (Replies) [Del]

Ah shit. That has to be '7z' => icons/.... Worth an update, or should I just wait until the next bug?

33 Name: !WAHa.06x36 2005-02-19 07:55 ID:PFZAWFjc (Replies) [Del]

I decided just to quietly update that without bumping the version.

34 Name: Anonymous 2005-02-19 10:19 ID:Heaven (Replies) [Del]

35 Name: !WAHa.06x36 2005-02-19 11:24 ID:S1NLsQas (Replies) [Del]

See, this is why not having version numbers is a good idea. Nobody notices when you do long runs of bugfix releases like this.

36 Name: Anonymous 2005-02-19 12:00 ID:0ArucknG (Replies) [Del]

I agree, the old date-based system was better.
Also, I think you should keep mentioning which files have been changed for easier updating.

37 Name: !WAHa.06x36 2005-02-19 12:12 ID:S1NLsQas (Replies) [Del]

I didn't mention it this time because I wasn't quite sure... There was some confusion, as indicated earlier.

38 Name: Anonymous 2005-02-19 12:34 ID:E4B8zqUe (Replies) [Del]

The date-based system made it hard to tell how big the changes were. Also, since dates are bigger numbers it was harder to just quickly look and see if your version was latest.

39 Name: Anonymous 2005-02-19 13:03 ID:E3qI4O/r (Replies) [Del]

use version+date, e.g. Wakaba v2.0_20050219, so you would only update the version number for massive changes.

Name: Link:
Leave these fields empty (spam trap):
More options...