Let me try again- I could have sworn I tried that, though!
Also, if you want to use functions as if they were in the global scope, here's a nice line of code that does just that (I use it for template evaluations so you don't have to write out the eval() statement every time:
PHP Code:
extract($GLOBALS, EXTR_REFS);
--------------- Added [DATE]1317700823[/DATE] at [TIME]1317700823[/TIME] ---------------
Update: no dice. Maybe my version to PHP is to blame (5.1.6)? Highly unlikely, but possible, I guess. I don't see reason from a coding standpoint that the inclusion from inside the function should work, as even with the variable scope vbulletin shouldn't care.