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 seven + eight?

Go back

Topic review (newest first)

Kia
12-10-2009 17:16:06

Would just like to update and say that instead I just made a page with the applet for paintchat inserted with the oekaki header and footer, and made it so the user has to have the draw flag to use paintchat. Thanks for the help!

Waccoon
08-28-2009 22:28:31

Login validation is handled by "boot.php", which also requires the database and config files, "common.php", language file, and banscript.  If you are using "boot.php" for anything other than the oekaki, you will also have to disable the template and online systems.  You will also have to enable "quiet mode", which bypasses many checks required by the oekaki and disables error reporting:

Code:

$no_template=TRUE;
$no_online=TRUE;
$quiet_mode=TRUE;

require("boot.php");

After this, the $user[] array will be set.  To test if someone is logged in, use if ($user['member']) {

It might take a bit of work to make "boot.php" work properly with projects other than Wacintaki.  It's a monolithic (and messy) script and it does a bunch of different things.

The actual login/logout procedure is handled by "functions.php" at the very top.  Do a search for "Process login" to find it.

Kia5
08-28-2009 16:59:40

Where can I find all the scripts involved in logging into the oekaki? I set up a paintchat on my webhost and am looking to make it so they have to login to get to the page.

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB