Brauche Hilfe beim einbau Shoutbox (Ajax Chat-Shoutbox)

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
TiboKe
Mitglied
Beiträge: 86
Registriert: 28.09.2007 15:21

Brauche Hilfe beim einbau Shoutbox (Ajax Chat-Shoutbox)

Beitrag 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...
TiboKe
Mitglied
Beiträge: 86
Registriert: 28.09.2007 15:21

Beitrag 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...
halk
Mitglied
Beiträge: 6
Registriert: 24.01.2008 18:42

Beitrag 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
TuAdmin
Mitglied
Beiträge: 33
Registriert: 27.01.2008 22:18

ajax

Beitrag 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:
Antworten

Zurück zu „[3.0.x] Mod Support“