fix weird ping messages

This commit is contained in:
biglyderv 2025-01-05 02:47:50 -05:00
parent b27b98fe3f
commit 162bd9c8cb
3 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
# BiglyChat
BiglyChat is a forum, authentication server, and a timeline social media. It was designed as an alternative to Discord for dervland.net, but can be used for other sites as well.
BiglyChat is a forum and authentication server for indie games. It replaces Discord for dervland.net, but is usable for other sites.
## Running
Clone this repository into your Apache or NGINX configuration:

View file

@ -6,6 +6,6 @@
$ref = 1732684297;
page_header();
comments("notification",$username);
comments("notification",$username,true);
page_footer();
?>

View file

@ -1,11 +1,11 @@
<?php
require("../libs/markdown.php");
function comments($typer, $idr) {
function comments($typer, $idr, $disable = false) {
$ref = 1732684297;
global $username;
global $db;
$page = array_key_exists('page',$_GET) ? ($_GET['page']) : 0;
if ($username) {
if ($username && !$disable) {
form("Broadcast your thoughts...", '', array(
array('key' => 'Your message', 'type' => 'textarea', 'name' => 'post', 'default' => ''),
array('key' => '','type' => 'hidden','name' => 'type', 'default' => $typer),