Multiple Boards (45)

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 :)

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