I found the only way to get the output to work and not interfer with the functulity of the script was to delay the output to after the following hook.
In the php code below the following will actual put my output at the bottom of the page calandar.php and I could not find a way to get it to come up at the top of the page and keep the debuging in the same script calandar.php so I can live with that for now.
PHP Code:
$debugmsg = $vbulletin->userinfo['userid'];
eval('print_output("' . fetch_template('CALENDAR') . $debugmsg . '");');
Please note: You can also first line after the following:
In the file calendar.php right after the Next line after the line 119
START MAIN SCRIPT
next line you can do the following:
PHP Code:
$debugmsg = $vbulletin->userinfo['userid'];
This means the data is there but the output can not be unless you want the error to come up.
I also was able to put the print_r() of my own variables varables and arrays in the next after the line 119 that does not seem to be a issue.
Could there be a timeing thing or something else?
Any hints about what is going on?
THANKS
Frank H. Shaw