mGiGS 4 - Lava based clone
Collapse
X
-
go to config file wer u put ur db info and set the BOTSONLINE var from 1 to 0.
-
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
Leave a comment:
-
@highcrash. . .I can finish it and d fbclient demo is at platinumentng.com/connect
@shakil420. . .i duno wot ya saying :-|
Leave a comment:
-
mgigs there is a prob using boot id anyone can see the database information...how fix?
Leave a comment:
-
no one uses my script witout the credits below. Fix it in 48hrs or i fix you.
Leave a comment:
-
bro, those are slight errors. of course u cant fix it by yourself. I think we're looking for serious bug and we'll try to fix so if the whole script is ok, we'll upload it here.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.
Leave a comment:
-
not working:
login count
last visit
i having trouble showing facebook friends name. shows only their profile id number.any idea
Leave a comment:
-
>>yes, twitter error and rss. mobilegigs removed the facebook link because API and SECRET must be personally applied. i put it in my site as suggested go to developer.facebook.com and it worked! i'll try to figure out bout twitter(as i dont have an account there) and rss.Originally posted by coolboiz1 View Posttwitter error, rss error, cant delete posts in forum, nice if facebook-linked but not, yet very good script!!! oh, the previous version' forum can be view by guests and this is not.Last edited by bogart; 07.04.10, 02:50.
Leave a comment:
-
twitter error, rss error, cant delete posts in forum, nice if facebook-linked but not, yet very good script!!! oh, the previous version' forum can be view by guests and this is not.
Leave a comment:
-
Thanks for reminding me mate. I havent seen the [script by catchphrase] in the first post. i'll redownload the file as it's edited and put the bottom link in my copy.
Leave a comment:
-
@bogart. . .it looks amazing. I like wat u've dun wiv it. BUT YOU HAVE VIOLATED THE LICENSING. Did u read the topic title text at all. You are not meant to remove the link at the bottom! I suggest u put it up nicely.
Leave a comment:
Leave a comment: