Seite 13 von 34

Verfasst: 24.10.2007 17:24
von Stefan0812
also irgendwie scheinen die beiden Versionen (phpbb 3.0.RC7 und AJAX Chat 0.5.2.2 - including phpBB3 integration)
nicht wirklich zusammen zu arbeiten.

Loggt sich ein User im Forum ein und geht dann in den AJAX Chat erhält er folgende Fehlermeldung:

Code: Alles auswählen

ChatBot: Fehler: Verbindungsstatus: 500

Verfasst: 25.10.2007 02:06
von wauziweb
ist es möglich den chat trotz einbinden von phpbb3 auf einer eigenständigen url laufen zu lassen?

z.B.:

phpBB3: http://forum.mini-aussies.com
chat: http://chat3.mini-aussies.com

??Bekomme die config und custom nicht hingeschraubt...

aktuelle Fehlermeldung:
Warning: Failed opening 'http://forum.mini-aussies.com/common.php' for inclusion (include_path='') in /.../lib/custom.php on line 18

befehle

Verfasst: 28.10.2007 00:17
von peacesign17
könnt ihr mir vieleicht alle vefehle sagen
für die version 0.5.2.2 (deutsch) ?

ich kenne nur /kick und /bans

welche gibt es noch?

Verfasst: 30.10.2007 22:46
von TiboKe
hallo...könnt mir mal jemand helfen aus dem chat die shoutbox zu machen...also habe den chat bei mir selber eingebaut...klapppt auch jetzt hat mich n freund gefragt ob ich ned die shoutbox daraus bei ihm reinbauen könnte weil er es nicht versteht....

ich allerdings auch ned...

Code: Alles auswählen

Shoutbox:
=========
	
	AJAX Chat is also usable as shoutbox - this is a short guide on how to set it up:


	1. Chat initialization
	----------------------
	
	Put the following code fragment into your PHP script, before any output is sent to the browser:

	<?php
	// URL to the chat directory (relative or absolute URL including the trailing slash):
	define('AJAX_CHAT_URL', '/phpBB3/chat/');
	
	// Path to the chat directory (absolute path including the trailing slash):
	define('AJAX_CHAT_PATH', 'http://huchinotte.km20116-01.keymachine.de/phpBB3/chat/');

	// Include custom libraries and initialization code:
	require(AJAX_CHAT_PATH.'lib/custom.php');

	// Include Class libraries:
	require(AJAX_CHAT_PATH.'lib/classes.php');
	
	// Initialize the chat:
	$ajaxChat = new CustomAJAXChatShoutBox();
	?>
	
	Remove the line which includes the custom libraries if they have already been included in your script.


	2. Stylesheet inclusion
	-----------------------
	
	Put the link to the shoutbox stylesheet in the head section of your (X)HTML output:
	
	<link rel="stylesheet" type="text/css" href="http://example.org/path/to/chat/css/shoutbox.css" title="AJAX Chat Shoutbox Style"/>
	
	
	3. Shoutbox output
	------------------
	
	Display the shoutbox in the body section of your (X)HTML content using the following code fragment:
	
	<div style="width:200px;"><?php echo $ajaxChat->getShoutBoxContent(); ?></div>
	
	The surrounding (X)HTML content limits the width of the chat - the height is set in the shoutbox stylesheet.
was muss wohin und wie?? ich bin einfach zu blöd dafür...

danke im forraus...

PS die dateien sind alle drauf sql ist drinne klappt auch normal...
nur das mit der shoutbox verstehe ich ned

Verfasst: 31.10.2007 20:40
von Stefan0812
nun habe ich alle Möglichkeiten durch und ich weiß einfach nicht weiter.
mach ich einen Fehler in der config.php?

Code: Alles auswählen

// Database connection values:
$config['dbConnection'] = array();
// Database hostname:
$config['dbConnection']['host'] = 'localhost';
// Database username:
$config['dbConnection']['user'] = 'xxxxx';
// Database password:
$config['dbConnection']['pass'] = 'xxxxx';
// Database name:
$config['dbConnection']['name'] = 'xxxx';
// Database type:
$config['dbConnection']['type'] = 'mysql';
// Database link:
$config['dbConnection']['link'] = null;

Verfasst: 03.11.2007 00:23
von Speedway51
der AJAX Chat ist super , ich hab alles in ein phpbb2 eingebuden..

trotzedem hätte ich gerne ein paar änderungen , nur ich weiss nicht wo ich es tun soll..

ich hätte gerne nur ein chat raum und nicht die ganzen bereiche aus dem forum.

und wie kann ich die besucher anzahl bzw auch benutzer auf einer
nicht phpbb2 seite anzeigen lassen.

kleine wünsche, grosse probleme :grin:

Verfasst: 03.11.2007 14:48
von Einste1n
jo ... die vielen Channel stören mich auch ... ansonsten super Chat!
Was noch fehlt ist eine Verbindung zum IRC :)
mfg
Einste1n

edit : nach ein bißchen suchen, hab ich herrausgefunden wie ich zumindest das ganze auf einen public channel begrenze

öffne :
config.php

suche :
$config['limitChannelList'] = NULL;

ersetzte mit :
$config['limitChannelList'] = array(0);

eigene channels setzt du dann mit
(öffne lib/class/customajaxchat.php)

suche :
function getChannels() {

unter $allChannels = &$this->getAllChannels(); fügst du ein :

// Default channel, public to everyone:
$this->_channels['Public'] = $this->_params['defaultChannelID'];
// Another channel, public to everyone:
$this->_channels['Plauderstuendchen'] = 101;
// And another channel, public to everyone:
$this->_channels['AFK'] = 102;

der Tip steht auch weiter hinten hier im Thread. Glatt überlesen ;)
wäre trotzdem praktisch wenn das in die config könnte.

Verfasst: 03.11.2007 18:16
von plACEbo
Hi,
Speedway51 hat geschrieben:ich hätte gerne nur ein chat raum und nicht die ganzen bereiche aus dem forum.
in lib/config.php sollte dies helfen:

Code: Alles auswählen

// Defines an array of channelIDs (e.g. array(0, 1)) to limit the number of available channels, will be ignored if set to null:
$config['limitChannelList'] = array(0);
mfg

Verfasst: 03.11.2007 18:53
von Einste1n
Das machst du in der Methode getChannels() in lib/class/CustomChat.php:
Code:
// Default channel, public to everyone:
$this->_channels['Public'] = $this->_params['defaultChannelID'];
// Another channel, public to everyone:
$this->_channels['Another_channel'] = 101;
// And another channel, public to everyone:
$this->_channels['Another_channel_again'] = 102;

101 und 102 sind die Channel ID's, die eindeutig sein müssen (max. 1000000000).
ich muss mich korrigieren. Das funktioniert irgendwie nicht ;(
er zeigt diesen Channel zwar an, dennoch ist dieser Channel inaktiv und versucht man aus einen internen channel in diesen channel zu kommen, dann meckert er "Ungültiger Channel"

Verfasst: 04.11.2007 16:54
von Speedway51
plACEbo hat geschrieben:Hi,
Speedway51 hat geschrieben:ich hätte gerne nur ein chat raum und nicht die ganzen bereiche aus dem forum.
in lib/config.php sollte dies helfen:

Code: Alles auswählen

// Defines an array of channelIDs (e.g. array(0, 1)) to limit the number of available channels, will be ignored if set to null:
$config['limitChannelList'] = array(0);
mfg
hallo..
ja damit hab ich schon rumgespielt , aber die funktion kapier ich nciht recht.
worauf beziehts sich die array (0) denn? auf den des forums?