fix weird ping messages
This commit is contained in:
parent
b27b98fe3f
commit
162bd9c8cb
3 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -6,6 +6,6 @@
|
|||
$ref = 1732684297;
|
||||
|
||||
page_header();
|
||||
comments("notification",$username);
|
||||
comments("notification",$username,true);
|
||||
page_footer();
|
||||
?>
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue