This part of your event/listener breaks the viewonline function for all custom pages:
This fixes it, correct or not:
Code:
public function viewonline_page($event){/** * Check permissions prior to run the code */if ($this->tpotm->is_authed() && $this->tpotm->is_hall()){if ($event['on_page'][1] === 'app' && strrpos($event['row']['session_page'], 'app.' . $this->php_ext . '/') === 0){$event['location'] = $this->user->lang('VIEWING_TPOTM_HALL');$event['location_url'] = $this->helper->route('threedi_tpotm_controller');}}}Code:
public function viewonline_page($event){if ($event['row']['session_page'] === 'app.' . $this->php_ext . '/hall_of_fame' ||$event['row']['session_page'] === 'app.' . $this->php_ext . '/hall_of_fame.php'){$event['location'] = $this->language->lang('VIEWING_TPOTM_HALL');$event['location_url'] = $this->helper->route('threedi_tpotm_controller');}}Statistics: Posted by Stoker 4.0 — Thu May 29, 2025 6:38 am