[ticket/11103] Don't call generate_board_url many times

Fix a URL and some comments

PHPBB3-11103