wierdness on 3.8.4 - who's online

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sailnet
    Senior Member
    • Jan 2006
    • 171
    • 3.5.x

    wierdness on 3.8.4 - who's online

    I created a php module according to the instructions here so that I could have a custom page for my advertisers - see php code below

    and now when I check the who's online - just about everyone online shows up as being on that page even though I know thy are not on that page.

    any ideas why?

    PHP Code:
    <?php
    // ####################### SET PHP ENVIRONMENT ###########################
    error_reporting(E_ALL & ~E_NOTICE);
    // #################### DEFINE IMPORTANT CONSTANTS #######################
    define('NO_REGISTER_GLOBALS'1);
    define('THIS_SCRIPT''advertisers'); // change this depending on your filename
    // ################### PRE-CACHE TEMPLATES AND DATA ######################
    // get special phrase groups
    $phrasegroups = array(
    );
    // get special data templates from the datastore
    $specialtemplates = array(
    );
    // pre-cache templates used by all actions
    $globaltemplates = array(
        
    'advertisers',
    );
    // pre-cache templates used by specific actions
    $actiontemplates = array(
    );
    // ######################### REQUIRE BACK-END ############################
    require_once('./global.php');
    // #######################################################################
    // ######################## START MAIN SCRIPT ############################
    // #######################################################################
    $navbits = array();
    $navbits[$parent] = 'Our Advertisers Page';
    $navbits construct_navbits($navbits);
    eval(
    '$navbar = "' fetch_template('navbar') . '";');
    eval(
    'print_output("' fetch_template('advertisers') . '");');
    ?>
    Click image for larger version

Name:	wierdness.gif
Views:	1
Size:	20.5 KB
ID:	3712342
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎