Menu

showing ussers online on other php pages

2003-08-14
2003-08-15
  • David Kitchen

    David Kitchen - 2003-08-14

    I would like to show who's online information on other PHP pages.

    The information I would like should be able to be configured in the config file.

    It should be:
    1) The list of all usernames of people currently in chat.
    2) The sum total of users in chat.

    This should be able to work as a PHP include where I can then call a function which returns said information for me to use on my pages.

    I would like to use this on NON-PHPNuke pages... i.e I want to use it on vBulletin and other PHP scripts without requiring Nuke.

    Is this possible?

    Unfortunately I'm not as skilled as most of you seem to be... so it has to be rather basic for me to do. I couldn't make much sense of the database schema... I was hoping on finding a simple table which stored such details.

    Cheers

    David K

     
    • Michael Oertel

      Michael Oertel - 2003-08-15

      use: include('status.php');
      please see /path/to/poc/status.php

      edit status.php and change
      require_once('config.inc.php');
      to
      require_once('/path/to/poc/config.inc.php');
      if necessary.

      -letreo

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.