<?php

use wcf\system\box\BoxHandler;
use wcf\system\WCF;
/**
 * @author	Marcel Werk
 * @copyright	2001-2015 WoltLab GmbH
 * @license	WoltLab License <http://www.woltlab.com/license-agreement.html>
 */
$package = $this->installation->getPackage();
// assign box 'com.woltlab.wcf.UsersOnline' to EntryListPage, EntryPage and LinklistPage
BoxHandler::getInstance()->addBoxToPageAssignments('com.woltlab.wcf.UsersOnline', ['de.incendium.linklist.Linklist']);
<?php

use wcf\system\box\BoxHandler;
use wcf\system\WCF;
/**
 * @author	Marcel Werk
 * @copyright	2001-2015 WoltLab GmbH
 * @license	WoltLab License <http://www.woltlab.com/license-agreement.html>
 */
$package = $this->installation->getPackage();
// assign box 'com.woltlab.wcf.UsersOnline' to EntryListPage, EntryPage and LinklistPage
BoxHandler::getInstance()->addBoxToPageAssignments('com.woltlab.wcf.UsersOnline', ['de.incendium.filebase.EntryList', 'de.incendium.filebase.Entry', 'de.incendium.filebase.Filebase']);