General discussion
is possible freichat for vbulletin

Yes, it is possible.

You have to select the 'custom' driver during installation.

Yes, it is possible. You have to select the 'custom' driver during installation.

chat installated driver custom
ok

in index.php
error message

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

solution ???

chat installated driver custom ok in index.php error message alert('module freichatx says: hardcode.php file not found!');"; } return 0; } } ?> solution ???

error message

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

solved

Getting list of online users ??????

error message alert('module freichatx says: hardcode.php file not found!'smile;"; } return 0; } } ?> solved Getting list of online users ??????

manage acl config

Guest Access x
User Access x

chat ok visible

manage acl config

Guest Access
User Access x

chat no ok chat invisible

????

manage acl config Guest Access x User Access x chat ok visible manage acl config Guest Access User Access x chat no ok chat invisible ????

section Access Control
Moderation
error

Fatal error: Call to a member function fetchAll() on a non-object in /membri/sweteam/freichat/administrator/admin_files/moderate_users/drivers/base.php on line 130

section Access Control Moderation error Fatal error: Call to a member function fetchAll() on a non-object in /membri/sweteam/freichat/administrator/admin_files/moderate_users/drivers/base.php on line 130

Hi,

Did you rename the 'freichat' folder or change its location after installation ?

If yes, please revert those changes.

Hi, Did you rename the 'freichat' folder or change its location after installation ? If yes, please revert those changes.

no
freichat is in root folder freichat
guest ok
user no ok

no freichat is in root folder freichat guest ok user no ok

Getting list of online users .........
where I put this code ??

if(USER_IS_LOGGED_IN)
{
$ses = LOGGED_IN_USERID //tell freichat the userid of the current user

setcookie("freichat_user", "LOGGED_IN", time()+3600, "/"); // *do not change -> freichat code

}
else {
$ses = null; //tell freichat that the current user is a guest

setcookie("freichat_user", null, time()+3600, "/"); // *do not change -> freichat code

}

Getting list of online users ......... where I put this code ?? if(USER_IS_LOGGED_IN) { $ses = LOGGED_IN_USERID //tell freichat the userid of the current user setcookie("freichat_user", "LOGGED_IN", time()+3600, "/"); // *do not change -> freichat code } else { $ses = null; //tell freichat that the current user is a guest setcookie("freichat_user", null, time()+3600, "/"); // *do not change -> freichat code }

Hi,

If you have already pasted the previous code that included <script> and <link> tags, then this code will come before that in the same file.

Hi, If you have already pasted the previous code that included `&amp;lt;script&amp;gt;` and `&amp;lt;link&amp;gt;` tags, then this code will come before that in the same file.

please an example

my header template is

if(USER_IS_LOGGED_IN)
{
$ses = LOGGED_IN_USERID //tell freichat the userid of the current user

setcookie("freichat_user", "LOGGED_IN", time()+3600, "/"); // *do not change -> freichat code

}
else {
$ses = null; //tell freichat that the current user is a guest

setcookie("freichat_user", null, time()+3600, "/"); // *do not change -> freichat code

} 
<head>  
                    <!--===========================FreiChat=======START=========================-->
<!--    For uninstalling ME , first remove/comment all FreiChat related code i.e below code
     Then remove FreiChat 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("/membri/sweteam/freichat/hardcode.php")){

               require "/membri/sweteam/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;
}
}
?>
<script type="text/javascript" language="javascipt" src="http://sweteam.altervista.org/freichat/client/main.php?id=<?php echo $ses;?>&xhash=<?php echo freichatx_get_hash($ses); ?>"></script>
    <link rel="stylesheet" href="http://sweteam.altervista.org/freichat/client/jquery/freichat_themes/freichatcss.php" type="text/css">
<!--===========================FreiChatX=======END=========================-->
please an example my header template is ``` if(USER_IS_LOGGED_IN) { $ses = LOGGED_IN_USERID //tell freichat the userid of the current user setcookie(&quot;freichat_user&quot;, &quot;LOGGED_IN&quot;, time()+3600, &quot;/&quot;); // *do not change -&amp;gt; freichat code } else { $ses = null; //tell freichat that the current user is a guest setcookie(&quot;freichat_user&quot;, null, time()+3600, &quot;/&quot;); // *do not change -&amp;gt; freichat code } &amp;lt;head&amp;gt; &amp;lt;!--===========================FreiChat=======START=========================--&amp;gt; &amp;lt;!-- For uninstalling ME , first remove/comment all FreiChat related code i.e below code Then remove FreiChat tables frei_session &amp;amp; frei_chat if necessary The best/recommended way is using the module for installation --&amp;gt; &amp;lt;?php $ses=null; if(!function_exists(&quot;freichatx_get_hash&quot;)){ function freichatx_get_hash($ses){ if(is_file(&quot;/membri/sweteam/freichat/hardcode.php&quot;)){ require &quot;/membri/sweteam/freichat/hardcode.php&quot;; $temp_id = $ses . $uid; return md5($temp_id); } else { echo &quot;&amp;lt;script&amp;gt;alert(&#039;module freichatx says: hardcode.php file not found!&#039;);&amp;lt;/script&amp;gt;&quot;; } return 0; } } ?&amp;gt; ``` ``` &amp;lt;script type=&quot;text/javascript&quot; language=&quot;javascipt&quot; src=&quot;http://sweteam.altervista.org/freichat/client/main.php?id=&amp;lt;?php echo $ses;?&amp;gt;&amp;amp;xhash=&amp;lt;?php echo freichatx_get_hash($ses); ?&amp;gt;&quot;&amp;gt;&amp;lt;/script&amp;gt; &amp;lt;link rel=&quot;stylesheet&quot; href=&quot;http://sweteam.altervista.org/freichat/client/jquery/freichat_themes/freichatcss.php&quot; type=&quot;text/css&quot;&amp;gt; &amp;lt;!--===========================FreiChatX=======END=========================--&amp;gt; ```
edited Dec 24 '14 at 7:29 am

Hi,

You need to modify the code so that $ses stores the userid of current user.

So, instead of

$ses = LOGGED_IN_USERID

it will become

$ses = $vbulletin->GPC['userid'];

Above is according to information given here: http://www.vbulletin.org/forum/showthread.php?t=268340

And for the line

if(USER_IS_LOGGED_IN)

You need to check if the user is logged in or not.

Hi, You need to modify the code so that $ses stores the userid of current user. So, instead of ``` $ses = LOGGED_IN_USERID ``` it will become ``` $ses = $vbulletin-&amp;gt;GPC[&#039;userid&#039;]; ``` Above is according to information given here: http://www.vbulletin.org/forum/showthread.php?t=268340 And for the line ``` if(USER_IS_LOGGED_IN) ``` You need to check if the user is logged in or not.
edited Dec 24 '14 at 7:33 am

freichat in vbullettin custom driver no work
freichat in phpbb phpbb driver okkkkkkkkk

freichat in vbullettin custom driver no work freichat in phpbb phpbb driver okkkkkkkkk

Hi,

If many people do want freichat for vBulletin, we will add the vBulletin driver too.

Hi, If many people do want freichat for vBulletin, we will add the vBulletin driver too.
405
16
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft