The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Template hook not globalized
I just finished updating an old hack of mine, more to learn the new ways of doing things than anything else. And I ran into something tonight that still has me baffled, but supposedly it is "Working as designed". Here is the post of the bug report for it, and it doesn't make a lick of sense to me.
http://www.vbulletin.com/forum/proje...?issueid=25495 Can someone please explain why the only hook that is in the "memberinfo_block_ministats" template can't be used from the "member_complete" hook? You have to hook into the "member_profileblock_fetch_unwrapped" hook to either run your code or globalize the variable before you run your code. I tried globalizing the template_hook variable there and running the code in the member_complete, but that didn't work. In order to make it work, I had to run my code from the "member_profileblock_fetch_unwrapped" hook. Does anyone else think that is a little wrong? Or am I missing something right in front of me? Please, someone, enlighten me. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|