I've basically got it now, however most of the core things don't work.
Who's online, Staf, and forum statistics all show the block, but the code doesn't run.
I also have two plugins that have sideblocks, and on each of those I had to edit the Eventlistener to something like: (TaigaChjat for instance)
if ($class == 'XenForo_ControllerPublic_Index' || $class == 'Dark_TaigaChat_ControllerPublic_TaigaChat' || $class == 'EWRporta_ControllerPublic_Portal' || $class == 'XenForo_ControllerPublic_Forum')
found in library/Dark/TaigaChat/EventListener/LoadClassController.php
How can I get who's online, staff, and forum statistics working?