The Wakaba and Kareha support thread (1000)

1 Name: !WAHa.06x36 : 2006-03-09 11:41 ID:l2svyCMe [Del]

This thread is for all your simple questions about installing and running Wakaba or Kareha, that just require quick answers. Please don't create any more new threads for issues like that, post them in here instead.

2 Name: Anonymous : 2006-03-09 14:20 ID:LEzfwSW+ [Del]

Ok, so please tell me how I can go about firstly: Setting up ImageMagik, and secondly: When I reply to one of my threads when It moves to a new page the permissions on that page change so I cant write to it. Does this mean that whenever a new page is created when the max amount of threads for a page has been reached I have to manually change the permissions?

3 Name: !WAHa.06x36 : 2006-03-09 15:06 ID:Heaven [Del]

For your first question, that's not really on-topic here. Go to http://imagemagick.org/ and read their documentation.

For the second, I still don't understand what you're saying. What do you mean by "I can't write to it"?

4 Name: Anonymous : 2006-03-09 15:58 ID:LEzfwSW+ [Del]

I mean that when you post at my Imageboard and your thread gets moved onto a new page like 1.html the permissions for 1.html are set up so all users cant write to that file. This happens everytime a new page is created by the user after the max amount of posts has been reached for that page. Does this mean that whenever a new page like this is created I have to be there to set the right permissions?

5 Name: !WAHa.06x36 : 2006-03-09 16:45 ID:Heaven [Del]

I think you're confusing users on the board and users on the web server. If the script is making files it can't write to later on, the web server is definitely messed up.

6 Name: Anonymous : 2006-03-09 18:53 ID:LEzfwSW+ [Del]

Argh and is there anyway to rectify this?

7 Name: Anonymous : 2006-03-09 22:46 ID:Heaven [Del]

>>6 talk to the server admins, get them to relax and release the permissions for script-created files.

8 Name: Anonymous : 2006-03-10 12:29 ID:vWU9mPye [Del]

I contacted my hosts support people and they just told me to try a search engine and that they cant possibly fix stuff like that. I think they tried to blame the script, argh stupid! So without the help of those guys its not possible? Goddamn godaddy.

9 Name: Anonymous : 2006-03-11 08:20 ID:vWU9mPye [Del]

So Ive been messing about with it and I found that, just after a new thread is created you can reply to it no problem, but then after awhile when you reply it says error writing to res/199342234.html at wakautils.pl, I know this is just telling me my permissions arent set up right but in the time period that you CAN reply to this thread the permissions are exactly the same as when you cant. This is very confusing.

10 Name: dmpk2k!hinhT6kz2E : 2006-03-11 22:25 ID:Heaven [Del]

> the permissions are exactly the same as when you cant

What about the owner?

11 Name: Anonymous : 2006-03-12 05:13 ID:vWU9mPye [Del]

The permissions are 644 when a new html is ctreated by the script, the owner can read and write to the file but not execute and all others can just read, the thing that gets me is why you can write to it just after a new thread is made but cant later on.

12 Name: !WAHa.06x36 : 2006-03-12 08:08 ID:Heaven [Del]

The question was, who is the owner, before and after?

13 Name: Anonymous : 2006-03-13 11:24 ID:mnyX0+t+ [Del]

Like its the owner of the hosting I guess, which would be me I guess. I can write to the files but other people cant.

14 Name: !WAHa.06x36 : 2006-03-13 14:45 ID:Heaven [Del]

"I guess" is no help. You'll need to get an actual list of the files and the specific names of their owners.

15 Name: Anonymous : 2006-03-16 13:13 ID:jz8cApt0 [Del]

Ive been running 2channel like BBS for couple of month and found out the spammer (robot) do not submit messages in case of the word "http://" is banned.

Is there any way Kareha can control forbidden word?

or at least, kareha do not make auto link in a message?

16 Name: !WAHa.06x36 : 2006-03-16 16:51 ID:Heaven [Del]

Anything you put in spam.txt will be forbidden. So you can put http:// in there if you want to go so far as to forbid links entirely. I find that adding <a href=" and <a href=' helps a lot if you're dealing with bots that are dumb enough to try and use HTML everywhere.

Disabling auto-linking can't be done from the configuration, you have to edit the code to remove it.

17 Name: Anonymous : 2006-03-16 17:18 ID:IILaGznb [Del]

Although this might seem like a stupid question to ask, I keep getting this error.

Software error:
Malformed multipart POST

This keeps showing up when any comment on the wakaba board is submitted WITH a picture. Could it be permissions or possibly something else?

18 Name: !WAHa.06x36 : 2006-03-16 17:38 ID:Heaven [Del]

First guess: Mis-configured Apache. How, exactly, you'd mis-configure Apache to give that kind of error is beyond me, though.

19 Name: Spazmic (moved from other thread) : 2006-03-17 08:47 ID:VqDGzUzh [Del]

I try to post a reply on a Wakaba board and I get:

Method Not Allowed
The requested method POST is not allowed for the URL /f/wakaba.pl.

WTF?

20 Name: !WAHa.06x36 : 2006-03-17 08:48 ID:VqDGzUzh [Del]

Most likely Apache is set up to forbid POST requests. The only fix is to ask your admin to remove that limitation. If they don't, Wakaba won't work.

21 Name: 15 : 2006-03-20 07:43 ID:jz8cApt0 [Del]

>>16 thanks that will help a lot. made a nessesary amendment.

One another question about management.

Is there any function Kareha keep IP address in each replyied message ?

As I need to kick out screwed people in the thread, i am hoping that I can find the function but I could not find it.

Please advise

22 Name: !WAHa.06x36 : 2006-03-20 10:53 ID:Heaven [Del]

The IPs are stored encrypted in log.txt. admin.pl can show IPs, but isn't actually set up to do it by default. To make it do that, edit admin.pl and change <var $masked_ip> to <var $ip>. I'll try to make that part a bit simpler in a future version.

23 Name: Anonymous : 2006-03-20 16:45 ID:fFWWWlB1 [Del]

Is there a way to disable tripcodes?

24 Name: Anonymous : 2006-03-20 17:28 ID:AtYwszbG [Del]

I can't find any license information in Wakaba. Can I use parts of the code in a GPL project?

25 Name: >>24 : 2006-03-20 17:29 ID:AtYwszbG [Del]

s/Wakaba/Kareha

26 Name: Anonymous : 2006-03-20 18:27 ID:Heaven [Del]

>>24 Public Domain.

27 Name: !WAHa.06x36 : 2006-03-20 20:42 ID:VqDGzUzh [Del]

>>23

No way to do it in the configuration, but there's a single function in wakautils.pl that does all the tripcode processing. Changing it to nothing but a return ""; statement should do the trick.

>>24

>>26 is right, it's Public Domain. Knock yourself out.

28 Name: 15 : 2006-03-21 08:54 ID:jz8cApt0 [Del]

Thanks that worked!

If I would like to have textra area for stable size what should I do?

Does it disturb the program to change following part

<td><textarea name="comment" cols="64" rows="5" onfocus="size_field('<var $formid>',15)" onblur="size_field('<var $formid>',5)"></textarea></td>

to

<td><textarea name="comment" cols="64" rows="5"></textarea></td> ?

29 Name: Anonymous : 2006-03-21 15:10 ID:Heaven [Del]

>>28
That should be fine. I can't think of any reason it wouldn't work.

30 Name: !WAHa.06x36 : 2006-03-21 18:22 ID:Heaven [Del]

>>28

Yes, that should work fine.

31 Post deleted by moderator.

32 Name: 15 : 2006-03-25 08:46 ID:jz8cApt0 [Del]

Thanks for many kind advise.

Well, it's about manage problem but someone knows how to change
moderators name colour in BBS ?

I've changed config.cgi

use constant CAPPED_TRIPS => ('!hogehoge'=>'<font color=#FF0000>★webmaster</font>');

but after I made a change, it turned out rest of all messages
changed to red color which I did not meant to.

All I need to change is webmaster and moderators name color as to
show users know I am the real manageing person.

If someone knows how to modifiy the program please advise.
Thank you so much.

33 Name: !WAHa.06x36 : 2006-03-25 09:46 ID:VqDGzUzh [Del]

>>32

That looks about right, as long as the '!hogehoge' is replaced with the actual output from the trip (like '!WAHa.06x36' for me). I'd put quote marks around the color argument to be valid XML, though: <font color="#FF0000">. Otherwise I can't think of why it wouldn't work, unless you forgot </font> or something...

34 Name: Anonymous (moved from other thread) : 2006-03-25 13:12 ID:VqDGzUzh [Del]

On my FreeBSD box, regular tripcodes (#) don't work, but secure tripcodes (##) always stay the same. What the heck is up with that? If I have to install perl libraries, that would be fine with me.

35 Name: !WAHa.06x36 : 2006-03-25 13:12 ID:VqDGzUzh [Del]

Oh, right, I've heard of that... Some of the BSDs use a more secure algorithm for crypt() by default, meaning they won't produce the expected output. There is some flag somewhere that will turn this off, but don't ask me what it is. Try Googling for problems with crypt() under FreeBSD.

36 Name: 15 : 2006-03-25 21:26 ID:jz8cApt0 [Del]

>>33 it was simple mistake. quote marks worked ! Thank you : )

37 Name: 15 : 2006-03-26 10:11 ID:jz8cApt0 [Del]

I see text laying on top of of the background on IE with 2-channel design.

Is there any way I can fix this problem?
Firefox looks better but still the page is slightly crooked to the right.

This thread has been closed. You cannot post in this thread any longer.