Topic: Having punbb use a diff database for username and pass

I run an irc network and my services use mysql. I want to have punbb keep the users and what not in its database, but I want it to use the nick and pass from services to log in, and if they login sucessfully, and they dont exist in punbb, create them in punbb's db. To get if th person logged in correctly on my site I use "SELECT * FROM anope_ns_core WHERE display = '$user' AND pass = MD5('$pass') " which will return one row if it is correct.
What I cant figure out is which files I should edit and where, and how to make it do the table creation if its needed.

-- Chris

Re: Having punbb use a diff database for username and pass

Most of the work should be done in the function check_cookie() in include/functions.php. Regarding creation of users and stuff, have a look at register.php. login.php might also be of interest.

"Programming is like sex: one mistake and you have to support it for the rest of your life."