Yes , i downloaded it from here . Named "lavalair plain script"
can i see you site ?
Show in room
Collapse
X
-
it's working in my site..does your script really a lava?Originally posted by Ponick View Postit 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:
-
i have used it butOriginally posted by something else View Postcan 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
n0thing heppend
Leave a comment:
-
it doesnt do anythingOriginally posted by kiLLeR-eyEd_14 View Postit'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."'");
}
. 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:
-
can u put this on top of the page after <?phpOriginally posted by Ponick View Postim goin to say this bad news again...
it didnot show any thing 
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:
-
it's very easy..just like my previous post..put this below if(isbanned){}Originally posted by ranzit2 View Postits a function in core.php that had to b modified.
try this in core.phpCode:///////////////////////////////////////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."'"); }
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);
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:
-
its a function in core.php that had to b modified.Originally posted by Ponick View Postim goin to say this bad news again...
it didnot show any thing 
try this in core.phpCode:///////////////////////////////////////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."'"); }
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:
-
im goin to say this bad news again...Originally posted by something else View Posti didnt test this but->
http://try.this/files.zip
it didnot show any thing
Leave a comment:
-
oh thanxOriginally posted by something else View Posti can have a look
click here
im sure you will fix it
Last edited by Ponick; 12.09.09, 23:44.
Leave a comment:
-
if i give you my chat.php and index.php .... can you recod it ?Originally posted by something else View Postthere 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:
-
NoOriginally posted by something else View Postthere 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?
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:
-
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:
Leave a comment: