Log in

View Full Version : How do I get custom page to show on Whos Online? Define(THIS_SCRIPT', 'My SCRIPT')


Quarterbore
05-30-2006, 06:13 PM
I have a custom script that I have programed for my site and following is the key vBulleting code that I have included....

<?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?

Spinball
07-05-2010, 07:17 AM
I need the answer to this as well. Can anyone help, please?

BirdOPrey5
07-05-2010, 01:32 PM
You need to ad a plugin for the location to be shown...
https://vborg.vbsupport.ru/showthread.php?t=230416