replace phpbb php edits by hook call