Thank you, Wayne!
I get the following error:
Notice: Undefined index: bbsessionhash in
/(path)/wiki/AuthPlugin_vBulletin.php on line
290
Also, would it be possible to make variables for the database name, sql username, and password, instead of manually putting them in each connection string? I'm not asking you to do it, I'm curious if it's possible - if it is, then I can work on that