Seite 1 von 1

Brauche Hilfe beim einbau Shoutbox (Ajax Chat-Shoutbox)

Verfasst: 30.10.2007 13:40
von TiboKe
Hallo Leute ich möchte mir gerne noch die Shoutbox installieren die es beim Chat gibt...nur weis ich ned wo das hier rein muss.... mein englisch ist doch mieserabel...LÖL

der Chat ist von hier: http://www.phpbb.com/community/viewtopi ... 0&t=551409

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', 'http://example.org/path/to/chat/');
	
	// Path to the chat directory (absolute path including the trailing slash):
	define('AJAX_CHAT_PATH', '/document_root/path/to/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.
wäre nett wenn einer weis wo das hin muss oder mir sagen kann wie ich das genau machen muss...
stehe auf dem schlauch...

Verfasst: 30.10.2007 15:04
von TiboKe
EDIT: habs gefunden muss alles in die index.php im Chat verzeichniss.....aber wichtig man kann entweder Chat oder Shoubox nutzen ned beides gleichzeitig.... und am wichtigsten ist das wenn man die shoutbox nutzen will..man vorher den chat nicht aufrufen darf per browser...snst hat man nen fehler drinne...

Verfasst: 26.01.2008 20:23
von halk
Hallo

ich bauch mal hilfe. und wollte kein neue thema eröffnen ...leider weiß ich nicht wie ich das machen soll da ich jetzt gesucht habe aber nicht gefunden habe, was mir weite hilft.

Vielleicht könnt ihr mir weiterhelfen.#


Ich versuche den AJAX_Chat im der overall_header.html und in der viewtopic_body.html zu verlinken leide klappt dies nicht so ganz wie ich mir dies vorstelle.

Danke Für die Hilfe..


Mfg halk

ajax

Verfasst: 26.03.2008 21:04
von TuAdmin
jo da sind wir schon zu zweit das versuche ich auch

habe das gefunden

<a href="http://deinxxx/chat.php"><img src="http://www.deinxxx.de/images/chat.png width="12" height="13" alt="*" /> Chat</a>
<a href="{find a member}"><img

habe da meine daten schon eingetragen nur die frage ist jetz in welcher zeile kommt das rein. Da ich auch kein orginal phpbb3 template habe sondern siehe http://www.dein-support.de binichnoch ratloser. Der befehl soll bei subsilver und den anderen teil funzen..Nur da ich kein profi in den dingen bin währe ich für jede hilfe dankbar :grin: