View Full Version : standard_error messing up styles in plugins
SynTaX404
08-25-2010, 02:29 PM
In plugins when I use standard_error it messes up the style, is there a different function I am supposed to be using when triggering errors within plugins?
I'm not sure, but my guess would be that it has to do with the hook that you're using, and not just that you're calling it from a plugin.
SynTaX404
08-26-2010, 04:06 AM
I'm not sure, but my guess would be that it has to do with the hook that you're using, and not just that you're calling it from a plugin.
well if you call it from global_start it messes up the styles but not from global_setup_complete
in vb4 it doesn't matter, it messes up in both
Lynne
08-26-2010, 02:26 PM
You don't want to use global_start since it is deprecated.
// Deprecated as of release 4.0.2, replaced by global_bootstrap_init_start
($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false;
BirdOPrey5
08-26-2010, 05:34 PM
You don't want to use global_start since it is deprecated.
// Deprecated as of release 4.0.2, replaced by global_bootstrap_init_start
($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false;
"global_bootstrap_init_start" doesn't appear to be a hook in 3.x...
Lynne
08-27-2010, 02:51 AM
ARgh! I did it again. Maybe I need to just ignore the vB3 forum if I'm gonna keep giving vB4 answers in here!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.