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.
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.
Does Kareha take more CPU load on a server precisely because it does not use an SQL database? Or that totally unrelated?
>>3
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.
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.
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.
That's a pretty good solution, yes.
>>6
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. ( ´・ω・`)
>>8
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.
Hmm, even with that, I doesn't do anything. The links still point to kareha.pl
I've checked and mod_rewrite is enabled.
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.
>>11
I renamed kareha.pl to kareha2.pl and I get 404 not found error when I click on the links.
>>12
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.
>>13
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)
>>14
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.
>>6
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.
Hey,
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.
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.)
er, sorry about that, meant to start my own thread :P
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.
>>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....
(>>480
were you trying to reply to a post with >>'s?
That was an issue, I think. it should be fixed now.)
Sorted, I think, for some reason, there was a '?' in the spam.txt file on my board...No idea how it got there though.