Wakaba vs Kareha (24)

1 Name: Anonymous : 2009-01-12 03:53 ID:Heaven [Del]

Just recently I realized that Kareha also comes with an imageboard option that looks just like Wakaba. I realize that Wakaba uses MySQL and Kareha doesn't. I'm not quite the expert with these things, but I'm interested to know the real differences between the two. What are the advantages/disadvantages to using either as an image board. As for Kareha, I am refering to mode_image.

2 Name: Anonymous : 2009-01-12 04:28 ID:Heaven [Del]

From the user-perspective, Kareha acts somewhat different than Wakaba. Most immediately apparent is that each thread is numbered starting with 1, and the >> links lead to a new page displaying the referenced post, whereas Wakaba uses an #anchor to jump to the post within the page and has no functionality to display single posts or subsets of a thread. Also, because of the way linking works, there's no way to do an inter-thread link -- but you can link to "future" posts within one thread and they'll just start working when the post is made. (e.g. >>10)

From the backend perspective, Kareha takes more CPU load on the server, especially if there's a lot of threads (and this is why 4-ch has a separate 'archives' section), but it's easier to set up since there's no SQL database needed, it has a (IMO at least) better management panel, and overall it's more "hackable" because there's no rigid structure that posts have to conform to -- once something is committed to the html file, you can pretty much edit it in any old text editor. But if you're just looking to "play", it's probably a better fit.

3 Name: Anonymous : 2009-01-12 12:32 ID:Heaven [Del]

Does Kareha take more CPU load on a server precisely because it does not use an SQL database? Or that totally unrelated?

4 Name: Anonymous : 2009-01-12 14:59 ID:Heaven [Del]

it's more because all thread views in kareha are dynamically generated, instead of generated as static html files when someone posts as they are in wakaba.

5 Name: !WAHa.06x36 : 2009-01-15 09:36 ID:Heaven [Del]


You can make it link to the .html files instead of linking to kareha.pl if you want, though.

However, it might still be a little bit heavier on the CPU due to the less efficient rebuilding when posting.

6 Name: Anonymous : 2009-01-15 10:03 ID:Heaven [Del]

RewriteRule (.*)/+kareha.pl/+([0-9]+)/*$ $1/res/$2.html [L]

That way you don't have to hack the template, and more importantly, it's easier to make 'custom' urls since you can copy the "whole thread" url and type post ids at the end -- versus having to copy, say, the /l50 or something and then delete it.

7 Name: !WAHa.06x36 : 2009-01-17 06:21 ID:Heaven [Del]

That's a pretty good solution, yes.

8 Name: Anonymous : 2009-01-21 02:42 ID:lI/+x7GK [Del]

Alright,I know what this is trying to do, but I totally don't know how to put this into .htaccess. That's as much as I've been able to figure out, that it goes there. ( ´・ω・`)

9 Name: Anonymous : 2009-01-21 04:20 ID:Heaven [Del]

Try putting RewriteEngine On at the top of the file. If that doesn't do it, make sure mod_rewrite is enabled on the server.

10 Name: Anonymous : 2009-01-21 17:11 ID:Heaven [Del]

Hmm, even with that, I doesn't do anything. The links still point to kareha.pl

I've checked and mod_rewrite is enabled.

11 Name: Anonymous : 2009-01-21 19:09 ID:Heaven [Del]

Of course the links still point to kareha.pl. You haven't changed the template, and don't need to. But try this: rename kareha.pl to something different, and browse the site. The index and full-page links should continue to work anyway despite its nonexistence.

12 Name: Anonymous : 2009-01-22 01:31 ID:Heaven [Del]

I renamed kareha.pl to kareha2.pl and I get 404 not found error when I click on the links.

13 Name: Anonymous : 2009-01-22 08:20 ID:Heaven [Del]

Ok, next step is making sure .htaccess works right. Throw some random crap in there; you should get a server error when you try to hit that directory.

14 Name: Anonymous : 2009-01-22 13:45 ID:Heaven [Del]

It works right. Sure enough, the 500 error came up.

I also know it works from a previous occassion when I used the example .htaccess file for my sjis encoded message board. The example .htaccess has utf-8 and it totally messed up the Japanese characters on the board.

Does that line in >>6 work for you by the way? I don't know if it's just me that this isn't working with. Does Apache version matter? I'm using 2.2.11 (Unix)

15 Name: Anonymous : 2009-01-22 14:29 ID:Heaven [Del]

It worked when I was using Apache, yes. I don't see how the version would matter as they try to be careful not to make changes to such things. (since doing so would cause innumerable headaches, and the wrath of many a sysadmin)

Double check your config, there are multiple ways for mod_rewrite not to work.

16 Name: Anonymous : 2009-04-22 17:06 ID:OZFm7buF [Del]

This doesn't work for me either. I get basically the same results as the previous anon who attempted it without success. I already know that my .htaccess works fine.

17 Post deleted by moderator.

18 Post deleted by moderator.

19 Name: Alex : 2009-05-16 16:46 ID:u3MI3M30 [Del]

Sorry to be so bad, but I have a memory condition. It's really hard for me to do remember even my password. can somebody send me the install text. I just need the steps or order of operations really.

20 Name: Anonymous : 2009-06-12 11:37 ID:/Q982/le [Del]

There seems to be an error in the spam.txt file, that flags people that use double greater than signs to point to other posts as spammers, I traced it to a line in the spam.txt file where those symbols are located (ampersand greater than comma ampersand greater than comma)
Would recommend fixing this, it was hard for me to find and seems to possibly affect everyone that uses the spam.txt file and doesn't know that is a problem.

(sorry for the weird formatting of the post, but due to the presence of the error in the spam file, I can't submit my post with the example typed as it is in the file.)

21 Name: Anonymous : 2009-06-12 11:39 ID:/Q982/le [Del]

er, sorry about that, meant to start my own thread :P

22 Name: !WAHa.06x36 : 2009-06-12 17:13 ID:66Yo45Zl [Del]


As you can see, it doesn't do that. That same spam.txt is in use here.

It triggers if you actually type in all those characters, which nobody should be doing. It was added to stop some broken spider that was posting that string to all threads.

If you really are getting spam triggers because somebody uses ">>", something else is wrong.

23 Name: Anonymous : 2009-06-12 21:20 ID:/Q982/le [Del]

>>22 care to help me figure out what it is?
I tried to post this exact text to my board (http://softstrawberry.com/negi, and it didn't work....
were you trying to reply to a post with >>'s?

That was an issue, I think. it should be fixed now.)

24 Name: Anonymous : 2009-06-12 21:32 ID:/Q982/le [Del]

Sorted, I think, for some reason, there was a '?' in the spam.txt file on my board...No idea how it got there though.

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