I have a custom script that I have programed for my site and following is the key vBulleting code that I have included....
PHP Code:
<?php
// ####################### SET PHP ENVIRONMENT ###########################
error_reporting(E_ALL & ~E_NOTICE);
// #################### DEFINE IMPORTANT CONSTANTS #######################
define('THIS_SCRIPT', 'Resorts_Database');
// ############# REQUIRE BACK-END #######################
require_once('./global.php');
// require_once(DIR . '/includes/functions_bigthree.php');
// require_once(DIR . '/includes/class_postbit.php');
// ############# Get Some templates #######################
eval('$headinclude = "' . fetch_template('headinclude') . '";');
eval('$header = "' . fetch_template('header') . '";');
eval('$navbar = "' . fetch_template('navbar') . '";');
// ############# Output templates #######################
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
echo '<html dir="' . $stylevar[textdirection] . '" lang="' . $stylevar[languagecode] . '">';
echo $headinclude;
echo '<body>';
echo $header;
echo $navbar;
MY CODE HERE
echo $footer;
It does not look like my code "define('THIS_SCRIPT', 'Resorts_Database');" is allowing the whosonline to know where the member is at....
Can someone please help me understand how this works and what I need to do to allow the system to see a person that is in my custom page?
I have not managed to build my breadcrumbs for my navbits yet so if that is the problem let me know and I will put a priority to getting them up.
Do I need to add this to the "functions_online.php" file?