Massive upgrade
This commit is contained in:
parent
99a9ed919e
commit
c1a3437f9b
396 changed files with 29083 additions and 31939 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
@ -1279,4 +1276,4 @@ function inmeta2(){
|
|||
return $meta;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
@ -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'));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
4
modules/chat/js/modernizr.js
Normal file
4
modules/chat/js/modernizr.js
Normal file
File diff suppressed because one or more lines are too long
|
@ -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>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<div id="main" class="nine columns">
|
||||
<div id="chat" style="height:100%;">
|
||||
<div class="topbar"><a id="notchan">Ding</a> | <a href="//austriachat.net/forum/help-8.html" target="_blank" onclick="return popup('//austriachat.net/forum/help-8.html','width=800, height=800, resizeable,scrollbars=yes');">Hilfe</a> | <a href="//austriachat.net/forum/misc.php?action=smilies&popup=true" target="_blank" onclick="return popup('//austriachat.net/forum/misc.php?action=smilies&popup=true','width=600, height=600, resizeable,scrollbars=yes');">Smilies</a> | <a id="notsw">Benachrichtigung: An</a> | <a id="scrolling">Scrolling: An</a> | <a id="whwindow">{$whtext}</a> | <a id="submit">{$submit}</a> | <a id="logout">Logout</a></div>
|
||||
<div class="topbar"><a id="notchan">Ding</a> | <a href="//funch.at/forum/help-8.html" target="_blank" onclick="return popup('//funch.at/forum/help-8.html','width=800, height=800, resizeable,scrollbars=yes');">Hilfe</a> | <a href="//funch.at/forum/misc.php?action=smilies&popup=true" target="_blank" onclick="return popup('//funch.at/forum/misc.php?action=smilies&popup=true','width=600, height=600, resizeable,scrollbars=yes');">Smilies</a> | <a id="notsw">Benachrichtigung: An</a> | <a id="scrolling">Scrolling: An</a> | <a id="whwindow">{$whtext}</a> | <a id="submit">{$submit}</a> | <a id="logout">Logout</a></div>
|
||||
|
||||
<div id="chatlog" style="z-index:1; height:600px; position:relative;"></div>
|
||||
<textarea id="text" autocomplete="off" spellcheck="true" style="z-index:2; float: right; position: relative; background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #000000; width: 92%; height:20px; color: #{$col};" ></textarea>
|
||||
|
@ -36,4 +36,4 @@
|
|||
<div id="whispers" style="display:none;">
|
||||
</div>
|
||||
<div id="repwindow" style="display:none;">
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
================================================== -->
|
||||
<meta charset="utf-8">
|
||||
<title>AustriaChat.net - Die Österreichische Chatcommunity</title>
|
||||
<meta content="AustriaChat.net - Die Österreichische Chatcommunity" property="og:title" />
|
||||
<meta content="FunCh.at - Die Österreichische Chatcommunity" property="og:title" />
|
||||
<meta name="keywords" content="oe3 Ö3 chat sms.at uboot.com chatcommunity webchat austria oesterreich forum" />
|
||||
<meta name="author" content="AustriaChat.net" />
|
||||
<meta name="author" content="FunCh.at" />
|
||||
<meta name="description" content="Die kostenlose und werbefreie Österreichische Chatcommunity. Endlich wieder Chatten wie im Uboot, sms.at, Orf Chat, usw. Wir sehen uns!" />
|
||||
<link href="https://austriachat.net/chat" rel="Chat"/>
|
||||
<link href="https://austriachat.net/forum" rel="Forum"/>
|
||||
|
@ -69,4 +69,4 @@
|
|||
|
||||
</nav> <!-- end #nav-wrap -->
|
||||
|
||||
</header> <!-- Header End -->
|
||||
</header> <!-- Header End -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue