Quote:
Originally Posted by MTGDarkness
I still really don't get the whole hook location system. Can you give me an example of how to set a new hook up in a theme and attach this MOD to it?
|
Make sure you read the 2nd post for hook selection tips & instructions. The first note says:
"You can find and place hooks in adv_portal, FORUMHOME, FORUMDISPLAY, & SHOWTHREAD templates. The hook must be $navbar, $template_hook, or a HTML comment (ie: $template_hook[place] or <!-- comment -->)."
This means that you go the VB Styles > Edit Templates > then review either the adv_portal (for vbAdvanced), FORUMHOME, FORUMDISPLAY (for pages listing threads), or SHOWTHREAD (for pages listing posts) for hooks that you can use.
As stated, the hook must be $navbar or something that starts with $template_hook or an html comment (which starts with <!-- and ends -->). Examples that were recently posted were: $template_hook[forumhome_wgo_pos5] and <!-- what's going on box --> These are FORUMHOME hooks so they won't work in the other pages (you must select different hooks for them).
The 2nd post give reasons to why a certain hook may not work (ie: if it occurs between <if> and </if> tags that evaluates to false). Hope these examples help.... don't know how else to clarify.