1

Topic: use punbb inside my own cms

i want to use punbb inside my own cms that register user operate in my own cms that a script inject ne new user to punbb database have a default permissions and settings.
is punbb have this option?

<?php
function addUser($username, $password) {
    // what must i do for add ?
}

function removeUser($username) {
    // what must i do for remove
}

function getOnlineUserList() {
    // what must i do for get online user that on SMF
}


// or much more function for my own CMS
?>

thank you

Re: use punbb inside my own cms

Study out the "add_user", "delete_user" functions in the "<FORUM_ROOT>/include/functions.php" file. To get online userlist study out the 315-340 lines of the "<FORUM_ROOT>/index.php" file.