MyBB Community Forums

Full Version: [solved] How do I put DVZ Shoutbox in my header or headerinclude?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I recently installed dvz shoutbox and got it to appear on my page. However, I want the code to work in the header. I did this so it would appear in every single page. However, I put this in the headerinclude page rather than the header page. I tried going to plugins/dvz_shoutbox.php and adding in this hook:

$plugins->add_hook('headerinclude', 'dvz_shoutbox');

It doesn't show up. What mistake am I making?

For anyone wondering how I did it, I used this hook:

$plugins->add_hook('global_start', 'dvz_shoutbox');

On top of that, make sure dvz shoutbox is not called twice on the same page. If it is, it will only appear working in one of the areas. In the other, it'll appear broken.