[ticket/13134] Add core event to the root of the function display_forums()

PHPBB3-13134
Merge pull request #3025 from rxu/ticket/13134

[ticket/13134] Add core event to the root of the function display_forums()