FreiChat related discussions

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

135
5
cliffvt posted Jul 25 '11 at 10:56 am

Hello

I have been using Freichat 3.5.0 and COmmunity Builder on Joomla 1.5.22 for about 6 months now and after my previous host suspended us for using too much bandwidth in March this year even though we never had more than 4 or 5 users logged on, we moved to another host who promised "unlimited bandwidth"

Yesterday we were asked to remove Freichat from our website by our host as it was responsible for over 85% of their server load in busy periods.

After investigation it seems that Freichat was making thousands of database connections in parallel constantly causing huge server loads even if no one was on the site chatting. Something to do with the way you make the connection which keeps each connection open and opens a new one every time.

My question is whether the latest version of Freichat does things differently, for example using Ajax? Or will I have the same problem.

Looking forward to some pointers here, please.

Cheers

Cliff

57
5
Bordo posted Jul 25 '11 at 9:40 am

Hi,
i've been using the older versions of freichatx the 5.1 alpha for a few months but when i saw you realease a fix for the multiple chat windows problem i decided to update to the newer version.

I use Joomla 1.6.5 and Jomsocial 2.2.3, the problem is that now the chat shows no users online like in this screen:

http://img819.imageshack.us/img819/5796/unled1fl.jpg

i dunno if i made any mistake but i think i did everything correctly

i've insalled freichat in joomla directory and it only shows buddies fro m the jomsocial, also the debug seems to say that everything is working good..

July 25, 2011, 10:27 am: connected to database successfully

July 25, 2011, 10:27 am: main.php loaded

July 25, 2011, 10:27 am: connected to database successfully

July 25, 2011, 10:27 am: Inserted the user with the following data :: Username = Bordo And ID = 43 Default status = I am available

July 25, 2011, 10:27 am: main.php loaded

July 25, 2011, 10:27 am: connected to database successfully

July 25, 2011, 10:27 am: main.php loaded

July 25, 2011, 10:27 am: connected to database successfully



should i go back to my old version and wait for the 6.0?

47
2

Hello I have recently tested Freichat in my webpage but I wanted to know if its possible to make it work like a customer service... I mean Only the admin can see all other connected users but the users can only see the admin.

If its possible then how could it be done?, I checked on all the options but I coulnt find anything that could help me with this.

46
4

I'm new to Joomla

I installed Joomla 1.6.5 on localhost Wampserver. I have installed CB 1.4 in my Joomla 1.6.5

JCB installed folder => C:\wamp\www\tmp\freichat\installation

However i cannot proceed with below error:

File Permissions
arg.php is writable

configuration.php is not readable

Question:

1. Where is the configuration.php?
2. How to make the configuration.php writabe?

48
3
cslane posted Jul 20 '11 at 8:49 pm

Thanks ahead of time for your assistance.

I installed this version fresh, selecting Community Builder driver since I have CB at my site (www.nostalgiabaseball.com).

I cannot get the module to appear on any of my pages, no matter what position I assign. Checking for errors in the log file turned up nothing so I checked in Chrome and found no erorrs.

So, I'm suspecting that either I do not have the right version installed (should I have installed v3.5 for CB?) or perhaps my template (Gantry system) is a problem?

You will probably notice something right away with your diagnostic skills. Help would be appreciated at this point. I sent also an email.



63
2

Could you kindly let me know how can i edit the statement "No one is online" which gets displayed in the chat window.

I searched for it in few files but couldnt find it. Pls point me to the file which contains that.


Thanks
Srikanta

51
5
NandoBR posted Jul 19 '11 at 3:14 am

Hi,

I installed FreiChatX 5.2.1 3 days ago.
Since I installed it, I'm facing two problems:

1. FreiChatX doesn't show Jomsocial's Avatar
2. Even the users being online, FreiChatX shows no one online.

Can somebody help me?

Thanks in advance
Fernando

105
8
socialnet posted Jul 18 '11 at 11:49 pm

Hello there!
I have a small problem with freichat 3.5 for cb. When receiving messages, the scroll bar moves up and therefore all new messages are hidden. I have to manually move the scroll bar down everytime I receive a message. I was wondering if you knew what could be the cause?

Thanks for your help!

101
4

Hello,
I am very interested about this component but this component isn't work in my site. I have followed all the steps carefully but after install it I don't see any chat box in my main page. I also download the module. My site address is this. Please help me. Thanks

54
3
searls03 posted Jul 16 '11 at 7:04 pm

how do you make new users that are able to login/ able to chat? I can only figure out how to login admin. please help.

63
1
fatmanmedia posted Jul 15 '11 at 11:53 pm

hi,

i would like to know which section in the CSS file do i need to edit to change the background of the text entry box in 5.2.1 to another colour as it stands users are faced with a white text entry box and white text or if it's possible to chance the entry text to say black what ever is eiser, the template i'm working with is based off pattern_blue.

Thanks to the developers for one of the best one on one chat systems for Joomla sites.

Fats

45
1
dallas147 posted Jul 11 '11 at 3:03 am

Hello

No window is opening to chat.

Error message in Administration.

Parse error: syntax error, unexpected '{' in /home/******/public_html/freichat/server/admin_files/home/index.php on line 1

http://www.capriconvertible.com/

Any ideas would be great.

Cheers
Dallas

88
3

Hi All

I've installed the Chat on a IPB 3.2
Everything is ok but now I have got a Parse Error:

"Parse error: syntax error, unexpected '{' in /hp/bd/ab/sr/www/platform/freichat/server/admin_files/home/index.php on line 1"

That is line 1 in the index.php:

_________________________________________________________________


<?phpif (!isset($_SESSION['phplogin'])    || $_SESSION['phplogin'] !== true) {    header('Location: ../administrator/index.php'); //Replace that if login.php is somewhere else    exit;}require "../arg.php";/********************************************************************************************/class param{    public function __construct()    {      require("../arg.php");      $this->argpath="../arg.php";      $this->configpath = "../config.dat";      $this->themepath='../client/jquery/freichat_themes/';      $this->langpath='../lang/';      $this->themeray=$this->langray=array();      $this->driver=$driver;    }//--------------------------------------------------------------------------------------------    public function create_file()    {          //$handle = fopen($this->configpath,'w');//var_dump($_POST);		$parameters=unserialize(file_get_contents($this->configpath));		$parameters["show_name"]=$_POST['show_name'];		if($this->driver=="JCB" || $this->driver=="CBE" || $this->driver=="JSocial")		{			$parameters["displayname"]=$_POST['displayname'];		}		$parameters["show_module"]="visible";		$parameters["chatspeed"]=$_POST['chatspeed'];		$parameters["fxval"]=$_POST['fxval'];		$parameters["draggable"]=$_POST['draggable'];		$parameters["conflict"]=$_POST['conflict'];		$parameters["msgSendSpeed"]=$_POST['msgSendSpeed'];		$parameters["show_avatar"]=$_POST['show_avatar'];		$parameters["debug"]=$_POST['debug'];		$parameters["freichat_theme"]=$_POST['freichat_theme'];		$parameters["lang"]=$_POST['lang'];		$parameters["load"]=$_POST['load'];		$parameters["time"]=$_POST['time'];		$parameters["JSdebug"]=$_POST['JSdebug'];		$parameters["busy_timeOut"]=$_POST['busy_timeOut'];		$parameters["offline_timeOut"]=$_POST['offline_timeOut'];                file_put_contents($this->configpath,serialize($parameters));		/**/    }//--------------------------------------------------------------------------------------------    public function default_param($name,$given_value)    {        //require $this->configpath;		$parameters=unserialize(file_get_contents($this->configpath));//echo $parameters[$name] ." == ". $given_value."<br/>";        if($parameters[$name] == $given_value)        {            echo "selected";        }        else        {           // echo 'selected';        }    }    public function default_value($name,$dim=1)    {        //require $this->configpath;		$parameters=unserialize(file_get_contents($this->configpath));        if($dim == 1)        {            return $parameters[$name];        }        else if($dim == 2)        {            return $parameters[$name[0]][$name[1]];        }        else if($dim == 3)        {            return $parameters[$name[0]][$name[1]][$name[2]];        }        else        {            echo "Out of bounds!";        }    }//--------------------------------------------------------------------------------------------}/********************************************************************************************///require_once 'admin_files/paramclass.php';$param = new param();if(isset($_POST['draggable'])==true){    $param->create_file();}?><form name="params" action='<?php $_SERVER['PHP_SELF']; ?>' method="POST"><input id="paramsubmit1" type="submit" value="SUBMIT"><br/><br/><div class="parameters"><div id="tabs">	<ul>		<li><a href="#client">Client side parameters</a></li>		<li><a href="#server">Server side parameters</a></li>                <!--<li><a href="#added">Plugins parameters</a></li>-->                <li><a href="#account">Additional parameters</a></li>	</ul>    <!-- First TAB -->	<div id="client">        <ol id ="parametejrs" style="list-style-type: upper-roman;">        <li>            <p>Show Guests or Resgistered Users</p><br/>            <select name="show_name">             <option value="guest"<?php $param->default_param("show_name","guest"); ?>>Guests</option>             <option value="user"<?php $param->default_param("show_name","user"); ?>>Users</option>             <?php if($driver=="JCB" || $driver=="CBE" || $driver=="JSocial")             {               echo '<option value='."buddy "; $param->default_param("show_name","buddy");  echo">Buddies</option>";             }             ?>            </select>              <br/><br/><hr/>        </li>        <li>            <p>Show Avatar</p><br/>            <select name="show_avatar">            <option value="block"<?php $param->default_param("show_avatar","block"); ?>>Yes</option>            <option value="none"<?php $param->default_param("show_avatar","none"); ?>>No</option>            </select>            <br/><br/><hr/>        </li>        <?php if($driver=="JCB" || $driver=="CBE" || $driver=="JSocial" || $driver=="Joomla")        {         echo '<li><p>Show Username or Nickname(name)</p><br/><select name="displayname">';         echo '<option value='."username "; $param->default_param("displayname","username");  echo">username</option>";         echo '<option value='."name "; $param->default_param("displayname","name");  echo">nickname</option>";         echo '</select><br/><br/><hr/></li>';        }        ?>        <li>            <p>Select a theme for the chat</p><br/>            <select name="freichat_theme">            <?php            if ($handle = opendir('../client/jquery/freichat_themes/')) {                while (false !== ($file = readdir($handle))) {                    if ($file != "." && $file != ".." && $file!='.svn' && is_dir('../client/jquery/freichat_themes/'.$file)) {                        echo '<option value='."$file "; $param->default_param("freichat_theme",$file);  echo">$file</option>";                    }                }                closedir($handle);            }            else            {                    echo 'directory open failed';                    }            ?>            </select>            <br/><br/><hr/>        </li>        <li>            <p>Draggable chatwindows feature should be </p>            <select name="draggable">            <option value="enable"<?php $param->default_param("draggable","enable"); ?>>Enabled</option>            <option value="disable"<?php $param->default_param("draggable","disable"); ?>>Disabled</option>            </select>            <br/><br/><hr/>        </li>        <li>             <p>ChatBox on load should be</p>            <select name="load">            <option value="show"<?php $param->default_param("load","show"); ?>>Maximized</option>            <option value="hide"<?php $param->default_param("load","hide"); ?>>Minimized</option>            </select><br/><br/><hr/>        </li>        <li>            <p>Remove Jquery Conflicts <span onmousedown="helpme1()"><img src="<?php echo '../client/jquery/img/about.jpeg' ?>" alt="About"/></a></span></p>            <select name="conflict">            <option value="true"<?php $param->default_param("conflict","true"); ?>>Yes</option>            <option value=""<?php $param->default_param("conflict",""); ?>>No</option>            </select><br/><br/>        </li>        <li>            <p>Show Jquery Animations</p><br/>            <select name="fxval">            <option value="true"<?php $param->default_param("fxval","true"); ?>>Yes</option>            <option value="false"<?php $param->default_param("fxval","false"); ?>>No</option>            </select>            <br/><br/>        </li>        </ol>	</div>    <!-- Second TAB -->	<div id="server">            <ol  style="list-style-type: upper-roman;">        <li>            <p>Save Message History For</p><br/>            <select name="time">            <option value="600"<?php $param->default_param("time","600"); ?>>10 Minutes</option>            <option value="3600"<?php $param->default_param("time","3600"); ?>>1 Hour</option>            <option value="36000"<?php $param->default_param("time","36000"); ?>>10 Hours</option>            <option value="86400"<?php $param->default_param("time","86400"); ?>>1 Day</option>            </select>            <br/><br/><hr/>        </li>        <li>            <p>Change Chat Speed to</p><br/>            <select name="chatspeed">            <option value="7000"<?php $param->default_param("chatspeed","7000"); ?>>Slow</option>            <option value="5000"<?php $param->default_param("chatspeed","5000"); ?>>Normal</option>            <option value="3000"<?php $param->default_param("chatspeed","3000"); ?>>Fast</option>            <option value="1000"<?php $param->default_param("chatspeed","1000"); ?>>SuperFast</option>            </select><br/><br/>            Note:<br/>            1. Normal speed recommended for users using free webhosting service.<br/>            2. Fast speed can be used by users using any paid webhosting service.<br/>            3. SuperFast speed should be used by users at their own risk and needs.<br/>            <br/><br/><hr/>        </li>        <li>            <p>Choose any Language</p><br/>            <select name="lang">            <?php            if ($handle = opendir('../lang/')) {                while (false !== ($file = readdir($handle))) {                    if ($file != "." && $file != ".." && $file!='.svn') {                        $file_name=str_replace(".php", "", $file);                        echo '<option value='."$file_name "; $param->default_param("lang",$file_name);  echo">$file_name</option>";                    }                }                closedir($handle);            }            else            {              echo 'directory open failed';            }            ?>            </select>        </li>        <li><hr/>            <p>Time interval between messages</p><br/>            <select name="msgSendSpeed">            <option value="500"<?php $param->default_param("msgSendSpeed","500"); ?>>0.5 second</option>            <option value="1000"<?php $param->default_param("msgSendSpeed","1000"); ?>>1 seconds</option>            <option value="1500"<?php $param->default_param("msgSendSpeed","1500"); ?>>1.5 seconds</option>            <option value="2000"<?php $param->default_param("msgSendSpeed","2000"); ?>>2 seconds</option>            </select><br/><br/>            Note:<br/>            1. This is the time FreiChatX will wait between two requests (messages sent)<br/>            2. Increase the time interval if you want to reduce server resource usage<br/>            3. 1 second is the default time interval.Do not reduce it further if you <br/>dont               know what you are doing.<br/>            <br/><br/><hr/>        </li>        </ol>	</div>    <!-- Third TAB -->    <!-- Fourth TAB -->    <div id ="account">        <ol style="list-style-type: upper-roman;">         <!--<li>            Change FreiChatX administrator password<br/><br/>            A . Enter your old password<br/>            <input type="password" name="adminpassold1"/>            <br/>            B . Enter your old password again<br/>            <input type="password" name="adminpassold2"/>            <br/>            <br/>            C. Enter your new password <br/>            <input type ="password" name="adminpassnew"/>        </li>-->        <li>            Busy time out<br/><br/>              User status will be changed to busy after <br/>              <input name="busy_timeOut" value="<?php echo $param->default_value('busy_timeOut'); ?>" type="text"> seconds              <br/><br/><hr/>        </li>        <li>            Offline time out<br/><br/>              User status will be changed to offline after <br/>              <input name="offline_timeOut" value="<?php echo $param->default_value('offline_timeOut'); ?>" type="text"> seconds              <br/><br/><hr/>        </li>        <li>            <p>PHP debugging</p><br/>            <select name="debug">            <option value="true"<?php $param->default_param("debug","true"); ?>>Yes</option>            <option value="false"<?php $param->default_param("debug","false"); ?>>No</option>            </select>            <br/><br/>        </li>        <li>            <p>JavaScript debugging</p><br/>            <select name="JSdebug">            <option value="true"<?php $param->default_param("JSdebug","true"); ?>>Yes</option>            <option value="false"<?php $param->default_param("JSdebug","false"); ?>>No</option>            </select>            <br/><br/>        </li>        </ol>    </div></div></div><br/><input id="paramsubmit2" type="submit" value="SUBMIT"></form>


_____________________________________________________________

I've opened the index.php with notepad++ The complete code above is in "line 1" ?!? The unexpected '{' is a open tag or ? I know a bit html but not to much about php.

So whats to do ? How to solf that erreor? Hope someone can help me.

Best regards from Germany and sorry for my bad english stammering, hope You understand what I mean?

Andy
65
3

Sometimes people do not need to answer to new messages. They just read them, and after that they want to mark messages as "Read".
But on my installation the New Message notification is blinking in Firefox and Chrome forever, unless it's answered. Then this little "loop" returns to the original sender.
Shouldn't this be corrected somehow?
Thank you.

Little edit: What if you write the "if" in your script, that checks, let's say, if the user's mouse was over the new message, or something like that, and then the new message notification disappears?

52
2

I'm Use:

JoomlaSpanishServer and Uniform Server RC3
Joomla 1.5.23
FreiChatX.5.2.Beta

My root on localhost
http://localhost/vestatv/

When the installer is in step4: Configuration Details, i'd introduced all the information but the installer went to a blank page,

I'd checked some post in the forum and the PHP has PDO, I've installed the module mod_freichatx-i before summit the form (step 4)

What I'm doing wrong?

Thanks

40
1
xGhos7 posted Jul 8 '11 at 12:45 am

Hi
I installed the chat and the form, but it gives me an error in the administration:

Parse error: syntax error, unexpected '{' in /web/htdocs/www.namesite.it/home/freichat/server/admin_files/home/index.php on line 1

What should I do?

PS: sorry for my English

47
1

Let me cite myself from a few minutes before:

"4. How can I, as an owner of a website, be sure, that some stupid pedophiles, terrorists, or, even better, CIA, or FBI are not using my Freichat installation to conduct their disgusting activities? Where is the control panel for moderation? Banning? Assigning moderators -by my criteria - may be by countries, or, even better - by languages used?"

I think this issue is VERY important. Just imaging 2 (or 1000) guys decided to register on any of my websites, and then discuss their plans and actions in a total privacy. Exchange drafts and photos, exact locations and executors...

I'm not in a hide myself, if you remember how I exposed user names and passwords to test my previous website - but I know the realities.

Oh... And in this case - I do not give a ********** and ********* (guess the words) about 1st amendment in US, and freedom of speech in Belorussia - it's their problem ) I have the only freedom - to be silent, and to enjoy silence - and I follow it. Sorry for non related thought in this technical forum :) Just came home, very tired, you know...
Thank you.

My own edit: this question is here, because to my understanding from now on Freichat is not dependent on Joomla or any other CMS installation anymore. Am I right? So the only way to deal with users - is from CMS backend. But how do I know WHAT my users are doing in that chat - what if tomorrow a bomb explodes somewhere in Afghanistan (and I'm pretty sure -it will), and they discussed it on my website a day before in their tribal coded narrative, hardly understandable by any regular Pushtu speaker not used to everyday combat situations and radio codes? (Sorry again - my son does play Call of Duty :)

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