Hey
I was wondering and struggling all day on how to make XenForo return a file to the user after a request.
I managed to get it working on direct url access. /xxxx/download
public function actionDownload(ParameterBag $params)
{
$visitor = \XF::visitor();
// Check if the...