Tweets from pichat
| Follow my new user account @markseu About 2 months, 3 weeks ago from Pichat (Pichat Software) |
Tweets from 600infos
| I HAVE NYANED FOR 888.4 SECONDS! http://t.co/JQYOZebv via @nyannyancat About 3 months, 3 weeks ago from 600infos (Wolf) |
Trace: » Pichat Wiki (en) » Abwasserventil für Wohnmobil oder Wohnwagen » FR1027 - Linux GUI for Pichat » JOKES » Install Pichat with Pidgin » Show Userlist
You are here: Pichat Wiki (en) » Manuals » Overview of Website integrations » Show Userlist
Table of Contents
Show Userlist
if you installed the Plugin Webstatus (http://www.pichat.net/documentation/pichat_plugins#pluginwebstatus),
you can use the userlist.txt to display the active users.
Show Userlist example display
Show Userlist example code
Here is an example to display and refresh the list automatically after 15 seconds:
- | show_userlist.html
<!DOCTYPE HTML PUBLIC "-//W3C//Dtr HTML 4.01 tdansitional//EN"> <html> <head> <title>Show Userlist</title> <script type="text/javascript"> function refreshiframe() { this.userlist1.location.href="http://eu.pichat.net/chatstatus/userlist.txt" this.userlist2.location.href="http://franken.suroot.com/chatstatus/userlist.txt" this.userlist3.location.href="http://www.fbih.net:8672/chatstatus/userlist.txt" setTimeout("refreshiframe()",15000); } </script> </head> <body onload="refreshiframe();"> <table border="5"> <colgroup width="130" ></colgroup> <tr> <th><a href="http://eu.pichat.net/chat" target="chat1">eu.pichat.net</a></th> <th><a href="http://franken.suroot.com/chat" target="chat2">franken.suroot.com</a></th> <th><a href="http://www.fbih.net:8672/chat" target="chat3">www.fbih.net:8672</a></th> </tr> <tr> <td height="300" > <IFRAME name="userlist1" src="http://eu.pichat.net/chatstatus/userlist.txt" width="130" height="90%" runat="server" style="border-style:none; border-width:0pt;"></iframe> </td> <td height="300" > <IFRAME name="userlist2" src="http://franken.suroot.com/chatstatus/userlist.txt" width="130" height="90%" runat="server" style="border-style:none; border-width:0pt;"></iframe> </td> <td height="300" > <IFRAME name="userlist3" src="http://www.fbih.net:8672/chatstatus/userlist.txt" width="130" height="90%" runat="server" style="border-style:none; border-width:0pt;"></iframe> </td> </tr> </table> <br>Refresh automatically after 15 Sec. <input type="button" name="RefreshButton" value="click here to refresh manually" OnClick="refreshiframe();"> </body> </html>