NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

Post a reply

Write your message and submit
Options
Humanity test

What is ten + ten?

Go back

Topic review (newest first)

Waccoon
08-19-2008 05:25:26

First, there's a few notes about installing multiple boards:

1) Both boards should be on the same host (in the case of FunPic, that means one account).  So, board one could be http://me.funpic.org and board two would be http://me.funpic.org/scribble.  This is necessary because one cookie has to be shared for both boards, and you don't want your cookie to be confused with another FunPic oekaki (such as otherguy.funpic.org).  You can put the oekakis in any sub folder you like, but they must share the same domain.

2) The second board should not already be active, because you have to set up the sharing in the installer.  You can link two boards that are already in active use, but some pictures may not be properly assigned to artists, because in the end the memberlist will be different.  There is no need to remove the files or delete the database for the second board, you can simply run the installer again, so long as the database, database encryption key, and owner information are all exactly the same.

3) It's easy to use the wrong database value.  The Member Table Prefix is the database value that must be identical for both boards.  The Database Table Prefix must be different for each board.

4) After linking the boards together, you will have to edit the hacks.php file in a text editor to make one cookie visible to both boards.  Both boards will have to have the same cookie value.  However, all the other settings in the hacks file may be different for each board.


Right.  Now, once you've chosen where you want to install your second board, you will go into the installer and enter values as normal, as if it was its own board all by itself.  You should also type in the same name and password for the owner account.  Then, you need to change a few things:

1) Make sure the Database Table Prefix is different for board two than the prefix for board one.  Anything will do, so long as it is unique.  "op_" is the default, so try using "op2_" or "scrib_".

2) If you want to share avatars (a good idea), you must change the path to the avatars folder.  This must be a relative path on the server.  So, to go back to a parent folder, you must use the backtick (../).  If you're putting the second board in a subfolder (me.funpic.org/subfolder/), then the avatars path will be "../avatars".  If the both boards are in subfolders (*.org/normal/ and *.org/scribble/), then you will have to "go back" to the root path, and then "go forward" to the other board.  So, if you're in the scribble board and want to use the avatars in the normal oekaki, the scribble board would use "../normal/avatars".  Setting the avatars is the trickiest part, but you can change the setting at any time in the control panel, just in case you get it wrong.

3) Open up the "hacks.php" file in a text editor, and look for the following:

Code:

    // PATH
    {
        // Failsafe, or disable (default)
        $cookie_path = '';

Change that one line so there is a single slash in the single quotes after $cookie_path, as follows:

Code:

$cookie_path = '/';

Copy the hacks file to both boards, because the boards have to share that cookie value.  People who have already been visiting the first board will have trouble logging in or out.  Tell them to clear their browser cookies.

That's about it.  If you get stuck or seem to break something, don't panic.  Almost anything can be repaired so long as you don't delete any files from the server via FTP.

Katsumi
08-17-2008 08:18:10

I created a oekaki for a forum I am an admin at. They want to have a scribble oekaki and a normal oekaki but linked together so they do not need seperate registations. The host I am using is funpic. I have only made two oekakis before (including this one) and have no idea how to link them. Help please?
Thanks in advance, Katsumi.

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB