FreiChat related discussions

Got any problems? Then this is the best place for all your questions regarding FreiChat

176
10
Major posted May 16 '13 at 3:14 pm

I think it is easier to link you to the problem I have posted on the Microsoft website.

http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/7a767613-418f-447d-975c-63645a0636b2

I am working on a Visual Basic project, and upon using the "webbrowser1" window in Visual basic, I get the displayed error on that link above.

Can you provide a work around or a way to alter your script so the page loads in a VB web browser window?

92
3
Major posted May 15 '13 at 2:16 pm

Why in: http://codologic.com/page/user/ download area it says that it expires in 6 months?

Second question: Is there a file I can call so that I can just bring up the chat box on the bottom right without my actual websites pages?

107
2

chrome show this error in console: Uncaught TypeError: Object #<xmlhttprequest> has no method 'complete'
anybody can help me please? thz.

my instalation is custom. Idont use CMS, and the control panel working ok.

error en chrome.
https://lh5.googleusercontent.com/-Og5fLcIhAZ8/UZJXCNaePsI/AAAAAAAAADw/T5ImXpxze6I/w1062-h664-no/shot00.png

thz for all.
</xmlhttprequest>

148
8

What I am trying to do is have the chat room open for the public and members but only let the members use private chat. I have unchecked the box to disable private chat for public but when i do it takes it away from the members as well.
What am I missing?

FreiChat v7 Joomla 2.5

179
9

Followed your instructions.

1. Integrating with Joomla

2. Tells me 'Everything Seems Alright!'

3. ERROR shows up when clicking PROCEED when choosing a password

4. At the Joomla DB screen during setup, I get the error again. All information is loaded. Cannot get past this point.

Standard Joomla 3.0 working setup with MySQL.

170
9

Installed freichat according to documentation, backoffice works like a charm but front is NOT visible. I am using k2 template with jquery so turned remove jquery conflicts to yes.
Can anyone help me?
Log says:
May 10, 2013, 4:49 am: main.php loaded

May 10, 2013, 4:49 am: Inserted the user with the following data :: Username = Guest-1l6 And ID = 1368371066 Default status = I am available

May 10, 2013, 4:51 am: main.php loaded

May 10, 2013, 4:51 am: Inserted the user with the following data :: Username = Guest-1l6 And ID = 1368371066 Default status = I am available

May 10, 2013, 4:55 am: main.php loaded

May 10, 2013, 4:55 am: Inserted the user with the following data :: Username = Guest-1io And ID = 1368678040 Default status = I am available

So it is there, now a way to get it visible and i will be a happy player :-D

111
4
nated1992 posted May 9 '13 at 5:59 pm

So basicly i have a custom php site,

Followed the steps of the intergration tutorial

All users stay as guest after loging in


Login Page

<?php // *******************************
// accesscontrol.php
//
// Login control for site
// *******************************

session_cache_expire( 360 );
if( session_id() == "" ) session_start();

include 'common.php';
include 'db.php';
include 'globals.inc.php';

if( !isset($_SESSION['UID']) & $_POST['username'] == "") {
?><!--==========================FreiChatX===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=$_SESSION['UID'];

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

if(is_file("/home/buncombe/public_html/freichat/hardcode.php")){

require "/home/buncombe/public_html/freichat/hardcode.php";

$temp_id = $ses . $uid;

return md5($temp_id);

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

return 0;
}
}
?>
<script type="text/javascript" language="javascipt" src="http://buncombenotifier.us/freichat/client/main.php?id=<?php%20echo%20%24ses;?>&xhash=<?php%20echo%20freichatx_get_hash(%24ses);%20?>">
</script><link rel="stylesheet" href="http://buncombenotifier.us/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"><!--===========================FreiChatX====END=========================--><title><?php echo $global_title; ?></title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><h1 align="center">Login Required</h1>
<p align="center">You must log in to access this area of the site.</p>
<p>
</p><form method="post" action="<?%20echo%20%24_SERVER%5B'PHP_SELF'%5D?>">
<table align="center"><tr><td align="right">User ID:</td>
<td><input type="text" name="username" size="8"></td>
</tr><tr><td align="right">Password:</td>
<td><input type="password" name="password" size="8"></td>
</tr><tr><td></td>
<td><input type="submit" value=" Log in "></td>
</tr></table></form>




<?php exit;
}

if( !isset($_SESSION['UID']) ) {
$_SESSION['UID'] = $_POST['username'];
$_SESSION['PWD'] = $_POST['password'];
$uid = $_SESSION['UID'];
$pwd = $_SESSION['PWD'];
} else {
$uid = $_SESSION['UID'];
$pwd = $_SESSION['PWD'];
}

dbConnect( $global_dbdata );

$sql = "select * from tblCADUser where cadUsername = '$uid' and cadPassword = md5('$pwd')";

$result = mysql_query($sql);
if (!$result) {
error("A database error occurred while checking your login details. If this error persists, please contact your administrator .");
}

if (mysql_num_rows($result) == 0) {
unset($_SESSION['UID']);
unset($_SESSION['PWD']);
?><title>
<?php echo $global_title; ?> - Access Denied</title>

Access Denied


Your user ID or password is incorrect, or you are not a registered user on this site. To try logging in again, click
here.




<?php exit;
}

$data = mysql_fetch_object($result);

$username = $data->cadUsername;
$accessLevel = $data->cadAccessLevel;
$_SESSION['id']= $data->id;

?>

Index Page

<?php // *******************************
// index.php
//
// Main index
// *******************************

include 'functions.php';
include 'accesscontrol.php';
include_once 'globals.inc.php';
include_once 'common.php';

if (!isset($_GET['class'])) $class = "";
else $class = $_GET['class'];

if (!isset($_GET['function'])) $function = "";
else $function = $_GET['function'];

?><!--==========================FreiChatX===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=$_SESSION['UID'];

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

if(is_file("/home/buncombe/public_html/freichat/hardcode.php")){

require "/home/buncombe/public_html/freichat/hardcode.php";

$temp_id = $ses . $uid;

return md5($temp_id);

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

return 0;
}
}
?>
<script type="text/javascript" language="javascipt" src="http://buncombenotifier.us/freichat/client/main.php?id=<?php%20echo%20%24ses;?>&xhash=<?php%20echo%20freichatx_get_hash(%24ses);%20?>">
</script><link rel="stylesheet" href="http://buncombenotifier.us/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css"><!--===========================FreiChatX====END=========================--><title><?php if( $class == "calls" & $function == "manage" && isset($_GET['id']) ) {
include_once 'dbaccess.inc.php';
include_once 'error_process.inc.php';

$id = $_GET['id'];

echo "$global_title - ";

$sql = "select * from tblCallUnits join tblUnit on (tblCallUnits.callUnitsAssigned = tblUnit.unitID) where callUnitsCall = $id ";
$sql .= "and callUnitsActive = 1";

$result = mysql_query( $sql, $db );
if( !$result ) error_process( $db );

for( $x = 0; $x < mysql_num_rows( $result ); $x++ ) {
$data = mysql_fetch_object( $result );
echo "$data->unitCallSign ";
}
} else {
echo $global_title;
}

?>
</title><link rel="StyleSheet" href="dtree.css" type="text/css"><script type="text/javascript" src="dtree.js"></script><table align="center" cellspacing="3" width="100%"><tr><td width="20%" align="center">
<a href="index.php"><?php //<img src="img/logo.jpg" alt="Logo" border=0>?></a>
</td>
<td width="80%">
<h1 align="center"><?php echo $global_title; ?> Administration</h1>
</td>
</tr><tr><td width="20%" valign="top">
<?php include 'menu.inc.php'; ?></td>
<td width="80%" valign="top">
<?php if( $class == "inquiry" & $accessLevel >= 0 ) include 'inquiry.php';
if( $class == "calls" && $accessLevel >= 1 ) include 'calls.php';
if( $class == "address" && $accessLevel >= 2 ) include 'address.php';
if( $class == "reports" && $accessLevel >= 2 ) include 'reports.php';
if( $class == "system" && $accessLevel >= 3 ) include 'system.php';
if( $class == "logout" && $accessLevel >= 0 ) include 'logout.php';
?>
</td>
</tr></table><?php echo $_SESSION['id'] ?>


Any ideas
Thanks in advanced
!!!!
99
1
oss posted Apr 26 '13 at 7:17 pm

when I go into the control panel of the new freichat 8.4 I get this:


Fatal error: require() [function.require]: Failed opening required 'admin_files/default/index.php' (include_path='.:') in /freichat/administrator/admin.php on line 225

209
12
zordak posted Apr 25 '13 at 12:09 am

Hi i installed the freichat free version on smf 1.

Im using tinyportal, so i installed the copy&paste code in my index.template.php of my theme.

Bar and chat appear.

The problem is that allways show no one is online.This is my added code in index.template.php

if ($context['user']['is_logged']){
$ses = $context['user']['id'];
}else{
$ses = null;
}

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

if(is_file("/home/clankick/clankick.com/freichat/hardcode.php")){

require "/home/clankick/clankick.com/freichat/hardcode.php";

$temp_id = $ses . $uid;

return md5($temp_id);

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

return 0;
}
}

echo' <script type="text/javascript" language="javascipt" src="http://www.clankick.com/freichat/client/main.php?id=',%24ses,'&xhash=',freichatx_get_hash(%24ses),'"></script><link rel="stylesheet" href="http://www.clankick.com/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">';


In hardcode.php

/* Custom driver */
$usertable='members'; //specifies the name of the table in which your user information is stored.
$row_username='posterName'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='ID_MEMBER'; //specifies the name of the field in which the user's id is stored (usually id or userid)
$avatar_field_name = 'avatar';


In database details i added the correct values.



I dont see any users online.If im the only user logged, it said no one online, if i logged with same user in another browser a guest appear, if im logged and another user log, another guest user appear.With same user loged in both browser if a say something in chat a chat pop up in the other browser and can speak with me.

Help me fixing that :D
118
5

Hi

I want divide CHAT for Joomla Users of GREEN group and BLUE group

Example: When GREEN group is logged in, they can't chat with BLUE group and vice versa.

I know that need modify code in freichat, but I don't know how.... Can you help me in this?

Thank You very very much :))

126
3
mattmilk posted Apr 22 '13 at 1:38 pm

Hello, i am using a component so that users can sign in with their facebook account, their details are then saved to a different database. Is it posible to edit freichat so it reads users from that database rather than the current joomla users table used now. & if so, how?
Thanks in advance for any advice

104
1

Hi,
i just installed your freichat and it is awesome!!
I dont see it on my jomsocial and i tried to install mod_freicat_v7 but i keep getting msg XML not found. I also tried to install mod_freichat.zip (older version) and i do see one small box but it is not working.
Can you please tell me how to install right freichat version for jomsocial.
Thanks
Regards,
Ana

126
3
add1ct222 posted Apr 20 '13 at 2:28 pm

Good day people,

I have an issue with Freichat on my website. I am actually testing it because I'm considering buying the product, but I can't seem to get it to work.
I have seen the past topics about this, the solution is not there.
So here is the issue.
I followed the video instructions, but it's just showing FREICHAT title. There is no chat.
It's in the website source because I searched for the word "freichat".

www.microdeck.com

Please advise how to solve this matter.

186
3
Smokey posted Apr 20 '13 at 9:39 am

I am trying to do a custom install for my game site but i keep getting this "hardcode.php not found" error printed at the top of the screen and I simply cannot figure out the issue. I've changed permission for all files in the freichat folder (which is in my root directory) to 755 but no luck. I placed the code in my header.php, I would appreciate any help I could get. I know this is a free version I'm trying to install and I wouldnt mind buying the full version if I knew for sure I would get the help needed to install it properly since it would be a custom install. BTW this is on a subdomain called playground which is my test server in case its important.

<?php class headers {
function startheaders() {
global $ir, $set;

echo <<<EOF

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<script src="js/jquery-1.7.2.min.js"></script><script src="js/lightbox.js"></script><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>{$set['game_name']} - Get Your Game On! </title>
<meta name="keywords" content="RPG, Online Mafia Game, Online Crime Game, Criminal Game">
<meta name="description" content=" {$set['game_name']} - Online Mafia Game ">
<meta name="author" content="Mayhem Productions">
<meta name="copyright" content="Copyright {$_SERVER['HTTP_HOST']} ">
<link type="text/css" rel="stylesheet" href="/style/style.css">
<link rel="SHORTCUT ICON" href="favicon.ico">
<link href="css/lightbox.css" rel="stylesheet">
<!--===========================FreiChatX=======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=$userid;

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

if(is_file("/home1/darkmayh/public_html/playground/freichat/hardcode.php")){

require "/home1/darkmayh/public_html/playground/freichat/hardcode.php";

$temp_id = $ses . $uid;

return md5($temp_id);

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

return 0;
}
}
?>
<script type="text/javascript" language="javascipt" src="freichat/client/main.php?id=&lt;?php%20echo%20%24ses;?&gt;&amp;xhash=&lt;?php%20echo%20freichatx_get_hash(%24ses);%20?&gt;"></script><link rel="stylesheet" href="freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">
<!--===========================FreiChatX=======END=========================-->
89
1
Ashir posted Apr 20 '13 at 8:49 am

Hi, Is possible to install Freichat without pdo and pdo-mysql?

I'm in a shared host server and to access those functions I will have to upgrade my account to a dedicated or VPS plan...

114
1
oss posted Apr 19 '13 at 10:54 am

hello, I can not add new smilies, it gives me a 403 error how can I do?

1.31k
6.08k
20
Actions
Hide topic messages
Enable infinite scrolling
Previous
Next
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft