I'm attempting to do something similar. Glancing over bb_cookie.php I see on lines 30 and 40 a db_simpleSelect function is used, presumably to authenticate against the mySQL database. If I replace that function on those two lines with my custom authentication routine, is that the only place I need to worry about in order to replace the security mechanism?
Then, I'll need to add the cookie to my site's initial login so that the login credentials are consistent. To do that, what function from miniBB system do I need to run? My guess would be setMyCookie(), still from the bb_cookie.php file?
Just trying to find out if I am on the right path here. My first attempt was not successful, but that could very well be a problem in my other code.
Thanks! Very good looking forum. I'm enjoying playing around with it. - Justin |