try replacing the line in ulimatebb.php
silly_redirection ("Location: $CGIURL/ultimatebb.cgi$location&r=gamesnoaccess", "noaccess");
with
silly_redirection ("Location: $CGIURL/ultimatebb.cgi$location", "noaccess");
I never really check the parameter, back then I just wrote code to match the code already in the file