Show in room

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ponick
    replied
    Yes , i downloaded it from here . Named "lavalair plain script"
    can i see you site ?

    Leave a comment:


  • kiLLeR-eyEd_14
    replied
    Originally posted by Ponick View Post
    it doesnt do anything . Is there need any sql table specialy? Its be better if some one you guys kindly give me the tested those php file ....
    it's working in my site..does your script really a lava?

    Leave a comment:


  • Ponick
    replied
    Originally posted by something else View Post
    can u put this on top of the page after <?php
    error_reporting (E_ALL);
    ini_set ('display_errors', true);
    because its not showing any errors for me and that will tell you where the error is
    i have used it but n0thing heppend

    Leave a comment:


  • Ponick
    replied
    Originally posted by kiLLeR-eyEd_14 View Post
    it's very easy..just like my previous post..put this below if(isbanned){}
    PHP Code:
    $bago = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline WHERE uid='".$uid."' AND rid='".$rid."'"));
    if(
    $bago[0]==0)
    {
    $msg = "".getnick_uid($uid)." Enter the Room";
    mysql_query("INSERT INTO ibwf_chat SET timesent='".time()."', chatter='".$uid."', msgtext='".$msg."', rid='".$rid."'");
    } 
    it doesnt do anything . Is there need any sql table specialy? Its be better if some one you guys kindly give me the tested those php file ....

    Leave a comment:


  • something else
    replied
    Originally posted by Ponick View Post
    im goin to say this bad news again...it didnot show any thing
    can u put this on top of the page after <?php

    error_reporting (E_ALL);
    ini_set ('display_errors', true);

    because its not showing any errors for me and that will tell you where the error is

    Leave a comment:


  • kiLLeR-eyEd_14
    replied
    Originally posted by ranzit2 View Post
    its a function in core.php that had to b modified.
    Code:
    ///////////////////////////////////////Add to chat
    
    
    function addtochat($uid, $rid)
    {
    $bago = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline WHERE uid='".$uid."' AND rid='".$rid."'"));
    if($bago[0]==0){
    $msg = "*mat Enter the Room";
    mysql_query("INSERT INTO ibwf_chat SET timesent='".time()."', chatter='".$uid."', msgtext='".$msg."', rid='".$rid."'");
    }
    
    $timeto = 120;
    $timenw = time();
    $timeout = $timenw - $timeto;
    $exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<'".$timeout."'");
    $res = mysql_query("INSERT INTO ibwf_chonline SET lton='".time()."', uid='".$uid."', rid='".$rid."'");
    if(!$res)
    {
    mysql_query("UPDATE ibwf_chonline SET lton='".time()."', rid='".$rid."' WHERE uid='".$uid."'");
    }
    try this in core.php


    and this in chat.php just after where if(!canenter($rid,$sid)) function end
    Code:
    addtochat($uid, $rid);
            $timeto = 300;
            $timenw = time();
            $timeout = $timenw-$timeto;
            $deleted = mysql_query("DELETE FROM ibwf_chat WHERE timesent<".$timeout."");
            $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id='".$rid."'"));
            $rname = $rooms[1];
            $nick = getnick_sid($sid);
    it's very easy..just like my previous post..put this below if(isbanned){}
    PHP Code:
    $bago = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline WHERE uid='".$uid."' AND rid='".$rid."'"));
    if(
    $bago[0]==0)
    {
    $msg = "".getnick_uid($uid)." Enter the Room";
    mysql_query("INSERT INTO ibwf_chat SET timesent='".time()."', chatter='".$uid."', msgtext='".$msg."', rid='".$rid."'");
    } 

    Leave a comment:


  • ranzit2
    replied
    Originally posted by Ponick View Post
    im goin to say this bad news again...it didnot show any thing
    its a function in core.php that had to b modified.
    Code:
    ///////////////////////////////////////Add to chat
    
    
    function addtochat($uid, $rid)
    {
    $bago = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_chonline WHERE uid='".$uid."' AND rid='".$rid."'"));
    if($bago[0]==0){
    $msg = "*mat Enter the Room";
    mysql_query("INSERT INTO ibwf_chat SET timesent='".time()."', chatter='".$uid."', msgtext='".$msg."', rid='".$rid."'");
    }
    
    $timeto = 120;
    $timenw = time();
    $timeout = $timenw - $timeto;
    $exec = mysql_query("DELETE FROM ibwf_chonline WHERE lton<'".$timeout."'");
    $res = mysql_query("INSERT INTO ibwf_chonline SET lton='".time()."', uid='".$uid."', rid='".$rid."'");
    if(!$res)
    {
    mysql_query("UPDATE ibwf_chonline SET lton='".time()."', rid='".$rid."' WHERE uid='".$uid."'");
    }
    try this in core.php


    and this in chat.php just after where if(!canenter($rid,$sid)) function end
    Code:
    addtochat($uid, $rid);
            $timeto = 300;
            $timenw = time();
            $timeout = $timenw-$timeto;
            $deleted = mysql_query("DELETE FROM ibwf_chat WHERE timesent<".$timeout."");
            $rooms = mysql_fetch_array(mysql_query("SELECT id, name FROM ibwf_rooms WHERE id='".$rid."'"));
            $rname = $rooms[1];
            $nick = getnick_sid($sid);
    Last edited by ranzit2; 13.09.09, 00:52.

    Leave a comment:


  • Ponick
    replied
    Originally posted by something else View Post
    i didnt test this but->
    http://try.this/files.zip
    im goin to say this bad news again...it didnot show any thing

    Leave a comment:


  • something else
    replied
    i didnt test this but->
    http://try.this/files.zip

    Leave a comment:


  • Ponick
    replied
    Originally posted by something else View Post
    i can have a look
    oh thanx click here
    im sure you will fix it
    Last edited by Ponick; 12.09.09, 23:44.

    Leave a comment:


  • something else
    replied
    i can have a look

    Leave a comment:


  • Ponick
    replied
    Originally posted by something else View Post
    there is plenty of chat.php in on coding-talk just download another 1 ....
    when you editing scripts make a test folder so if u do make a mess up and dont know how to put it back then it wont matter

    does it give you an error message why its not working?
    if i give you my chat.php and index.php .... can you recod it ?

    Leave a comment:


  • Ponick
    replied
    Originally posted by something else View Post
    there is plenty of chat.php in on coding-talk just download another 1 ....
    when you editing scripts make a test folder so if u do make a mess up and don't know how to put it back then it wont matter

    does it give you an error message why its not working?
    No it doesn't show any error or error message

    whole chat system working good but only it don't show the enter massage

    Leave a comment:


  • something else
    replied
    there is plenty of chat.php in on coding-talk just download another 1 ....
    when you editing scripts make a test folder so if u do make a mess up and dont know how to put it back then it wont matter

    does it give you an error message why its not working?

    Leave a comment:


  • Ponick
    replied
    Originally posted by something else View Post
    my chat wont run on lava script ... well not without a lot of modification
    its ok thank you so much . but i need this system for my site ....huhuhuhu

    Leave a comment:

Working...
X