Not a bug but unexpected and weird.
In XF\Pub\Controller\Editor class there is a actionDialog() method which loads a dialog in popup when clicking on dialog-buttons in Froala editor:
public function actionDialog()
$dialog = preg_replace('/[^a-zA-Z0-9]/', '', $this->filter('dialog'...
I need to perform some checkings on every page of the forum and change its style (even for guests) depending on the results.
So I have this code:
if(/* Condition */)
// Set style 1
// Set style 2
Where should I place this code? Maybe there is an event for this?