Replace:
if (($ubb != "newuser") && ($ubb != "faq") && ($ubb != "boardrules") && ($ubb != "login") && ($ubb != "logout") && ($ubb != "start_page") && ($ubb != "adduser") && ($ubb != "captcha")) {
with:
if (($ubb != "newuser") && ($ubb != "faq") && ($ubb != "boardrules") && ($ubb != "login") && ($ubb != "logout") && ($ubb != "start_page") && ($ubb != "adduser") && ($ubb != "captcha") && ($ubb != "verifyemail")) {
Learning as we go!
I would fix the full code, but the edit time has long passed.
I'm working on getting this fully CPed down to all the nitty gritties.