Have you taken a look at the manual?
The Plugin Manager Basically all you are doing with a plugin is inserting your code at the location of the hook. So, if you pick to use the hook "forumdisplay_start", then you are inserting the php code you put in the plugin at the location of the "forumdisplay_start" hook which is around line 111 in the forumdisplay.php page (look for this line: ($hook = vBulletinHook::fetch_hook('forumdisplay_start')) ? eval($hook) : false; )