• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Input parameters like 't' 'o' etc.


Well-known member
Hello dear developers!
Could you explain when appear such input params like 't','o' and what do they mean?
I'm writing an external authorization similar to facebok and found the code:
$fbToken = $this->_input->filterSingle('t', XenForo_Input::STRING);
When it has a not null value? What pieces of code can put a value to this varieble 't'?


Well-known member
Looking over the code, it looks like it's defined in a redirect after the user clicked the confirmation registering with Facebook, as above where that line appears is:
            return $this->responseRedirect(
If the variable doesn't exist in the parameters, it will return null otherwise it will proceed. I believe t refers to token, as in fb_token that's used elsewhere in that script, though I don't see an instance of o.

I'm not 100% sure but it looks like that is what happens.


Well-known member
Do You mean it becomes defined in redirects? I can't see where exactly.
It definitely refers to token. But there are no inputs with name 't' in templates and search 't' over the code gives only the lines where it parsed.
'o' and others appear in search handlers.


Well-known member
Again have seen
    public function getSearchFormControllerResponse(XenForo_ControllerPublic_Abstract $controller, XenForo_Input $input, array $viewParams)
        $params = $input->filterSingle('c', XenForo_Input::ARRAY_SIMPLE);
and still no idea where it comes from :(