Quote:
Originally Posted by Lynne
In looking at global.php, you shouldn't have even had to copy the code. It looks like the header template is evaled right after the code (just a few lines later). If it isn't showing up, then there is something else going on. Either there are no notifications, or some other error is causing problems. Check your error_logs and see if anything is showing up there. Otherwise, I'm not sure what else to suggest.
|
I see what you mean, it does work. I am using the plugin system to include a custom login box .php file I have made and inserting it in the header. Now, if this file is on any other page but a vBulletin one it shows $notifications_total fine. If it is included using the plugin system into my vbulletin skin $notifications_total doesn't work in my php file but it does in the template header.
I am using global_start hook for the plugin. Am I doing something wrong?