Topic: User system and integration

I have made a web portal at www.humorexperimets.com and decided to use punbb as a forum and user system. i have some restricted areas on my website (for example when posting comments users must be logged in). i use the loging system of punbb, the only problem is that i don't really know how i can create a session variable to use on my website. the solution i developed and have on the site now is by creating a seesion variable on login. the problem is that if i close the site and come back again, i will be logged on punbb (cookies) but i will not be logged on the site (no session variable declared). ca you tell me what i can use for this system?!

Re: User system and integration

Check out the docs: http://punbb.org/docs/dev.html#integration

Then you can use code such as if(!pun_user['is_guest']).

Looking for a certain modification for your forum? Please take a look here before posting.