Hello. I wonder if there is any limits in how many groups and forums I can create? Im working with a website where it can be up to 200 groups and forum. Will this be a problem? Will it slow down the site?

/Peps

Ok thanks. I think Ill keep it then.

/Peps

Hello. Im trying to integrate punbb:s logout in my own logoutscript. Everything seems to work fine but I have a question about the following code from punbb:s logoutfunction:

    if ($pun_user['is_guest'] || !isset($_GET['id']) || $_GET['id'] != $pun_user['id'])
    {
        header('Location: index.php');
        exit;
    }

What is it doing and what will happen if I take it away? As I can see it still works as normal. I dont want to send the users id to my logout file, "?action=out&id=5576", when loging out and it dosn't seems to be necessary if I remove the code above.

/Peps

The problem is solved. I found another thread about how to set cookies.

setcookie($cookie_name, serialize(array($userid, md5($cookie_seed.$password_hash))), $expire, $cookie_path, $cookie_domain, $cookie_secure);

/peps

Hello. Im trying to integrate my own loginpage with punbb. I have organised my own loginsystem so both punbb and my system have the same usernames and passwords.

Does anyone know how to set the cookies/sessions for punbb?

I found an example on this forum but it didnt work for me.

include("forum/config.php");
include("forum/include/functions.php");
$sent_password = $_POST['passwd'];
$sent_login = $_POST['user'];

setcookie($cookie_name, serialize(array($sent_login, pun_hash($sent_password))), $expire, $cookie_path, $cookie_domain, $cookie_secure);

/Erik