How can we help?

They're here:
Print

STREAMPANEL Mobile Statistics in PCPIN Chat

In the following article, we will show you how you can build the statistics of the mobile systems within the PCPIN chat.

Attention: Depending on the template, the installation of the statistics may vary.

  • Open the main directory of the PCPIN chat and create a new file with the name "sp_mobile_statistik.php".
  • Fill this file with the following content.
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="15">
<title>STREAMPANEL Mobile Statistik</title>
</head>
<body>
<?php $listener_output = file_get_contents('https://scripts.streampanel.net/spm/listener_icecast.php?url=http://IP-ADRESSE:PORT'); ?>
Aktuelle Hörer: <?php echo $listener_output; ?>
</body>
</html>
  • Replace "IP ADDRESS" and "PORT" with your data which you can find in the product management.
  • Now open the file "tpl/chat_rooms.tpl" and include the statistic in a location of your choice with the following content.

Notice: The statistics update every 15 seconds.

If you have any questions, please comment on this content or write to us via support ticket.

5 1 vote
Rate entry
Subscribe
Notify me at
guest
1 Comment
Oldest
Newest Most Voted
Inline feedbacks
View all comments
Ilonka Alpari
Ilonka Alpari
24 Aug, 2018 4:05 pm

Hello,
I would like to take this opportunity to thank the support team. I have implemented STREAMPANEL Mobile in our PCPIN chat. Since our chat is already very modified, it was not easy at the beginning. There was excellent help from the support team. Now everything runs perfectly. Great service !!! THANK YOU.