When a member is creating a new thread, I would like to be able to throw a error message if they are in the incorrect forum, so I need to get the forum number from the URI.
I can do this using the PHP command:
$var = $_SERVER['REQUEST_URI'];
It would be great if I could use an existing XF command designed for this purpose. I have tried the following without success:
$nodeId = $this->_input->filterSingle('node_id', XenForo_Input::UINT);