change request_var to request_variable
remove unneeded defined('IN_PHPBB')