Originally posted by coolboiz1
View Post
mGiGS 4 - Lava based clone
Collapse
X
-
Last edited by bogart; 07.04.10, 02:50.
-
Originally posted by coolboiz1 View Postnot working:
login count
last visit
i having trouble showing facebook friends name. shows only their profile id number.any idea
PS. Oh by the way, may i see your link? tnx.Last edited by bogart; 08.04.10, 08:47.
Comment
-
in core.inc.php find function addonline($uid,$place,$plclink){
global $BOTSONLINE,$FREEVLINGTIME,$FREEVLINGAMOUNT;
$hidden=mysql_fetch_array(mysql_query("SELECT hidden, lastaction, unique_tmonl FROM m_usrs WHERE id='".$uid."'"));
if($hidden[0]==0){
$tm = time();
$timeout = $tm - (30*60);
$deloff = mysql_query("DELETE FROM m_online WHERE actvtime <'".$timeout."'");
$rplac = mys_select("SELECT place,placedet FROM m_online WHERE place!='Busy...' ORDER BY RAND() LIMIT 0,1");
$rplacc = mys_select("SELECT place,placedet FROM m_online ORDER BY RAND() LIMIT 0,1");
if($BOTSONLINE==1){
$res = mysql_query("UPDATE m_usrs SET lastaction='".time()."' WHERE id='1'");
$res = mysql_query("UPDATE m_usrs SET lastaction='".time()."' WHERE id='3'");
}
$res = mysql_query("UPDATE m_usrs SET lastaction='".time()."' WHERE id='".$uid."'");
if($BOTSONLINE==1){
if(empty($rplac[0])){ $rplacc[0] = "Portal"; }
$res = mysql_query("INSERT INTO m_online SET userid='1', user='".getnick_uid('1')."', actvtime='".$tm."', place='".$rplac[0]."'");
if(empty($rplacc[0])){ $rplacc[0] = "Portal"; }
$res = mysql_query("INSERT INTO m_online SET userid='3', user='".getnick_uid('3')."', actvtime='".$tm."', place='".$rplacc[0]."'");
}
$res = mysql_query("INSERT INTO m_online SET userid='".$uid."', user='".getnick_uid($uid)."', actvtime='".$tm."', place='".$place."', placedet='".$plclink."'");
if(!$res){
if($BOTSONLINE==1){
$res = mysql_query("UPDATE m_online SET actvtime='".$tm."', user='".getnick_uid('1')."', place='".$rplac[0]."' WHERE userid='1'");
$res = mysql_query("UPDATE m_online SET actvtime='".$tm."', user='".getnick_uid('3')."', place='".$rplacc[0]."' WHERE userid='3'");
}
then you can change 1 or 3 id values
1 and 3 id are the boot id @ Devil223
Comment
Comment