global.php (which you've included at the beginning) includes init.php, so I don't think that you want to include init.php again in your doit() function. And even if you were going to do that, I don't think it would work to include it inside a function unless you declare some variables as global before the include.
Edit: oh, just for the record:
Quote:
Also, I noticed in the results of the print_r command, it shows the message "Sorry, the board is unavailable at the moment while we are testing some
functionality.
We will be back soon..." which is used when I turn off the forums. However my forum is now turned back on after I applied the 4.2.0 upgrade.
|
The text of that message is an option, and all the options are stored somewhere in the $vbulletin object, so you're probably just seeing that.