Dakin Quelia a écrit:Bonjour,
Le mod shoutbox est disponible dans les mods indépendants ou tu as celui-ci qui a été adapté pour phpbb3.![]()
Ma foi, c'est une question que tu aurais dû poser dans le forum de Discussions et recherches.![]()
A bientôt,
Bonjour à tous!
j'ai téléchargé et installé cete chatbox sur mon ftp, elles est pas mal du tout, seulement je ne sais pas comment l intégrer a mon forum, il y a bien une explication, mais plus compliquée que les autres fichiers d'install de mod habituels
- Code: Tout sélectionner
Shoutbox:
=========
AJAX Chat is also usable as shoutbox - this is a short guide on how to set it up:
1. Shoutbox stylesheet
----------------------
Add the following line to the stylesheet (CSS) of all pages displaying the shoutbox:
@import url("http://example.org/path/to/chat/css/shoutbox.css");
Replace http://example.org/path/to/chat/ with the URL to the chat.
Modify css/shoutbox.css to your liking.
2. Shoutbox function
--------------------
Add the following function to your PHP code:
<?php
function getShoutBoxContent() {
// URL to the chat directory:
if(!defined('AJAX_CHAT_URL')) {
define('AJAX_CHAT_URL', './chat/');
}
// Path to the chat directory:
if(!defined('AJAX_CHAT_PATH')) {
define('AJAX_CHAT_PATH', realpath(dirname($_SERVER['SCRIPT_FILENAME']).'/chat').'/');
}
// Validate the path to the chat:
if(@is_file(AJAX_CHAT_PATH.'lib/classes.php')) {
// Include Class libraries:
require_once(AJAX_CHAT_PATH.'lib/classes.php');
// Initialize the shoutbox:
$ajaxChat = new CustomAJAXChatShoutBox();
// Parse and return the shoutbox template content:
return $ajaxChat->getShoutBoxContent();
}
return null;
}
?>
Make sure AJAX_CHAT_URL and AJAX_CHAT_PATH point to the chat directory.
2. Shoutbox output
------------------
Display the shoutbox content using the shoutbox function:
<div style="width:200px;"><?php echo getShoutBoxContent(); ?></div>
si quelqu'un veut bien m'aider, j'avais posté ma demande dans un autre post dont ce n'était pas le sujet donc je me permet de créer un topic expres, sachant que cette box à l air super
voici une image en mode chatbox :

pour info, elle est installé dans le répertoire chat à la racine de mon ftp.
merci d'avance a qui pourra m'expliquer un peu mieu l'installation
et testez cette box, elle est est vraiment sympa vous pouvez la tester ici en anonyme : http://rueduhiphop.olympe-network.com/chat/








