Elysea wrote: ↑
Mon Jun 29, 2020 10:59 am
Before, when adding/installing an extension, it was usually required to edit the source code, so when phpbb was updated, every edit had to be done again. When an extension was removed, the edit had to be found and removed. An outdated extension could break the whole forum.
Hooks; like WordPress, just install and go.
"Hooks" is just a word describing a fixed place where extra code should come into play.
That word was used in phpBB discussions when development of 3.1 was getting started, but soon the term was dropped in favour of "events".
phpBB now has lots of events allowing extra code to be injected in real time at specific locations in the cached files.
This effectively amounts to the same end result, but with the advantage that no more modifying phpBB files is needed and extension only needs to be uploaded and enabled. (You actually used the word "extensions" incorrectly as you were referring to phpBB3.0 (or 2.0) modifications).