I have found all of the threads touching on this subject but maybe I am having a brain fart or something I cannot understand them.
Well...maybe it is because my non-vb pages I want this to work on are located inside my forum directory and I cannot upload another online.php file since there is already one in there.
say I have a page that looks like this:
PHP Code:
<?php
error_reporting(7);
$templatesused='guides';
require('./global.php');
if ($bbuserinfo[userid]==0) {
show_nopermission();
}
$bbusername = $bbuserinfo[username];
eval("dooutput(\"".gettemplate('guides')."\");");
?>
and it uses a template as shown above
what can I do to make $onlineusers and $username work on that page?
thanks in advance