Thr33 |
03-19-2017 09:41 AM |
Ive tried all the suggestions in all 8 pages and im still not getting an output at all, even when using and ECHO message. Any suggestions?
Code:
Product: vBulletin
Hook Location: global_bootstrap_init_start
Title: Shoucast Stats
Execution Order: 1
PHP Code:
ob_start();
require_once('http://literecords.com/user/s/stats.php');
$scstats = ob_get_contents();
ob_end_clean();
echo "PLUGIN WORKS: "
vB_Template::preRegister('FORUMHOME',array('scstats' => $scstats));
In template: FORUMHOME
Code:
{vb:raw header}
{vb:raw navbar}
{vb:raw scstats}
<div>
The file exists and shows output but no via the plugin.
|