The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
Thanks. I'd tried vbcms_article_populate_end I think, but nice to have confirmation of what I should be using.
Bit of a problem though: none of the code in my plugin is being executed when I use that hook (my code was a simple print_r($GLOBALS)). I found the hook location in packages/vbcms/content/article.php, and immediately after: ($hook = vBulletinHook::fetch_hook('vbcms_article_populate_ start')) ? eval($hook) : false; , I tried printing $hook. It's always empty. Next I added DEVDEBUG("Calling Hook $hookname") just after public static function fetch_hook($hookname = false) { in includes/class_hook.php. That confirmed that vbcms_article_populate_end was being called. So it seems the problem is that vbcms_article_populate_end doesn't exist in $pluginlist. I've tried dumping that array, and don't see any vbcms_* hooks in there. Am I missing something stupidly obvious? I did wonder if there was now the ability to turn plugins off for just the CMS, but can't see that option in ACP |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|