This commit is contained in:
genuineparts 2025-06-03 08:44:01 +02:00
commit 9a8c01fc4f
395 changed files with 29082 additions and 31922 deletions

View file

@ -8,11 +8,11 @@ class module_chat extends admin_module{
}
function get_info(){
$info["name"]="PT Chat";
$info["name"]="TopiaChat";
$info["file"]="chat";
$info["author"]="grease";
$info["author"]="genuineparts";
$info["version"]="1.1.0";
$info["url"]="http://www.ponytopia.net";
$info["url"]="http://www.becast.at";
//$info["depends"]='mybb_bridge';
return $info;
}

View file

@ -88,7 +88,7 @@ class chat extends module{
$ch = curl_init();
// setze die URL und andere Optionen
curl_setopt($ch, CURLOPT_URL, 'https://chatsrv.austriachat.net/login?uid='.$session->userdata['uid'].'&room='.$_POST['room'].'&ip=' . $_SERVER['REMOTE_ADDR'] . '&browser=' . urlencode($_SERVER['HTTP_USER_AGENT']) . '&loginkey=4de0345e1c2a6e4bcd26d6874b&template='.$rctemplate);
curl_setopt($ch, CURLOPT_URL, 'https://chat.funch.at/login?uid='.$session->userdata['uid'].'&room='.$_POST['room'].'&ip=' . $_SERVER['REMOTE_ADDR'] . '&browser=' . urlencode($_SERVER['HTTP_USER_AGENT']) . '&loginkey=4de0345e1c2a6e4bcd26d6874b&template='.$rctemplate);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_HEADER, false);
@ -100,8 +100,6 @@ class chat extends module{
// schließe den cURL-Handle und gebe die Systemresourcen frei
curl_close($ch);
//$fh = fopen('https://chatserver.coppertopia.net/login?uid='.$_POST['nick'].'&room='.$_POST['room'].'&ip=' . $_SERVER['REMOTE_ADDR'] . '&browser=' . urlencode($_SERVER['HTTP_USER_AGENT']) . '&loginkey=4de0345e1c2a6e4bcd26d6874b&template='.$rctemplate, "r", false, stream_context_create($opts));
//var_dump($fh);
if ($fh) {
/*$buffer = '';
while (!feof($fh)) {
@ -618,7 +616,7 @@ function inmeta2(){
socket.close();
});
function connect(){
var host = 'wss://chatsrv.austriachat.net/'+yacsid;
var host = 'wss://chat.funch.at/'+yacsid;
try{
socket = new WebSocket(host);
socket.onopen = function(){
@ -906,7 +904,6 @@ function inmeta2(){
$(document).ready(function()
{
$('#text').keyup( $.debounce( 250, typing ) );
window.onbeforeunload = function (e) {
var e = e || window.event;

View file

@ -1,4 +1,4 @@
document.domain = "austriachat.net";
document.domain = "funch.at";
function notice() {
if(not!=false){
@ -9,8 +9,8 @@ function changenotice(file) {
var zeit = new Date();
var ms = zeit.getMilliseconds();
var audio = $('#notice').empty();
var newSrc = $("<source>").attr("src", "//austriachat.net/modules/chat/sound/"+file+"_notice.ogg?id="+ms).appendTo(audio);
var newSrc2 = $("<source>").attr("src", "//austriachat.net/modules/chat/sound/"+file+"_notice.mp3?id="+ms).appendTo(audio);
var newSrc = $("<source>").attr("src", "//funch.at/modules/chat/sound/"+file+"_notice.ogg?id="+ms).appendTo(audio);
var newSrc2 = $("<source>").attr("src", "//funch.at/modules/chat/sound/"+file+"_notice.mp3?id="+ms).appendTo(audio);
/****************/
audio[0].pause();
audio[0].load();
@ -31,7 +31,7 @@ function pause() {
function updateSource(file) {
if(file!=undefined){
$('#oggSource').attr('src',"//austriachat.net/modules/chat/sound/"+file+".ogg").detach().appendTo($('#audioPlayer'));
$('#mp3Source').attr('src',"//austriachat.net/modules/chat/sound/"+file+".mp3").detach().appendTo($('#audioPlayer'));
$('#oggSource').attr('src',"//funch.at/modules/chat/sound/"+file+".ogg").detach().appendTo($('#audioPlayer'));
$('#mp3Source').attr('src',"//funch.at/modules/chat/sound/"+file+".mp3").detach().appendTo($('#audioPlayer'));
}
}

View file

@ -33,7 +33,7 @@ function get_user_list() {
// erzeuge einen neuen cURL-Handle
$ch = curl_init();
// setze die URL und andere Optionen
curl_setopt($ch, CURLOPT_URL, "https://chatsrv.austriachat.net/info");
curl_setopt($ch, CURLOPT_URL, "https://chat.funch.at/info");
//curl_setopt($ch, CURLOPT_URL, "https://46.4.58.184/info");
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
@ -178,4 +178,4 @@ function chat_data(){
return $data;
}
}
?>
?>

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
<div class="twelve columns">
<h2>Chat:</h2>
<form name="form" id="chatform" action="chat/in.html" method="post">
<form name="form" id="chatform" action="/chat/in" method="post">
Raum: <select name="room">
{foreach from=$options item=option}
<option value="{if $option.value==''}{$option.room}{else}{$option.value}{/if}" {$option.selected}>{$option.room}</option>
@ -19,4 +19,4 @@ Raum: <select name="room">
{foreachelse}
Sorry, niemand online:-(
{/foreach}
</div>
</div>

View file

@ -9,9 +9,11 @@
================================================== -->
<meta charset="utf-8">
<title>Funch.at - Die &Ouml;sterreichische Chatcommunity</title>
<meta content="Funch.at - Die &Ouml;sterreichische Chatcommunity" property="og:title" />
<meta name="keywords" content="oe3 &Ouml;3 chat sms.at uboot.com chatcommunity webchat austria oesterreich forum" />
<meta name="author" content="Funch.at" />
<meta content="FunCh.at - Die &Ouml;sterreichische Chatcommunity" property="og:title" />
<meta name="keywords" content="oe3 &Ouml;3 chat sms.at uboot.com chatcommunity webchat austria oesterreich forum" />
<meta name="author" content="FunCh.at" />
<meta name="description" content="Die kostenlose und werbefreie &Ouml;sterreichische Chatcommunity. Endlich wieder Chatten wie im Uboot, sms.at, Orf Chat, usw. Wir sehen uns!" />
<link href="https://funch.at/chat" rel="Chat"/>
<link href="https://funch.at/forum" rel="Forum"/>
@ -69,4 +71,4 @@
</nav> <!-- end #nav-wrap -->
</header> <!-- Header End -->
</header> <!-- Header End -->