You shouldn't have to write any of that. Should be able to hook right into the forums functions which should have cookie/session tracking .. the whole nine yards.
For instance, with phpBB all I have to do is include one file, two lines of code for the User/Session tracking, and two more includes if I want to use the header and footer files.
After that, the whole system is at my disposal and all of it's environment variables, constructs, the template engine ... everything. It is a simple matter of doing an if(user_logged_in) if I want to add a page for only regged users.
|