Multiple Boards (45)

1 Name: Trent Arms : 2006-02-22 11:27 ID:8n8K5MkU [Del]

After a few days of coming back for a few minutes at a time, I finally figured out (roughly) how to get a wakaba board set up and am now working on figuring out multiple boards. This brings me to my question: does each board need its own database? I still don't understand much of SQL so this may be a fairly easy question. Also, there's nothing to prevent the board from working if I rename the directory it's in and then move it, correct?

2 Name: !WAHa.06x36 : 2006-02-22 12:20 ID:Heaven [Del]

First, you don't need different databases if you change the names of the tables in config.pl so they are differenet for each board.

Second, if you rename a directory or otherwise move the board, the links in the HTML files will all be wrong, but this is easily fixed by going to the admin panel and selecting Rebuild Caches. However, you may have to type in the URL to the admin panel by hand, since the link on the page will also be wrong.

3 Name: dmpk2k!hinhT6kz2E : 2006-02-23 17:41 ID:Heaven [Del]

Don't forget the wonderful tool known as lndir. Very useful with multiple boards.

4 Name: errr : 2006-03-25 21:23 ID:Utp9iBcZ [Del]

I just config'd my first board, so correct me if I'm wrong, but wouldn't lndir not be effecient to use at all? Wouldn't you just copy the wakaba.pl/config.pl into as many different boards, and configure those as you wanted?

5 Name: noob : 2007-04-17 11:59 ID:8IZWGe3G [Del]

I still don't understand exactly how to create multiple boards without copying the entirety of Wakaba to each board folder. Can someone PLEASE tell me exactly how to do this more efficiently?

6 Name: !WAHa.06x36 : 2007-04-17 13:15 ID:Heaven [Del]

If you don't know how to use symlinks, you might be better off not using them. You can just copy everything to multiple directories, that works just fine.

If this is a problem because you have too many boards, this is probably because you have too many boards. Most sites suffer dilution if you have lots of boards that are the same as what you'd find elsewhere.

7 Name: Anonymous : 2007-04-17 14:39 ID:Heaven [Del]

>>6
maybe you should say this in #iichan

8 Name: Anonymous : 2007-04-17 14:40 ID:gJrDU6Ai [Del]

>>7 ahahahaha

9 Name: !WAHa.06x36 : 2007-04-17 14:49 ID:yML2AMAI [Del]

>>7

Well the point of iichan is kind of to avoid that by having everyone host a small number of specific boards so that everybody doesn't need to make their own /a/ and /b/ over and over again.

10 Name: Anonymous : 2007-04-17 15:56 ID:Heaven [Del]

>>9
so iichan doesn't suffer from dilution? don't get me wrong, i enjoy some boards at iichan. one of my own boards is even on the nav list (even though I said I didn't want it there about two years ago...) but there is way too many slow moving niche boards for its own good. you've heard this all before, i'm sure.

11 Name: Anonymous : 2007-04-17 16:28 ID:fF0+8XkW [Del]

I'm sorry, but why couldn't you just tell us, give an example, or give us some documentation on how to use 'symlinks'? This doesn't make a darn bit of sense to me without an example of where to use it and how:

symlink OLDFILE,NEWFILE

I'm sure it would help a great number of us if you could provide some help on this matter.

12 Name: !WAHa.06x36 : 2007-04-17 17:09 ID:yML2AMAI [Del]

>>10

Not in the sense of making the same boards over and over, which was what I was referring to earlier.

>>11

Find some Unix tutorial that explains it. That sounds like Perl docs, which is not what you should be looking at.

http://en.wikipedia.org/wiki/Ln_%28Unix%29 might be useful.

13 Name: anon!21anon4H3U : 2007-04-17 19:55 ID:/XqYOi1Z [Del]

>>10 what board is that? I'll remove it next time I get around to updating the sidebar.

14 Name: Anonymous : 2007-04-17 21:06 ID:Heaven [Del]

>>13
real people -> cams

:p

15 Name: Anonymous : 2007-04-18 15:08 ID:exKg5xA+ [Del]

> one of my own boards is even on the nav list (even though I said I didn't want it there about two years ago...)

Which board is that? It can always be removed.

16 Name: Anonymous : 2007-04-18 18:27 ID:Heaven [Del]

>>15, see >>13-14.

And: it's removed.

17 Name: trent : 2007-04-19 16:30 ID:F23dz6hQ [Del]

Hi, i also am having trouble figuring out how to make multiple boards. i have some familiarity with unix and know how to use ln and all that, but just HOW is it actually used? exactly what files need to be symbolically linked and what files need to be unique to each board, if any? what exactly would need to be changed in the configuration for each board?

Can anyone out there be so kind as to take the time and type up a complete example of what to do? Thanks

18 Name: Anonymous : 2007-04-19 18:25 ID:Heaven [Del]

>>17 it's not like the duped files take up that much space. just use a full install for each board.

19 Name: Anonymous : 2007-04-19 21:34 ID:t5TQyjmu [Del]

Seriously, Why can't ANYBODY here take the initiative to create a simple guide, or explain how to do this with, say, an example setup? This is obviously a common interest and there is no reason why some instruction isn't in order out of courtesy for the users of this script...

20 Name: Anonymous : 2007-04-19 21:50 ID:Heaven [Del]

>>19
this is only a discussion board aimed towards support for wakaba and kareha. i think you should listen to >>18 and just use a "full install" for each board you want. it's self explanatory how to share a mysql database across multiple boards and the rest of the tweakable settings pertaining to multiple boards is done outside of wakaba/kareha, so not everyone here will be able to write a step by step guide on how to what you are asking.

21 Post deleted by user.

22 Name: Anonymous : 2007-04-19 22:22 ID:t5TQyjmu [Del]

>>20
That's not really the point... I understand how to 'share databases', I understand symlinks, but what I don't understand is why people keep disregarding >>5, >>17 and me. If there is a more efficient way of setting up multiple boards, why won't anybody explain how?

Also, please tell me how setting up multiple boards isn't directly related to Wakaba. I don't understand your logic.

23 Name: Anonymous : 2007-04-20 00:10 ID:Heaven [Del]

>>22
durrr a hurrrrrrrrrrr

i am not doing anything special for my wakaba installs. i have about a dozen boards in a dozen directories. seperate databases for each cause that's how i roll. the only thing my boards share are the contents of the /include/ directory.

24 Name: Anonymous : 2007-04-20 01:32 ID:t5TQyjmu [Del]

'durrr a hurrrrrrrrrrr' huh? How appropriate for 4:20 :P

Anyways, I will freaking PAY someone $20 through Paypal if they can provide FULL instructions on setting up an example multiple-board setup using 'ln' and/or 'lndir'.

Instructions must be posted here to help other users in need.

25 Name: !WAHa.06x36 : 2007-04-20 04:39 ID:Heaven [Del]

>>19

Because it's not in any way necessary to do this, and because it takes some effort to explain properly including the possible pitfalls. So if you can't figure it out on your own, it might be less of a hassle for you in the future if you don't do it in the first place.

The basic idea is simply to symlink all files that are the same to files to a central install, and not symlink the files you are customizing per board, which usually means just config.pl and maybe some files in include/.

26 Post deleted by moderator.

27 Name: Anonymous : 2007-04-21 23:22 ID:eb69H5Dc [Del]

>>24
I don't need any money for this because I agree with you. These people are basically ignoring you because they think they're so high and mighty with their Unix and Perl knowledge :P

I believe this is basically how things would be set up; I can't actually test this myself because I don't have access to a webserver with SSH/shell access atm.
______________________________

UNDER CONFIG.PL: Put a copy of config.pl in each board directory you wish to create. Modify this SQL entry for each board. This way, we only use one database. Say your board was "/cat" - A good way of prefixing in /cat's config.pl could be:

#use constant SQL_TABLE => 'cat_comments';

I don't THINK that PROXY_TABLE needs to be unique for each board, and there is no reason why ADMIN_TABLE should be. Other modifications for config.pl are personal preference.
______________________________

SYMLINKING OTHER FILES: You need SSH/Shell access to your webserver. Run 'ln -s (original) (symlink)' for every file in the main Wakaba folder. Example: Your current working directory is one of your board folders. Create empty files for each original (named the same as the originals) and link them to the files in the main dir. Do not link your board's *.html file as it will be generated.

Use 'lndir (old dir) (new dir)' the same way for whatever directories you want to remain universal. Exceptions may be src/ thumb/ res/ and arch/ since these, of course, contain files unique to each board. It's better IMO to have these directories unique instead of having your boards dump everything into the same folders. Another exception may be include/ in case you want unique appearances for each board.
______________________________

If anyone more knowledgeable wants to refine and/or clarify my instructions, please do so :)

28 Name: Anonymous : 2007-04-22 07:13 ID:Heaven [Del]

> These people are basically ignoring you because they think they're so high and mighty with their Unix and Perl knowledge :P

or they realize that there's really no reason at all to do this.
it does make upgrading to new versions of kareha and/or wakaba slightly easier if you know what you're doing, but then you would know how to set it up.

29 Name: Anonymous : 2007-04-23 03:16 ID:Heaven [Del]

What >>28 said. There is nothing wrong with having full install (all files + database) for each separate board, I ran my site like that for several months. Also, I knew 0 Perl and not much about Unix and webhosting when I started to run that site... You just need some common sense.

30 Name: Anonymous : 2007-09-19 15:11 ID:r3ZngLjn [Del]

so u mean i need only separate sqltable for the comments?!
proxy- & admintable can be the same?

31 Name: !WAHa.06x36 : 2007-09-20 05:00 ID:Heaven [Del]

>>30

Yes.

32 Name: Anonymous : 2009-08-29 07:59 ID:BlnFnTe7 [Del]

>>27

Thanks mate!

33 Name: Anonymous : 2010-07-27 04:08 ID:KTP9K7pG [Del]

>>27
Thank you, it was very helpful!

34 Post deleted by moderator.

35 Name: Anonymous : 2011-07-07 05:17 ID:4Wl3cqqP [Del]

Look at Kusaba X project, why not use their customizations on wakaba and not name it "wakaba x"?

36 Name: Anonymous : 2011-08-10 05:32 ID:IvG80DXt [Del]

Hello. I just got an admin status but I have no mysql database and other stuff. Can I change an imageboard engine If I didn't create this board?! Thank you.

37 Post deleted by moderator.

38 Post deleted by moderator.

39 Post deleted by moderator.

40 Name: Anonymous : 2011-09-28 18:19 ID:Y//oT2ne [Del]

>>36
If all you have is the password for the wakaba admin panel, then no, you'd need to alter the perl scripts on the server.

41 Post deleted by moderator.

42 Name: Anonymous : 2011-10-23 17:53 ID:WNnhev/j [Del]

>>35
It has been already done.
http://2ch.so/int/

43 Post deleted by user.

44 Post deleted by moderator.

45 Post deleted by moderator.

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