MyBB Community Forums

Full Version: AJAX Chat - including MyBB integration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
(2015-04-19, 09:59 AM).m. Wrote: [ -> ]^ it is not supported. moreover it is a resource hog and not recommended (esp on shared web hosting)

thank you very much
hello man, in persian lang have problem, and the old persian lang is not fully translated.
$ have no fa.js
$ fa.php is not completed

for this, you can't work in persian(فارسی) language.because have no fa.js in files.

now you can use persian | فارسی be easy.
fully translated by me: http://up.bkhost.ir/do.php?filename=143635355556441.zip
you can get and upload that 2 files in specified directory in pack... and enjoy of فارسی

to be succed
doesnt have avatars Sad
I dont understand this
<?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;
}
?>

What should i replace and replace with what?
how can hide preview emotions and
add emotion button after font color button

please tell me
thanks
Hi everyone,

how to hide the settings button in the chat panel? Dodgy

[Image: sshot-1.png]

I would like it to be visible only to administrators and moderators

thank you Shy
When someone quotes another post in the reply, the chat doesn't show the link correctly (the image attached).
Looks like in case of quoted reply inside "function AJAXChat_newreply()" the function won't retrieve the topic's name

$db->escape_string($post['subject'])
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38