site for the tildeverse irc network https://tilde.chat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
940 B

<?php
$title = "status badges";
$desc = "status badges for online user counts";
include '../header.php';
?>
<h1>tilde.chat online status badges</h1>
<p>thanks to <a href="https://shields.io/">shields.io</a> and custom badge support, we now have user count badges!</p>
<table class="table table-striped table-hover">
<thead>
<tr>
<th>Example</th><th>URL</th><th>Result</th>
</tr>
</thead>
<tr>
<td>Network user count</td><td>https://tilde.chat/badges/badge.php</td><td><img src="badge.php" alt="user count badge"></td>
</tr>
<tr>
<td>User count for #meta</td><td>https://tilde.chat/badges/badge.php?channel=%23meta</td><td><img src="badge.php?channel=%23meta" alt="#meta badge"></td>
</tr>
<tr>
<td>Invalid channel name (error handling)</td><td>https://tilde.chat/badges/badge.php?channel=invalid</td><td><img src="badge.php?channel=invalid" alt="invalid badge"></td>
</tr>
</table>
<?php include '../footer.php'; ?>