Show Categories
63
1
DjMaxi posted Dec 12 '11 at 6:31 pm

Hi!
Thank u 4 fantastic component of joomla(Frei Chat).
My question are:
Can I change the font size of public chat room?
In css of template maker i'm not find this option.
Thank u.
Simone

115
4
WolF posted Dec 10 '11 at 7:47 pm

I Installed the Module in my DZCP installation ..

I can see the chatwindow down reight ..

But i become the message

alert('module freichatx says: arg.php file not found!');"; } return 0; } } ?>

And nothing goes on .. i tryed some pathways but nothing ..
I Dont know what should i do know ..

Can anyone help me?

Here my index.html Headercode and the arg.php code also the main.php code

What is wrong??

1:index.html

<!--==========================FreiChatX====VERSIONS====5.X====START========================-->
<!-- For uninstalling ME , first remove/comment all FreiChatX related code i.e below code
Then remove FreiChatX tables frei_session & frei_chat if necessary
The best/recommended way is using the module for installation -->

<?php $ses=null;

if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){

if(is_file("/html/forum/inc/_templates_/version1.5/freichat/arg.php")){

require "/html/forum/inc/_templates_/version1.5/freichat/arg.php";

$temp_id = $ses . $uid;

return md5($temp_id);

}
else
{
echo "<script>alert('module freichatx says: arg.php file not
found!');";
}

return 0;
}
}
?>
<script type="text/javascript" language="javascipt" src="%5Bdir%5D/freichat/client/main.php?id=<?php%20echo%20%24ses;?>&xhash=<?php%20echo%20freichatx_get_hash(%24ses);%20?>"></script><script type="text/javascript" language="javascipt" src="http://evnix-dot-com.appspot.com/?time=<?php%20echo%20time();%20?>"></script><link rel="stylesheet" href="%5Bdir%5D/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"><!-- NOTE:: The copypaste code differs from 4.X to 5.X and may differ for further versions--><!-- So to be at a safer side always replace the entire FreiChatX code during installation--><!--===========================FreiChatX====VERSIONS====5.X====END=========================-->


2: arg.php

<?php /* FreiChatX parameters */

if(!defined('RDIR'))
{
define('RDIR', dirname(__FILE__));
define('PARENTDIR',dirname(RDIR));
}

if(@$_SERVER["HTTPS"] == "on")
{
$protocol = "https://";
}
else
{
$protocol = "http://";
}


$parameters=unserialize(file_get_contents(str_replace('arg.php','config.dat',__FILE__)));

$PATH = 'freichat/'; // Use this only if you have placed the freichat folder somewhere else
$installed=true;
$admin_pswd='adminpass';
$url=$protocol.$_SERVER['HTTP_HOST'].$_SERVER['SCRIPT_NAME'];
$show_name=$parameters['show_name']; //you can have guest or user
$displayname=$parameters['displayname']; //you can have username / name(nickname)
$show_module=$parameters['show_module']; //you can have'visible' or'hidden'
$chatspeed=$parameters['chatspeed']; //Do not change this value
$fxval=$parameters['fxval']; //Set it to false if you do not want animations
$draggable=$parameters['draggable'];
$conflict=$parameters['conflict']; //Jquery Conflicts 'true' or ''
$msgSendSpeed=$parameters['msgSendSpeed']; //Message are sent after 1 second of post, reducing it will increase FreiChatX message sending speed but also will send more requests to the server! NOTE:: Do not decrease it below 1000
$show_avatar=$parameters['show_avatar']; //Can have block or none

$debug=$parameters['debug']; //option for debugging ,default is false
$freichat_theme=$parameters['freichat_theme'];
$css=$freichat_theme; //background color
$color=$css; //colour for chatbuttons
$lang=$parameters['lang']; //Language please do not include .php here only file name

$load=$parameters['load']; //chatbox
$dyncss='disable'; //template patch
$evnixpower='visible'; //powered by evnix
$show_chatbox='';
$time=$parameters['time']; //In seconds
$GZIP_handler = $parameters['GZIP_handler'];

$JSdebug=$parameters['JSdebug']; // Javascript debug info shown in firebug (firefox extension). No quotes around true or false
$busy_timeOut=$parameters['busy_timeOut']; //In seconds user will be switched to busy status
$offline_timeOut=$parameters['offline_timeOut']; //In seconds user will be switched to offline status

/*FreiChatX plugin parameters*/
// File sending
$show_file_sending_plugin=$parameters['plugins']['file_sender']['show'];
$file_size_limit=$parameters['plugins']['file_sender']['file_size']; //In Kilobytes
$expirytime=$parameters['plugins']['file_sender']['expiry']; //In minutes after which the uploaded files will be deleted
$valid_exts=$parameters['plugins']['file_sender']['valid_exts']; //valid extensions separated by comma
$playsound = $parameters["playsound"];

//Translate
$show_translate_plugin = 'enabled';

//Chatroom plugin
$show_chatroom_plugin = 'enabled';

//Video Chat plugin
$show_videochat_plugin = 'disabled'; //Pending !!

//coversation save
$show_save_plugin = 'enabled';

$show_smiley_plugin = 'enabled';
//send conversation plugin
$show_mail_plugin = 'enabled';
$smtp_username='';
$smtp_password='';
$mailtype=$parameters["plugins"]["send_conv"]["mailtype"];
$smtp_server=$parameters["plugins"]["send_conv"]["smtp_server"];
$smtp_port=$parameters["plugins"]["send_conv"]["smtp_port"];
$smtp_protocol=$parameters["plugins"]["send_conv"]["smtp_protocol"];
$mail_from_address=$parameters["plugins"]["send_conv"]["from_address"];
$mail_from_name=$parameters["plugins"]["send_conv"]["from_name"];


/* ACL PERMISSIONS */
/* Here allow or noallow can be used to grant and prohibit permissions respectively */


$ACL = array(
'FILE' => array( /* File upload/send plugin */
'user' => 'allow',
'guest' => 'allow'
),

'TRANSLATE' => array(
'user' => 'allow',
'guest' => 'allow'
),

'SAVE' => array(
'user' => 'allow',
'guest' => 'allow'
),

'SMILEY' => array(
'user' => 'allow',
'guest' => 'allow'
),

'MAIL' => array(
'user' => 'allow',
'guest' => 'allow'
),

'VIDEOCHAT' => array(
'user' => 'noallow',
'guest' => 'noallow'
)

);


/* ACL PERMISSIONS */

/* To ensure boolean is parsed */

if($debug == "true")
{
$debug = true;
}
else
{
$debug = false;
}

//Also

if($JSdebug == "true")
{
$JSdebug = true;
}
else
{
$JSdebug = false;
}


/* Data base details */
$con='mysql';
$username='web1217';
$password='7WrTvSNe';
$client_db_name='usr_web1217_2';
$host='localhost';
$driver='Custom';
$db_prefix='testing';
$uid='4ee3a51894a42';


/* NOTE:= Below setting only applies to users using custom driver*/

//Tell FreiChatX what to use { Pure session } OR { Session and database }
/*
* Psession -> Pure sessions
* Sdatabase -> Session with database
*/

$freiuse="Psession"; //can have value as Psession or Sdatabase

/* If you are using only sessions to store User details */
//Please use only the index of session variable

//The default value in user name or user id session when user is a guest
$default_ses=null; //If you dont make any checks leave it null

$ses_username='root'; /* Username stored in session*/ //Only index value
$ses_userid='loginid'; /* Userid stored in session */ //Only index value

/* OR */

/* if you are using database table to store User details */
$usertable='login'; //specifies the name of the table in which your user information is stored.
$row_username='root'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='loginid'; //specifies the name of the field in which the user's id is stored (usually id or userid)

//Avatar
$avatar_field_name = 'avatar';
?>

3: main.php

<?php session_start();

error_reporting(-1);

require_once '../arg.php';

$zlib = false;

if($GZIP_handler == 'ON')
{
if (extension_loaded('zlib')) {
$zlib = true;
ob_start('ob_gzhandler');
}
}

//header("Content-type: text/javascript");

if (!isset($_GET['id']) || !isset($_GET['xhash'])) {
//exit;
}
//-------------------PHP includes----------------------------------------------
require '../define.php';

//require 'themeBC.php';
//-----------------------------------------------------------------------------
class X_main extends freichatXconstruct {

public function __construct() {
parent::__construct();
}

public function initiateFreiChatX() {
require_once '../server/drivers/' . $this->driver . '.php';
$this->freichat_debug("main.php loaded");

if (!isset($_SESSION[$this->uid . 'freistatus'])) {
$_SESSION[$this->uid . 'freistatus'] = 1;
}

if (!isset($_SESSION[$this->uid . 'custom_mesg'])) {
$_SESSION[$this->uid . 'custom_mesg'] = $this->frei_trans['default_status'];
}



if (isset($_SESSION[$this->uid . 'ses_id']) == false) {

$parameters = array(
"id" => strip_tags($_GET['id']),
"custom_mesg" => false,
"first" => false
);

if (!isset($_SESSION[$this->uid . 'in_room'])) {
$_SESSION[$this->uid . 'in_room'] = -1;
}

$this->connectDB();
$sessions = new $this->driver($this->db);
$sessions->uid = $this->uid;
$sessions->permanent_name = $this->permanent_name;
$sessions->permanent_id = $this->permanent_id;
$sessions->online_time = $this->online_time;
$sessions->online_time2 = $this->online_time2;
$sessions->time_string = $this->time_string;
$sessions->show_name = $this->show_name;
$sessions->usr_list_wanted = false;
$sessions->db_prefix = $this->db_prefix;
$sessions->displayname = $this->displayname;
$sessions->frei_trans = $this->frei_trans;
$sessions->debug = $this->debug;
$sessions->update_usr_info = true;
$sessions->url = $this->url;
$sessions->driver = $this->driver;
$sessions->to_freichat_path = $this->to_freichat_path;
$sessions->options = $parameters;
$sessions->row_username = $this->row_username;
$sessions->row_userid = $this->row_userid;
$sessions->usertable = $this->usertable;

$sessions->load_driver();
}
}

}

$construct = new X_main;
$construct->initiateFreiChatX();

if (isset($_SESSION)) {
$username = $_SESSION[$construct->uid . 'usr_name'];
$id = $_SESSION[$construct->uid . 'usr_ses_id'];
} else {
$construct->freichat_debug("Session Not Yet Created in client side");
}
$frei_trans[] = Array();

require '../arg.php';
require '../client/jquery/freichat_themes/defarg.php';
require '../client/jquery/freichat_themes/' . $freichat_theme . '/argument.php';
$frei_trans = $construct->inc_lang();

$url = str_replace('client/main.php', '', $url);


if(isset($_SERVER['HTTP_REFERER'])){
$referer_url = $_SERVER['HTTP_REFERER'];
}else
{
$referrer_url = $url;
}


if (strpos($referer_url, 'www.') == TRUE) {
$url = str_replace('http://', 'http://www.', $url);
}

if (strpos($url, 'www.www.') == TRUE) {
$url = str_replace('http://www.www.', 'http://www.', $url);
}

$pfromname = str_replace("'", "\'", $_SESSION[$uid . "usr_name"]);

$custom_mesg = "";


if (isset($_SESSION[$uid . "custom_mesg"])) {
if ($_SESSION[$uid . "custom_mesg"] != "" && $_SESSION[$uid . "custom_mesg"] != "i am null" && $_SESSION[$uid . "custom_mesg"] != null) {
$custom_mesg = $_SESSION[$uid . "custom_mesg"];
}
} else {
$custom_mesg = 'I am available';
}

require_once 'jquery/js/jquery.1.6.js';
require_once 'jquery/js/jquery-ui.js';
require_once 'plugins/translate/js/jquery.translate-1.3.9.min.js';
require_once 'jquery/js/combined.js'; //include SM 2_.2.97a + slick + dragx

require_once 'jsdef.js';
require_once 'plugins.js';
require_once 'freichat.js';
//require("chatroom_orig.js");
if ($construct->show_chatroom_plugin == 'enabled') {

}else{
//$jn("#dc-slick-9").hide();
}


if($GZIP_handler == 'ON')
{
if ($zlib == true) {
ob_end_flush();
}
}
?>


4. freixlog

December 10, 2011, 2:26 pm: Inserted the user with the following data :: Username = Gast-1kn7 And ID = 1323657119 Default status = I am available

December 10, 2011, 2:26 pm: main.php loaded

December 10, 2011, 2:26 pm: connected to database successfully

December 10, 2011, 2:26 pm: Wrong method defined!

December 10, 2011, 2:27 pm: main.php loaded

December 10, 2011, 2:27 pm: connected to database successfully

December 10, 2011, 2:27 pm: Wrong method defined!

December 10, 2011, 2:28 pm: main.php loaded

December 10, 2011, 2:28 pm: connected to database successfully

December 10, 2011, 2:28 pm: Wrong method defined!


The Adminpanel is working too ..

I Think my Minds are wrong but wich, where ?
The address 4 my site ( its 4 testing reasons don´t worry if it get a crash ;- ) )

http://eplay-forum.de

4 Admin ( Standardpassword )
http://www.eplay-forum.de/inc/_templates_/version1.5/freichat/administrator/index.php

login: WolF

PW: h6w5wZWUQW368GW

Thx 4 Help!

WOlF

If this here at the wrong Place .. Sry 4 that !
94
7
waleed posted Dec 8 '11 at 2:18 pm

i'm using frei-chat with elgg. one of the developers upgraded to the new version but i'm still unable to chat in arabic, hebrew, chinese languages
what should I do to make visitors chat in their own language

40
1
edrinkard posted Dec 7 '11 at 4:42 pm

I am wanting to install freichat on an elgg site, however when I click submit on the page were the database information is entered it goes to a 500 error message. Any suggestions. Also I am running cpanel on a linux server.

51
1
nadia posted Dec 1 '11 at 7:56 am

Hi there, let me first say that this is indeed a great chat program and works almost 100% (can't move chat screen from upper left), but the placement of the powered by on the chat screen is horrible. There is a blank area that has a hidden link next to the input box, and many people have hit the hidden link and get ejected from my site! I have no problem leaving the bottom link, but can you tell me how to remove the blank link?

I wan't to keep using the program but this is more hassle and has had me answering too many emails asking to move it.

I understand you want your tag on your product, but I think that is a bit overkill, and as I said, bad placement and bad taste of the hidden link.

Thanks

Can you fix the link so I can reinstall a new copy? When can we purchase a linkless version?

209
25
fravala posted Nov 29 '11 at 12:00 am

I'm using dreamweaver for my web development
but installing freichat and I use my database does not work for me
and follow your tutorial but still people did not appear online
is always asking you to log
but when I select guest if it works perfectly.
can you help me?

115
10

Hi, I'm looking for a way to move the chat room (not the chat at the bottom but the chat room on the lleft hand side) to the top-left corner of my website.
I tried to use chrome inspect element feature but all I got was:

element.style {
position: fixed;
top: -1px;
z-index: 10000;
margin-left: -554px;
}

And:

element.style {
position: absolute;
margin-right: -82px;
}

I'm guessing the code isn't in the css file but hard coded into a .php file, right? I tried to look for it but no luck so far.
Could you please point me to the the right file to edit.

Also, what if I wanted to disable the chat room feature and only keep the standard chat ath the bottom of the page?

Thank you in advance.

61
3
Kirill posted Nov 22 '11 at 4:48 pm

Hi!

When I try to create a new chat room using Cyrillic letters ("Главная комната", for example), I see the name "Главнаякомната" on backend and frontend.

How to force chatroom's setting to understand Cyrillic?

166
10

Joomla Version 1.5.8 with CB 1.3.1 installed on apache2triad with PHP Version 5.1.2 MYSQL 5.0.11-beta. Attempted install of freichat 6.0..

I didnt really want to upgrade CB. If NEEDED, i will, but does anyone have any ideas where to go from here?

url:mosthatedonline.net

69
4

hi avinash,
abhishek here..i have just installed freichat..first time and hoping a lot from it...but after install it has some problem ..due to conflict with template coding or else because it cover all the site area..i have less knowledge of programming...so plz help me what i have to do...plz
my site is heymitra.com
and you can login with username:- ram
password:- ram123

80
5
rrasociados posted Nov 21 '11 at 9:43 pm

Hi!,
How can I change the 'Chat Room' label?
I mean the one that works as button to open the chat rooms sliding window.
I've trying to find it through all the files but I can't find it.
I would like to translate it.
Regards,
Rafael

58
4

Hi,
I have installed freichatx with joomla and everything seems to work alright except that it doesn't save configuration changes.
I think I have assigned the correct permissions (777) to arg.php.
Any advice?
Thanks
Rafael

48
2

Not really sure what is going on, I decided to give freichat a new chance, and hoped that it would go fine this time.
I've installed it on my development site, to make sure that it doesn't conflict with anything.
After publicicing the module, it just shows a big white box on the left part of the site.
It also shows the status window correctly at the bottom, but it can't do anything, as what I suspect is the chat window is just a big white box (it starts outside the left edge).

If you want to have a look, the development site is at devel.dkdb.dk

Best regards

104
1
ritotombe posted Nov 20 '11 at 7:40 am

I've installed it on joomla 1.7.2
the chatroom doesn't seems right and the "powered by eNvix" show up all the time can you helpme fix it?
my site is yourswrites.com, to see the problem please register first..
I can't upload image to this forum.
Please help me

98
3
waleed posted Nov 20 '11 at 12:59 am

according to the readme.txt:

Note anyone wanting cyrillic characters or having issues with languages in chat must disable wordwrap.
One can do that by going to
~/freichat/server/freichat.php
Search and comment the following line:
$message=mywordwrap($message);
It should look this way:
//$message=mywordwrap($message);

but I searched ~/freichat/server/freichat.php and could not find
$message=mywordwrap($message);

the chat is working just fine but when i chat with others in arabic, hebrew or chinese and some other languages i only see ???

87
5
bpvarsity posted Nov 18 '11 at 10:26 pm

I would really like to see in futures updates a time stamp in the chat room and user chat. Think that it would be very usefull

42
1
danaos posted Nov 18 '11 at 6:20 pm

Hello,
I tried to install Freichat in my joomla 1.5 website through the Install/unistall process and I got the following error:
Error! Could not find an XML setup file in the package.
Could you please help?
Also let me know if there is Greek language for it.
Thanks in advance

83
5
Μichel posted Nov 17 '11 at 6:32 pm

Hello all :)
Thanks for your great script. I was wondering if you could help me on something. I have installed it and tested it without any problem on my test site on Joomla 1.7. But I have a few questions:

My problem is that the Chatroom tab (frei_tab) is placed too high on my page and is partially going on my site logo, which doesn't look nice. I would like to lower it (about 100 pixels) so it doesn't fall on the logo. Could you tell me how to do it? my test site is: http://test.studiozip.com/site4/en/

Also, my site is multilanguage (english and greek). If I translate the language file in greek (which I will gladly send you after), will it be possible to assign different languages on site?

Finally, as other users, I have the same issue with the "powered by EvNix" at the bottom. Actually it would not bother me if it was appearing only upon opening the box. It's only bothering me as it shows at all times. Is it possible to fix this by making it appear only when opening the box? If not, I will wait for your subscription option when available.

Thanks again and sorry for my poor english :)

54
0
admin posted Nov 15 '11 at 4:36 pm

we have started working on a new project code named Sagittarius A*.

It is exclusively being built for Joomla CB(E). (will be ported to others later)

The program is supposed to be released on 1/1/2012 :)

Don't ask us what it is, It is a surprise that will blow your mind.

You can follow all the updates regarding this project from twitter and G+.


here is the proposed project logo,
Sagittarius A* project

173
5

After I change the path to "/" where elgg is installed I keep getting the following error:

Warning: require_once(/) [function.require-once]: failed to open stream: Inappropriate ioctl for device in /home/content/03/8489603/html/mod/chat/vendors/freichat/installation/params.php on line 181

Fatal error: require_once() [function.require]: Failed opening required '/' (include_path='.:/usr/local/php5/lib/php') in /home/content/03/8489603/html/mod/chat/vendors/freichat/installation/params.php on line 181

76
5
DirtNo posted Nov 14 '11 at 9:55 am

1) Is it possible the status message on the status of Freichatx message from CBE to change?

freichatx sql - DBprefix - frei_session-->$status_mesg to
cbe sql - DBprefix - _cbe --> $statusmsg

2) Is it possible to let the messenger right view and left the chatroom Hide?


Thx

77
3

I'm getting this error in Firebug after installing the latest Freichatx.
Joomla 1.5, CB 1.7
installation steps taken
1)Backup Theme
2)Delete Freichat Directory
3)Upload zip file and unarchived
4)Installed Freichat, modified parameters
5)Disabled Freichat Joomla module
6)uninstalled Freichat Joomla module
7)Installed new Freichat Joomla module
8)Enabled new Freichat Joomla Module
9)Uploaded theme archive

Any ideas?
BTW, I went in and commented that line out, and then I got this error:
FreiChat.init_chatrooms is not a function

Line 1614
Sounds like there is something missing here...

Categories
Actions
Hide topic messages
Enable infinite scrolling
All posts under this topic will be deleted ?
Previous
Next
With selected deselect topics
Pending draft ... Click to resume editing
Discard draft