Menu

show the Users in Chat on another Website ?

Help
Anonymous
2002-06-04
2012-09-14
  • Anonymous

    Anonymous - 2002-06-04

    Hi @all,

    i have a Board (vbulletin) in the header i like show the Status Line (that one wich is on the phpMyChat startside) to show my Members the active Users in Chat.

    Anybody out there who can explain me the right steps ?

    Any help welcome !

    Thanks and Regards

    Ray

     
    • Henning Schaefer

      Hi!

      You can find the names of all users currently chatting in the database table "chat_users" (resp. "pmc_users" for 0.15). Try to insert the following code into your bulletin board:

      $sqlQuery = "SELECT * FROM chat_users ORDER BY username ASC"
      $result = mysql_query($sqlQuery)
      while ($userdata = mysql_fetch_array($result)) {
      echo $userdata[username];
      }

      This should show the names of those chatting in the bulletin board.

       
    • Anonymous

      Anonymous - 2002-06-04

      sprichst Du Deutsch und hast zufllig ICQ ?

      Wenn ja wre es super wenn Du mich mal kontakten knntest.
      Meine Nummer = 50394296

      DANKE !

       
    • Anonymous

      Anonymous - 2002-06-13

      Ich habe ein Problem mit der Anzeige der Anzahl der aktuell im Chat Anwesenden in meinem Forum.

      Die Funktion wie bei phpMyChat.php3 kann ich nicht nutzen, weil die Anzeige per HTML-Templates aufgerufen wird. Leider weiss ich nicht, wie ich eine Variable anlegen kann, damit ich den Inhalt dann anzeigen lassen kann.

      Weiss jemand Rat fr ein newbie?

      Danke

      Frnk-Andre

       
    • Anonymous

      Anonymous - 2002-09-24

      This didn't work for me. Shouldn't it be in an SSI tag or something? Please be a bit more specific.

      Thanks...

       

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.