The Wakaba and Kareha support thread, part 3 (535)

1 Name: !WAHa.06x36 : 2011-01-07 09:57 ID:eLRTX7Vk [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 new threads for issues like that, post them in here instead.

Before posting, check that the question has not already been answered in this thread, or in the previous two threads:

Also check the documentation: http://wakaba.c3.cx/docs/docs.html

There is also a setup guide by Anon: http://wiki.iiichan.net/index.php?title=Wakaba_and_Kareha_Setup_Guide

Questions about "500 Internal Server Errors" go in this thread: http://wakaba.c3.cx/sup/kareha.pl/1109033191/

2 Name: Anonymous : 2011-01-07 10:15 ID:Heaven [Del]

The header of the board still points to the support thread part 2. Just thought I'd tell you.

3 Name: Anonymous : 2011-01-07 14:38 ID:M22ovTpD [Del]

Here's a simple one, can you add boards? Is it done through the config file or the Management Panel? Thanks.

4 Name: Anonymous : 2011-01-08 01:09 ID:Heaven [Del]

You copy your Kareha directory somewhere else. There's no option of sub-forums or anything like that. You can only have different instances of Kareha in different folders.

5 Name: Anonymous : 2011-01-08 01:24 ID:ivkZbDfv [Del]

Why are there secret options in the first place? Wouldn't it be easier to release them and be done with it instead of being secretive?

6 Name: Anonymous : 2011-01-08 09:55 ID:Heaven [Del]

>>5
What secret options are you talking about? If you're referring to the SecretFeatures page on the documentation wiki, that's just undocumented features which are included.

7 Name: Anonymous : 2011-01-08 10:45 ID:Heaven [Del]

>>6
Exactly those. Why not document them?

8 Name: !WAHa.06x36 : 2011-01-08 12:19 ID:eLRTX7Vk [Del]

>>7

Because they are jokes and not meant to be used.

9 Name: Anonymous : 2011-01-08 12:26 ID:Heaven [Del]

>>8
If we have "useless" functions like that, why not go for stupid things like stickies too?

10 Name: Anonymous : 2011-01-08 23:47 ID:Heaven [Del]

>>9
because the joke features are amusing, while stickies just turn boards into shit.

11 Name: Anonymous : 2011-01-11 09:03 ID:kgaG5Vpe [Del]

from previous thread

987 Name: Anonymous
Wakaba
i turned on function stops Wakaba from renaming image files, but the cyrillic characters look really weird, like укр.jpg.
Can you help me make wakaba show cyrillic names correctly?

989 Name: akane!!xU6Yb/f1
>>987 use UTF-8?

990 Name: Anonymous
>>989
i do use!
i set use encoding 'utf-8' in the beginning of Strings_en, but it does not help

991 Name: Anonymous
>>990
Check your server's configuration. The files have to be served as UTF-8, and that is outside of Wakaba's realm. Specifically, the Content-Type header needs to have a charset=utf-8.

--------------------------------

I added line <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> to futaba_style.pl but nothing changed. Am I doing smthing wrong?

12 Name: Anonymous : 2011-01-11 21:35 ID:Heaven [Del]

>>11
use utf-8 in the file names.

13 Name: Anonymous : 2011-01-14 08:59 ID:kgaG5Vpe [Del]

>>12

what do you mean?

14 Name: Anonymous : 2011-01-14 20:33 ID:Heaven [Del]

>>13
name your files in utf-8 instead of whatever weird encoding you're using.

15 Name: Anonymous : 2011-01-17 04:07 ID:kgaG5Vpe [Del]

>>14
how can I do that, and what even more important - how can I make my users do that?
in my >>11 i've said what i've done, but that did not help.
What am I doing wrong?

16 Name: Anonymous : 2011-01-17 16:16 ID:Heaven [Del]

>>15
on most sane operating systems, utf-8 is the default for filenames, and it's easy to change the encoding.
but i'm guessing you're on windows, and i'm not sure how to do it on windows.
you could figure out what encoding your operating system is using and modify wakaba to convert from that to utf-8, but that would break it for anyone who is using any other encoding (including utf-8). you could do some hacks to try to guess the right encoding, but even then it will get some filenames wrong, at the cost of greatly increased code complexity. really, the best option is to just have it rename the files. that's why the default is the way it is.

17 Name: strat : 2011-01-18 09:50 ID:U/U9j7ez [Del]

I've got wakaba up and running and it works for every function EXCEPT uploading images

If you don't select a file everything works fine and thread save and everything

If you try to select a file and submit it hangs indefinitely (Using chrome I see in the bottom left "Uploading: 8%" and it stays there forever)

Any suggestions?

Is there something I can edit in the config file? or is it server issue?

18 Name: strat : 2011-01-18 10:52 ID:U/U9j7ez [Del]

PS: I'm using lighttpd server, not apache

19 Name: strat : 2011-01-18 12:13 ID:U/U9j7ez [Del]

PPS: Apperently there's a max size somewhere other than the config file, I can upload very very small images, but if the image is over 1kb or something it hangs.

This is probably server-side, but I'm not very familiar with that, under lighttpd does anyone know where this problem might be originating from?

20 Name: Anonymous : 2011-01-30 00:59 ID:YjP2tqq8 [Del]

#use constant MAX_LINES_SHOWN => 15; # Max lines of a comment shown on the main page (0 = no limit)

If one sets MAX_LINES_SHOWN to 0, one just gets empty posts instead of no limit. Looks like a bug to me.

21 Name: Anonymous : 2011-01-30 02:24 ID:kgaG5Vpe [Del]

I want to allow the TXT files on my Wakaba board.
I uncomment the line in config.pl:
use constant FILETYPES => (

And add a line:
# # Other files

txt => 'icons/txt.png'

But it does not work, I get an error:
"no" not allowed in expression at config.pl line 177, at end of line
syntax error at config.pl line 177, near "no encoding"
Compilation failed in require at /var/www/chan/nichan.net/st/wakaba.pl line 16.
BEGIN failed--compilation aborted at /var/www/chan/nichan.net/st/wakaba.pl line 16.

What am I doing wrong?

22 Name: Anonymous : 2011-01-30 10:58 ID:Heaven [Del]

>>21
Did you uncomment the closing parentheses?

23 Name: Anonymous : 2011-02-02 18:16 ID:kgaG5Vpe [Del]

>>22

no, i didn't... THANK YOU!

24 Name: Anonymous : 2011-02-03 05:38 ID:kgaG5Vpe [Del]

test

25 Name: Anonymous : 2011-02-03 07:57 ID:kgaG5Vpe [Del]

how can I get this ID Heaven on my imageboard?
I set:
use constant DISPLAY_ID => 1;
use constant EMAIL_ID => 'Heaven';

write an email in message, but still I get regular ID

26 Name: Anonymous : 2011-02-03 11:50 ID:Heaven [Del]

>>25
use constant DISPLAY_ID => 'link';

I think the 0/1 is a lingering old example that doesn't work anymore.

27 Name: Anonymous : 2011-02-03 12:13 ID:kgaG5Vpe [Del]

one more question:
i added txt, mp3, doc, ogg, aac, rar, 7z as supported formats. how can i make wakaba rename them? cause wakaba saves their filenames

28 Name: Anonymous : 2011-02-03 12:40 ID:kgaG5Vpe [Del]

>>26

use constant DATE_STYLE => 'localtime'; # Date style ('futaba', '2ch', 'localtime', 'tiny')
use constant DISPLAY_ID => 'link'; # How to display user IDs (0 or '': don't display,

					#  'day' and 'board' in any combination: make IDs change for 

each day or board,

					#  'mask': display masked IP address (similar IPs look 

similar, but are still encrypted)

					#  'sage': don't display ID when user sages, 'link': don't 

display ID when the user fills out the link field,

					#  'ip': display user's IP, 'host': display user's host)

use constant DISPLAY_ID => 1; # Display user IDs (0: never, 1: if no email, 2:always)
use constant EMAIL_ID => 'Heaven'; # ID string to use when DISPLAY_ID is 1 and the user uses an email.
#use constant TRIPKEY => '!'; # this character is displayed before tripcodes

is it rights?
then how do I get ID:Heaven?

29 Name: Anonymous : 2011-02-04 01:57 ID:C++iCm4U [Del]

is there some way to display pages other than 0 in kareha?

an automatized one i mean, like the wakaba one, since i can't find anything for that in the config and end up manually linking to every page from the header/footer.

30 Name: Anonymous : 2011-02-04 10:27 ID:aI6GNze9 [Del]

>>29
Sure, if you switch it to imageboard mode.

31 Name: Anonymous : 2011-02-04 11:12 ID:C++iCm4U [Del]

so a textboard can't have that? that kind of sucks, i don't really want to replace it with an imageboard (if i'm right, i have to delete the old one and install an imageboard version?).

makes me wonder why does it even generate more pages then, if they can't be accessed unless the users start guessing the links or the admin adds the links manually, and then edit the headers every so often to include every new page/delete nonexistant ones.

32 Name: Anonymous : 2011-02-04 12:08 ID:Heaven [Del]

You could have it, but it would take some work by hand to write a "hybrid" template supporting the features you want. Out of the box, you have one or the other.

(Generate what now?)

33 Name: Anonymous : 2011-02-04 12:17 ID:C++iCm4U [Del]

>(Generate what now?)

extra pages with older threads.

i have a generic kareha text board with "use constant PAGE_GENERATION => 'paged';" enabled, and it creates 1.html, 2.html, 3.html etc. with the threads that fell off page 0, so all it'd have to do is link to the existing ones and disable the currently viewed one.

34 Name: Anonymous : 2011-02-05 08:41 ID:Bno3a85R [Del]

can i apply reCaptcha on wakaba?

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