From 06cba59c9a08c459fb321d7772dba106f0acd34d Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 7 May 2020 21:03:01 -0400 Subject: [PATCH] move members to channel stats page --- index.php | 62 +++++-------------------------------------------- navbar.php | 2 +- stats/index.php | 19 +++++++++++++-- 3 files changed, 24 insertions(+), 59 deletions(-) diff --git a/index.php b/index.php index a8c3cae..0ce5879 100644 --- a/index.php +++ b/index.php @@ -7,22 +7,6 @@

tilde.chat is meant to be a space for all tilde members to hang out, share, teach, and learn.

!toot goes here: mastodon

- -

connection info

you can connect to irc.tilde.chat on port 6697 with ssl

irc.tilde.chat is a round-robin host that will return any of the available servers

@@ -36,45 +20,11 @@

connect to mumble.tilde.chat on the default port using "tilde.chat" as the password and talk!

might not be anyone there. shout about it on irc first!

-

member tildes

- - -
- - -

channel info and stats

- - - - -
-

rules/guidelines

-

please see the etiquette guide

-

chatting/using tilde.chat irc servers implies agreement with the code of conduct. the tilde.town code of conduct applies as well.

-

if you have anything that needs oper attention, please send a mail to opers at tilde dot chat.

-

incidents will be handled according to the CoC as well as by admins of your home tilde

+
+

rules/guidelines

+

please see the etiquette guide

+

chatting/using tilde.chat irc servers implies agreement with the code of conduct. the tilde.town code of conduct applies as well.

+

if you have anything that needs oper attention, please send a mail to opers at tilde dot chat.

+

incidents will be handled according to the CoC as well as by admins of your home tilde

diff --git a/navbar.php b/navbar.php index 8f062bc..b24a9fe 100644 --- a/navbar.php +++ b/navbar.php @@ -14,7 +14,7 @@
  • wiki
  • qdb
  • webchat
  • -
  • stats
  • +
  • channels
  • badges
  • diff --git a/stats/index.php b/stats/index.php index 023ee0a..7f7b9f6 100644 --- a/stats/index.php +++ b/stats/index.php @@ -2,13 +2,28 @@ $title="stats page"; $desc="stats about tilde.chat and its channels"; $stats = json_decode(file_get_contents("../stats.json")); +$members = json_decode(file_get_contents("https://tildeverse.org/members.json"))->members; include __DIR__."/../header.php"; ?> +

    channels

    + +

    member tildes

    + channel); ?> +
    + name?> + + + +
    + -

    stats


    +

    full channel stats

    there are usercount?> users across channelcount?> channels.

    -

    if the channel is set with chanmode +s it will be omitted from this list.

    +

    if the channel is set with chanmode +s it will be omitted from this list.

    +

    the table is sortable by clicking on the column headers

    +