Oh the header template, isn't it? That is evaluated before those variables are available.
So from which point those variables are available?
Much appreciate if you can tell me, how I can retrieve it from the global $mybb, I would like to get it in global.php.
I am still looking for this, any help please?