Duplicate the login form of the forum on your website and have it send details to the forum form handler. If the form handler doesn't send you back to the website page automatically, write in some code to do so (e.g. HTTP_REFERER). Your website probably uses a different method to keep session data alive? If so, cut and paste the 'keep session alive' bits from the forum pages (perhaps in a common.php or session.php include file) or simply include these files in your webpages. Is it possible to merge your DBs? If you use the forum auth for everything, your website DB may become unusable. There are a few ways around this, e.g. set up a new table with 3 fields: id(autoinc); forum_user_id; web_user_id and link them like this. I had a similar problem a few years ago with phpBB. I just used the phpBB system in the end and spent a week reconfiguring my old DB.
Reputation Points: 1048
Solved Threads: 945
Sarcastic Poster
Offline 6,676 posts
since Oct 2006