Archives FluxBB.fr

Les archives de FluxBB.fr

Vous n'êtes pas identifié(e).

#76 09-12-2011 21:25:27

adaur
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Ceci:

1323458676.jpg

Si tu as les mêmes valeurs, je ne vois vraiment pas où le pb se situe sad


"As code is more often read than written it's really important to write clean code." - Franz
Twitter: @adaurfr
Mon fork de FluxBB: FeatherBB

Hors ligne

#77 09-12-2011 21:31:25

Cdvdu59
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

C'était 300 et pas 600, donc j'ai modifier, mais ne fonctionne toujours pas sad

Hors ligne

#78 11-12-2011 01:05:12

thib3113
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

petites question toutes bête, avec quoi te connecte tu ? avec un appareil qui change régulièrement d'ip ? un téléphone par exemple ?
si c'est cela, va dans chat/lib/config.php
cherche la ligne :

// If true, checks if the user IP is the same when logged in:
$config['ipCheck'] = True;

et change la valeur "True" par "False" , cela aurait pour effet de ne pas vérifier l'ip de la personne, en gros quand tu te connecte, le chat associe ton ip à ton profil, si tu change d'ip souvent, les deux ne concorde pas, et le chat ne te reconnait pas

Hors ligne

#79 11-12-2011 12:32:01

Cdvdu59
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

J'utilise un pc,
J'ai tout de même essayer, mais le résultat est le même.
Je me fait toujours déconnecter, Merci a toi quand même smile

Hors ligne

#80 18-12-2011 13:05:55

ozz
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Salut à tous.

Suite à la migration sur un VPS, l'ajax chat à pu être mis en place par serveur socket et non plus comme à la base par rafraichissement continue tout les X temps

Cette modification marche très bien et permet de soulager de manières très importante le serveur.

Néanmoins cette modif n'est fonctionnelle que sous Internet Explorer et Firefox.

Sous Google Chrome il est indispensable d'envoyer un message pour récupéré ce qui à été écrit dans la shoot c'est donc très problématique.
Il sembleré que les rafraichissement automatique soit la seule manière pour Chrome de récupéré les informations...

J'avait déja soulevé des problèmes sur Chrome avec cet Ajax Chat sur une installation standard.
La le soucis est plût important avec une configurations par Socket

Serait -il possible à vous de m'aider à me pencher sur la compatibilité avec ce navigateur.

Si cela n'est pas possible pourriez vous m'indiquer si d'autres types de "chatbox" sont compatibles et pleinement fonctionnelle avec Fluxbb et les différents navigateurs.

Merci à vous

Hors ligne

#81 19-12-2011 12:12:42

chloelea
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Salut

humm big job. maintenant on a plus de choix

merci bcp

chloelea


Mon site préféré de meuble design!

Hors ligne

#82 20-12-2011 02:28:51

maxipull
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Bonjour a tous et merci a tous pour votre participation.

Partie 1
J'ai essayé d'ajouter la toolbar qui est présente dans le "full chat" (http://domaine.tld/chat/) dans le chat integré a l'index.

j'ai donc ajouté tout a la fin du fichier shoutbox.php (http://domaine.tld/chat/lib/template/shoutbox.php) les lignes suivantes récupérées dans le full chat :

<div id="bbCodeContainer">
			<input type="button" value="b" title="Texte en gras: [b]texte[/b]" onclick="ajaxChat.insertBBCode('b');" style="font-weight:bold;"/>
			<input type="button" value="i" title="Texte en italique: [i]texte[/i]" onclick="ajaxChat.insertBBCode('i');" style="font-style:italic;"/>
			<input type="button" value="u" title="Texte souligné: [u]texte[/u]" onclick="ajaxChat.insertBBCode('u');" style="text-decoration:underline;"/>
			<input type="button" value="Citation" title="Citation: [quote]texte[/quote] ou [quote=auteur]texte[/quote]" onclick="ajaxChat.insertBBCode('quote');"/>
			<input type="button" value="Code" title="Affichage de code: [code]code[/code]" onclick="ajaxChat.insertBBCode('code');"/>

			<input type="button" value="URL" title="Insérer une URL: [url]http://example.org[/url] ou [url=http://example.org]text[/url]" onclick="ajaxChat.insertBBCode('url');"/>
			<input type="button" value="Image" title="Insert image: [img]http://example.org/image.jpg[/img]" onclick="ajaxChat.insertBBCode('img');"/>
			<input type="button" value="Couleur de police" title="Couleur de police: [color=red]texte[/color]" onclick="ajaxChat.showHide('colorCodesContainer', null);"/>
</div>
<div id="colorCodesContainer" style="display:none;" dir="ltr"></div>

J'ai bien ma toolbar, tout fonctionne sauf évidement les couleurs, je n'arrive pas a faire afficher le Container avec les couleurs a choisir. Meme en ajoutant le code JS correspondant dans la page, dans le main.tpl, ... j'ai un peu tout essayer.

Qui aurait une idée svp ?

Partie 2
autre chose, j'aimerai pour 4 membres en particulier forcer le texte a etre envoyer dans une certaine couleur, je pensais a un truc du genre :

if ($pun_user['id'] == 'X')
fonction qui poste avec code couleur [color=XXXXXX]"message"[/color];
else if ($pun_user['id'] == 'Y')
fonction qui poste avec code couleur [color=YYYYYY]"message"[/color];
else if ($pun_user['id'] == 'Z')
fonction qui poste avec code couleur [color=ZZZZZZ]"message"[/color];
else 
fonction qui poste avec la couleur d'origine;

 

j'aimerai savoir si c'est possible, soit de cette manière soit en incluant les conditions directement dans la fonction qui poste, ce qui me parait plus logique...

merci de votre aide.

Hors ligne

#83 20-12-2011 16:44:36

ozz
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

ozz a écrit :

Salut à tous.

Suite à la migration sur un VPS, l'ajax chat à pu être mis en place par serveur socket et non plus comme à la base par rafraichissement continue tout les X temps

Cette modification marche très bien et permet de soulager de manières très importante le serveur.

Néanmoins cette modif n'est fonctionnelle que sous Internet Explorer et Firefox.

Sous Google Chrome il est indispensable d'envoyer un message pour récupéré ce qui à été écrit dans la shoot c'est donc très problématique.
Il sembleré que les rafraichissement automatique soit la seule manière pour Chrome de récupéré les informations...

J'avait déja soulevé des problèmes sur Chrome avec cet Ajax Chat sur une installation standard.
La le soucis est plût important avec une configurations par Socket

Serait -il possible à vous de m'aider à me pencher sur la compatibilité avec ce navigateur.

Si cela n'est pas possible pourriez vous m'indiquer si d'autres types de "chatbox" sont compatibles et pleinement fonctionnelle avec Fluxbb et les différents navigateurs.

Merci à vous

UP svp  merci

Hors ligne

#84 10-01-2012 00:30:04

barbuslex
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Salut,

Y aurait il un moyen pour augmenter le nombre de messages max (20) qui s'affichent sur la page index.php ?

Merci d'avance,

Dernière modification par barbuslex (10-01-2012 00:45:42)

Hors ligne

#85 11-01-2012 02:12:27

maxipull
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Slt barbuslex oui c'est possible, dans /chat/lib/config.php

cherche la ligne : (environ 160)

// Max number of messages to display on each request:
$config['requestMessagesLimit'] = 20;

change 20 par ce que tu veux.

Hors ligne

#86 11-01-2012 02:14:19

maxipull
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Toujours personne pour répondre a ma requête svp ? http://fluxbb.fr/forums/viewtopic.php?p … 65#p105065

Hors ligne

#87 11-01-2012 16:46:38

barbuslex
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

maxipull a écrit :

Slt barbuslex oui c'est possible, dans /chat/lib/config.php

cherche la ligne : (environ 160)

// Max number of messages to display on each request:
$config['requestMessagesLimit'] = 20;

change 20 par ce que tu veux.

J'ai essayé de passer 20 ==> 200 mais cela ne change rien sur mon navigateur même en actualisant plusieurs fois la page.
Par contre sur le navigateur d'un autre PC sa fonctionne y a til un cache a supprimer ou quelque chose d'autre ?

Hors ligne

#88 11-01-2012 17:20:50

adaur
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

@barbuslex: oui, fais un ctrl + F5 sur ton site, vide le cache si ce n'est pas nécessaire.

@maxipull: c'est faisable, mais demande pas mal de dev, hors je n'ai pas vraiment le temps en ce moment, désolé hmm


"As code is more often read than written it's really important to write clean code." - Franz
Twitter: @adaurfr
Mon fork de FluxBB: FeatherBB

Hors ligne

#89 11-01-2012 23:40:26

maxipull
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Ok pas de soucis, je vais continuer à bidouiller, hier j'ai rajouté la barre de smileys + smileys perso dans un conteneur show/hide, j'arrive à afficher les carrés de couleurs mais pas réussi à les lier avec la fonction qui color le texte dans l'input.

par contre pour forcer une couleur par membre, je ne trouve pas, si jamais quelqu'un a une idée ...

Merci.

Hors ligne

#90 12-01-2012 17:45:00

barbuslex
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Sa ne marche pas adaur :

Voici mon config.js:

/*
 * @package AJAX_Chat
 * @author Sebastian Tschan
 * @copyright (c) Sebastian Tschan
 * @license GNU Affero General Public License
 * @link https://blueimp.net/ajax/
 */

// Ajax Chat config parameters:
var ajaxChatConfig = {

	// The channelID of the channel to enter on login (the loginChannelName is used if set to null):
	loginChannelID: null,
	// The channelName of the channel to enter on login (the default channel is used if set to null):
	loginChannelName: null,	
	
	// The time in ms between update calls to retrieve new chat messages:
	timerRate: 2000,
	
	// The URL to retrieve the XML chat messages (must at least contain one parameter):
	ajaxURL: './?ajax=true',
	// The base URL of the chat directory, used to retrieve media files (images, sound files, etc.):
	baseURL: './',

	// A regular expression for allowed source URL's for media content (e.g. images displayed inline);
	regExpMediaUrl: '^((http)|(https)):\\/\\/',
	
	// If set to false the chat update is delayed until the event defined in ajaxChat.setStartChatHandler():
	startChatOnLoad: true,
	
	// Defines the IDs of DOM nodes accessed by the chat:
	domIDs: {
		// The ID of the chat messages list:
		chatList: 'chatList',
		// The ID of the online users list:
		onlineList: 'onlineList',
		// The ID of the message text input field:
		inputField: 'inputField',
		// The ID of the message text length counter:
		messageLengthCounter: 'messageLengthCounter',
		// The ID of the channel selection:
		channelSelection: 'channelSelection',
		// The ID of the style selection:
		styleSelection: 'styleSelection',
		// The ID of the emoticons container:
		emoticonsContainer: 'emoticonsContainer',
		// The ID of the color codes container:
		colorCodesContainer: 'colorCodesContainer',
		// The ID of the flash interface container:
		flashInterfaceContainer: 'flashInterfaceContainer'
	},

	// Defines the settings which can be modified by users:
	settings: {
		// Defines if BBCode tags are replaced with the associated HTML code tags:
		bbCode: true,
		// Defines if image BBCode is replaced with the associated image HTML code:
		bbCodeImages: true,
		// Defines if color BBCode is replaced with the associated color HTML code:
		bbCodeColors: true,
		// Defines if hyperlinks are made clickable:
		hyperLinks: true,
		// Defines if line breaks are enabled:
		lineBreaks: true,
		// Defines if emoticon codes are replaced with their associated images:
		emoticons: true,
	
		// Defines if the focus is automatically set to the input field on chat load or channel switch:
		autoFocus: true,
		// Defines if the chat list scrolls automatically to display the latest messages:
		autoScroll: true,	
		// The maximum count of messages displayed in the chat list (will be ignored if set to 0):
		maxMessages: 100,
		
		// Defines if long words are wrapped to avoid vertical scrolling:
		wordWrap: true,
		// Defines the maximum length before a word gets wrapped: 
		maxWordLength: 32,
		
		// Defines the format of the date and time displayed for each chat message:
		dateFormat: '(%H:%i:%s)',
		
		// Defines if font colors persist without the need to assign them to each message:
		persistFontColor: false,	
		// The default font color, uses the page default font color if set to null:
		fontColor: null,
		
		// Defines if sounds are played:
		audio: true,
		// Defines the sound volume (0.0 = mute, 1.0 = max):
		audioVolume: 1.0,

		// Defines the sound that is played when normal messages are reveived:
		soundReceive: 'sound_1',
		// Defines the sound that is played on sending normal messages:
		soundSend: 'sound_2',
		// Defines the sound that is played on channel enter or login:
		soundEnter: 'sound_3',
		// Defines the sound that is played on channel leave or logout:
		soundLeave: 'sound_4',
		// Defines the sound that is played on chatBot messages:
		soundChatBot: 'sound_5',
		// Defines the sound that is played on error messages:
		soundError: 'sound_6',
		
		// Defines if the document title blinks on new messages:
		blink: true,
		// Defines the blink interval in ms:
		blinkInterval: 500,
		// Defines the number of blink intervals:
		blinkIntervalNumber: 10
	},
	
	// Defines a list of settings which are not to be stored in a session cookie:
	nonPersistentSettings: new Array(
	),

	// Defines the list of allowed BBCodes:
	bbCodeTags: new Array(
		'b',
		'i',
		'u',
		'quote',
		'code',
		'color',
		'url',
		'img'
	),
	
	// Defines the list of allowed color codes:
	colorCodes: new Array(
		'gray',
		'silver',
		'white',	
		'yellow',
		'orange',
		'red',
		'fuchsia',
		'purple',
		'navy',
		'blue',
		'aqua',
		'teal',
		'green',
		'lime',
		'olive',
		'maroon',
		'black'
	),
	
	// Defines the list of allowed emoticon codes:
	emoticonCodes: new Array(
		':)',
		':(',
		';)',
		':P',
		':D',
		':|',
		':O',
		':?',
		'8)',
		'8o',
		'B)',
		':-)',
		':-(',
		':-*',
		'O:-D',
		'>:-D',
		':o)',
		':idea:',
		':important:',
		':help:',
		':error:',
		':warning:',
		':favorite:'		
 	),
	
 	// Defines the list of emoticon files associated with the emoticon codes:
	emoticonFiles: new Array(
		'smile.png',
		'sad.png',
		'wink.png',
		'razz.png',
		'grin.png',
		'plain.png',
		'surprise.png',
		'confused.png',
		'glasses.png',
		'eek.png',
		'cool.png',
		'smile-big.png',
		'crying.png',
		'kiss.png',
		'angel.png',
		'devilish.png',
		'monkey.png',
		'idea.png',
		'important.png',
		'help.png',
		'error.png',
		'warning.png',
		'favorite.png'
	),

	// Defines the available sounds loaded on chat start:
	soundFiles: {
		sound_1: 'sound_1.mp3',
		sound_2: 'sound_2.mp3',
		sound_3: 'sound_3.mp3',
		sound_4: 'sound_4.mp3',
		sound_5: 'sound_5.mp3',
		sound_6: 'sound_6.mp3'
	},
	
	
	// The following configuration options are usually overwritten by server-side values:
	
	// Session identification, used for style and setting cookies:
	sessionName: 'ajax_chat',

	// The time in days until the style and setting cookies expire:
	cookieExpiration: 365,
	// The path of the cookies, '/' allows to read the cookies from all directories:
	cookiePath: '/',
	// The domain of the cookies, defaults to the hostname of the server if set to null:
	cookieDomain: null,
	// If enabled, cookies must be sent over secure (SSL/TLS encrypted) connections:
	cookieSecure: null,
	
	// The name of the chat bot:
	chatBotName: 'ChatBot',
	// The userID of the chat bot:
	chatBotID: 2147483647,

	// Allow/Disallow registered users to delete their own messages:
	allowUserMessageDelete: false,
	
	// Minutes until a user is declared inactive (last status update) - the minimum is 2 minutes:
	inactiveTimeout: 2,

	// UserID plus this value are private channels (this is also the max userID and max channelID):
	privateChannelDiff: 500000000,
	// UserID plus this value are used for private messages:
	privateMessageDiff: 1000000000,

	// Defines if login/logout and channel enter/leave are displayed:
	showChannelMessages: true,

	// Max messageText length:
	messageTextMaxLength: 1040,
	
	// Defines if the socket server is enabled:
	socketServerEnabled: false,
	// Defines the hostname of the socket server used to connect from client side:
	socketServerHost: 'localhost',
	// Defines the port of the socket server:
	socketServerPort: 1935,
	// This ID can be used to distinguish between different chat installations using the same socket server:
	socketServerChatID: 0

}

Et mon config.php:

<?php
/*
 * @package AJAX_Chat
 * @author Sebastian Tschan
 * @copyright (c) Sebastian Tschan
 * @license GNU Affero General Public License
 * @link https://blueimp.net/ajax/
 */

// Define AJAX Chat user roles:
if(!defined('AJAX_CHAT_RESIDENT')) define('AJAX_CHAT_RESIDENT', 9);
if(!defined('AJAX_CHAT_ANIMATEUR')) define('AJAX_CHAT_ANIMATEUR', 8);
if(!defined('AJAX_CHAT_DJ')) define('AJAX_CHAT_DJ', 7);
if(!defined('AJAX_CHAT_BANNI')) define('AJAX_CHAT_BANNI', 6);
if(!defined('AJAX_CHAT_VIP')) define('AJAX_CHAT_VIP', 5);
define('AJAX_CHAT_CHATBOT',	4);
define('AJAX_CHAT_ADMIN',3);
define('AJAX_CHAT_MODERATOR', 2);
define('AJAX_CHAT_USER', 1);
define('AJAX_CHAT_GUEST', 0);

// AJAX Chat config parameters:
$config = array();

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

// Database table names:
$config['dbTableNames'] = array();
$config['dbTableNames']['online']		= 'ajax_chat_online';
$config['dbTableNames']['messages']		= 'ajax_chat_messages';
$config['dbTableNames']['bans']			= 'ajax_chat_bans';
$config['dbTableNames']['invitations']	= 'ajax_chat_invitations';

// Available languages:
$config['langAvailable'] = array('ar','bg','bp','ca','cy','cz','de','el','en','es','et','fi','fr','gl','he','hr','hu','in','it','ka','kr','ja','nl','no','pl','ro','ru','sk','sl','sr','sv','tr','uk','zh','zh-tw');
// Default language:
$config['langDefault'] = 'en';
// Language names:
$config['langNames'] = array('ar'=>'عربي','bg'=>'Български','bp'=>'Português (Brasil)','ca'=>'Català','cy'=>'Cymraeg','cz'=>'Česky','de'=>'Deutsch','el'=>'Ελληνικα','en'=>'English','es'=>'Español','et'=>'Eesti','fi'=>'Suomi','fr'=>'Français','gl'=>'Galego','he'=>'עברית','hr' => 'Hrvatski','hu' => 'Magyar','in'=>'Bahasa Indonesia','it'=>'Italiano','ja'=>'日本語','ka'=>'ქართული','kr'=>'한글','nl'=>'Nederlands','no'=>'Norsk','pl'=>'Polski','ro'=>'România','ru'=>'Русский','sk'=>'Slovenčina','sl'=>'Slovensko','sr'=>'Srpski','sv'=>'Svenska','tr'=>'Türkçe','uk'=>'Українська','zh'=>'中文 (简体)', 'zh-tw'=>'中文 (繁體)');

// Available styles:
$config['styleAvailable'] = array('beige','black','grey','Oxygen','Lithium','Sulfur','Cobalt','Mercury','Radium','prosilver','subsilver2','subblack2','subSilver','Core','MyBB','vBulletin');
// Default style:
$config['styleDefault'] = 'Oxygen';

// The encoding used for the XHTML content:
$config['contentEncoding'] = 'UTF-8';
// The encoding of the data source, like userNames and channelNames:
$config['sourceEncoding'] = 'UTF-8';
// The content-type of the XHTML page (e.g. "text/html", will be set dependent on browser capabilities if set to null):
$config['contentType'] = null;

// Session name used to identify the session cookie:
$config['sessionName'] = 'ajax_chat';
// Prefix added to every session key:
$config['sessionKeyPrefix'] = 'ajaxChat';
// The lifetime of the language, style and setting cookies in days:
$config['sessionCookieLifeTime'] = 365;
// The path of the cookies, '/' allows to read the cookies from all directories:
$config['sessionCookiePath'] = '/';
// The domain of the cookies, defaults to the hostname of the server if set to null:
$config['sessionCookieDomain'] = null;
// If enabled, cookies must be sent over secure (SSL/TLS encrypted) connections:
$config['sessionCookieSecure'] = null;

// Default channelName used together with the defaultChannelID if no channel with this ID exists:
$config['defaultChannelName'] = 'Public';
// ChannelID used when no channel is given:
$config['defaultChannelID'] = 0;
// 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'] = null;

// UserID plus this value are private channels (this is also the max userID and max channelID):
$config['privateChannelDiff'] = 500000000;
// UserID plus this value are used for private messages:
$config['privateMessageDiff'] = 1000000000;

// Enable/Disable private Channels:
$config['allowPrivateChannels'] = false;
// Enable/Disable private Messages:
$config['allowPrivateMessages'] = true;

// Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['privateChannelPrefix'] = '[';
// Private channels should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['privateChannelSuffix'] = ']';

// If enabled, users will be logged in automatically as guest users (if allowed), if not authenticated:
$config['forceAutoLogin'] = false;

// Defines if login/logout and channel enter/leave are displayed:
$config['showChannelMessages'] = true;

// If enabled, the chat will only be accessible for the admin:
$config['chatClosed'] = false;
// Defines the timezone offset in seconds (-12*60*60 to 12*60*60) - if null, the server timezone is used:
$config['timeZoneOffset'] = null;
// Defines the hour of the day the chat is opened (0 - closingHour):
$config['openingHour'] = 0;
// Defines the hour of the day the chat is closed (openingHour - 24):
$config['closingHour'] = 24;
// Defines the weekdays the chat is opened (0=Sunday to 6=Saturday):
$config['openingWeekDays'] = array(0,1,2,3,4,5,6);

// Enable/Disable guest logins:
$config['allowGuestLogins'] = false;
// Enable/Disable write access for guest users - if disabled, guest users may not write messages:
$config['allowGuestWrite'] = false;
// Allow/Disallow guest users to choose their own userName:
$config['allowGuestUserName'] = false;
// Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['guestUserPrefix'] = '(';
// Guest users should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['guestUserSuffix'] = ')';
// Guest userIDs may not be lower than this value (and not higher than privateChannelDiff):
$config['minGuestUserID'] = 400000000;

// Allow/Disallow users to change their userName (Nickname):
$config['allowNickChange'] = false;
// Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['changedNickPrefix'] = '(';
// Changed userNames should be distinguished by either a prefix or a suffix or both (no whitespace):
$config['changedNickSuffix'] = ')';

// Allow/Disallow registered users to delete their own messages:
$config['allowUserMessageDelete'] = false;

// The userID used for ChatBot messages:
$config['chatBotID'] = 2147483647;
// The userName used for ChatBot messages
$config['chatBotName'] = 'ChatBot';

// Minutes until a user is declared inactive (last status update) - the minimum is 2 minutes:
$config['inactiveTimeout'] = 2;
// Interval in minutes to check for inactive users:
$config['inactiveCheckInterval'] = 5;

// Defines if messages are shown which have been sent before the user entered the channel:
$config['requestMessagesPriorChannelEnter'] = true;
// Defines an array of channelIDs (e.g. array(0, 1)) for which the previous setting is always true (will be ignored if set to null):
$config['requestMessagesPriorChannelEnterList'] = null;
// Max time difference in hours for messages to display on each request:
$config['requestMessagesTimeDiff'] = 24;
// Max number of messages to display on each request:
$config['requestMessagesLimit'] = 100;

// Max users in chat (does not affect moderators or admins):
$config['maxUsersLoggedIn'] = 100;
// Max userName length:
$config['userNameMaxLength'] = 16;
// Max messageText length:
$config['messageTextMaxLength'] = 1040;
// Defines the max number of messages a user may send per minute:
$config['maxMessageRate'] = 20;

// Defines the default time in minutes a user gets banned if kicked from a moderator without ban minutes parameter:
$config['defaultBanTime'] = 5;

// Argument that is given to the handleLogout JavaScript method:
$config['logoutData'] = './?logout=true';

// If true, checks if the user IP is the same when logged in:
$config['ipCheck'] = true;

// Defines the max time difference in hours for logs when no period or search condition is given:
$config['logsRequestMessagesTimeDiff'] = 1;
// Defines how many logs are returned on each logs request:
$config['logsRequestMessagesLimit'] = 10;

// Defines the earliest year used for the logs selection:
$config['logsFirstYear'] = 2007;

// Defines if old messages are purged from the database:
$config['logsPurgeLogs'] = false;
// Max time difference in days for old messages before they are purged from the database:
$config['logsPurgeTimeDiff'] = 365;

// Defines if registered users (including moderators) have access to the logs (admins are always granted access):
$config['logsUserAccess'] = false;
// Defines a list of channels (e.g. array(0, 1)) to limit the logs access for registered users, includes all channels the user has access to if set to null:
$config['logsUserAccessChannelList'] = null;

// Defines if the socket server is enabled:
$config['socketServerEnabled'] = false;
// Defines the hostname of the socket server used to connect from client side (the server hostname is used if set to null):
$config['socketServerHost'] = null;
// Defines the IP of the socket server used to connect from server side to broadcast update messages:
$config['socketServerIP'] = '127.0.0.1';
// Defines the port of the socket server:
$config['socketServerPort'] = 1935;
// This ID can be used to distinguish between different chat installations using the same socket server:
$config['socketServerChatID'] = 0;
?>

Et si je fais CTRL + F5, j'ai 20 messages sur firefox et 30 messages sur IE.

Tu peux voir le résultat ici : http://www.virtualdjing.com/index.php

Quelqu'un aurait il une solution ?

Dernière modification par barbuslex (12-01-2012 17:45:43)

Hors ligne

#91 16-01-2012 00:18:14

barbuslex
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

C'est bon sa marche, j'ai rien touché.
Apparemment il faut attendre 24h pour que les modifications soient prises en compte c'est pas immédiat.

Hors ligne

#92 14-03-2012 13:03:18

Glayne
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Bonjour j'ai l'impression que la shoot ne garde pas les messages assez longtemps ? Une idée de comment y remédier ?

Hors ligne

#93 20-04-2012 11:55:53

WinuX
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Comment tu as résolu le bug du backslash?
A savoir que le \ ne passe pas du tout sur la shoot hmm

Hors ligne

#94 20-04-2012 12:24:06

adaur
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Je n'ai rien résolu, ça passait sans rien modifier... peut-être un rapport avec ta config PHP ?


"As code is more often read than written it's really important to write clean code." - Franz
Twitter: @adaurfr
Mon fork de FluxBB: FeatherBB

Hors ligne

#95 20-04-2012 12:37:19

WinuX
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Peut être, ce bug est présent sur plusieurs forums hmm
Je m'y pencherais pendant les vacances.

Dernière modification par WinuX (20-04-2012 12:37:37)

Hors ligne

#96 21-06-2012 15:38:19

darknico
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

bonjour a tous ,

je viens d'installer ce chat sur mon site . J'ai juste un tout petit soucis , voici une image pour mieux comprendre :

http://www.hostingpics.net/viewer.php?i … titre2.jpg

Comme vous pouvez le voir le nom chatbox est couper en deux tongue

Je n'arrive pas a trouvé une solution .

Pourriez vous m'aider svp ?

merci smile

Dernière modification par darknico (21-06-2012 15:39:25)

Hors ligne

#97 21-06-2012 21:58:46

adaur
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Slt,

Tu n'aurais pas un lien pour qu'on bidouille un peu?


"As code is more often read than written it's really important to write clean code." - Franz
Twitter: @adaurfr
Mon fork de FluxBB: FeatherBB

Hors ligne

#98 22-06-2012 12:10:31

darknico
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Salut adaur

voici le lien du site : http://guilde-in-extremis.fr

Edit : pour pas vous embêtez j'ai crée un compte pour voir la chatbox

utilisateur : test1
pass :1234

Dernière modification par darknico (22-06-2012 12:44:25)

Hors ligne

#99 22-06-2012 13:16:29

adaur
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Merci! Si tu supprimes le "font-size" ligne 602 de ton CSS le bug semble réglé. Regarde si cela ne casse pas d'autres choses dans ton forum smile


"As code is more often read than written it's really important to write clean code." - Franz
Twitter: @adaurfr
Mon fork de FluxBB: FeatherBB

Hors ligne

#100 22-06-2012 20:54:22

darknico
Membre

Re : [Mod] Ajax chat for FluxBB 1.4 - 0.8.3

Super , ça fonctionne smile

je verrai pas la suite si il y a des bug ou pas .

je te remercie beaucoup smile

Hors ligne

Pied de page des forums