fixed: for hook to work for 3.1 (this change will require two different hoop files if phpbb plugins will remain the "same")