Hi friends, any1 have the code 4 add 1 user (Bot) allways online at wapdesire script? tnks 4 help 😉
if like my post click:
Started on the old forum in December 2008 · view the original in the archive · old links redirect here
Hi friends, any1 have the code 4 add 1 user (Bot) allways online at wapdesire script? tnks 4 help 😉
if like my post click:
You can try to make something like this:
Add in ibwf_users table one row called online_from and make this row like lastact row
Add this line in login.php:
mysql_query("UPDATE ibwf_users SET online_from='".time()."' WHERE id='".$who."'");
after mysql_query UPDATE user logins data
And on profiles if you have function time for iddle on core.php put this code:
if(isonline($who))
{
$regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, online_from FROM ibwf_users WHERE id='".$who."'"));
$sage = time()-$regd[2];
$rwage = gettimemsg($sage);
$lastact = time()-$regd[2];
$days=0;
$mins=0;
$hours=0;
if ($lastact>60)
{
$secs=$lastact%60;
$mins=$lastact/60;
$mins=(integer)$mins;
}
if ($mins>60)
{
$hours=$mins/60;
$hours=(integer)$hours;
$mins=$mins%60;
}
if ($hours>24)
{
$days=$hours/24;
$days=(integer)$days;
$hours=$hours%24;
}
echo "Online from: ";
if($days>0)
{
echo "[b]$days[/b] days, [b]$hours[/b] hours, [b]$mins[/b] minutes, [b]$secs[/b] secs";
}
if($days<1)
{
if($hours>0)
{
echo "[b]$hours[/b] hours, [b]$mins[/b] minutes, [b]$secs[/b] secs";
}
if($hours<1)
{
echo "[b]$mins[/b] minutes, [b]$secs[/b] secs";
}
}
echo "
";
I Think you want another type of code 😀 I read your post verry quick 😀
echo "<a href="http://wapcomunity.ro">[-Enter Here-]</a>";
QUOTE (wolf77ar @ Dec 30 2008, 02:12 PM) <{POST_SNAPBACK}>
You can try to make something like this:
Add in ibwf_users table one row called online_from and make this row like lastact row
Add this line in login.php:
mysql_query("UPDATE ibwf_users SET online_from='".time()."' WHERE id='".$who."'");after mysql_query UPDATE user logins data
And on profiles if you have function time for iddle on core.php put this code:
if(isonline($who)) { $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, online_from FROM ibwf_users WHERE id='".$who."'")); $sage = time()-$regd[2]; $rwage = gettimemsg($sage); $lastact = time()-$regd[2]; $days=0; $mins=0; $hours=0; if ($lastact>60) { $secs=$lastact%60; $mins=$lastact/60; $mins=(integer)$mins; } if ($mins>60) { $hours=$mins/60; $hours=(integer)$hours; $mins=$mins%60; } if ($hours>24) { $days=$hours/24; $days=(integer)$days; $hours=$hours%24; } echo "Online from: "; if($days>0) { echo "$days days, $hours hours, $mins minutes, $secs secs"; } if($days<1) { if($hours>0) { echo "$hours hours, $mins minutes, $secs secs"; } if($hours<1) { echo "$mins minutes, $secs secs"; } } echo " ";I Think you want another type of code 😀 I read your post verry quick :D
wolfy tnkx..(tu cati ai pe comunity 100 lol varza sunteti) bro
I think user allways online on index page...like lavagirl on lavalair chat and spiderbabe on spiderwap chat 🙂 simple bot ... but allways online 🙂
if like my post click:
QUOTE (wolf77ar @ Dec 30 2008, 02:12 PM) <{POST_SNAPBACK}>
You can try to make something like this:
Add in ibwf_users table one row called online_from and make this row like lastact row
Add this line in login.php:
mysql_query("UPDATE ibwf_users SET online_from='".time()."' WHERE id='".$who."'");after mysql_query UPDATE user logins data
And on profiles if you have function time for iddle on core.php put this code:
if(isonline($who)) { $regd = mysql_fetch_array(mysql_query("SELECT regdate, lastvst, online_from FROM ibwf_users WHERE id='".$who."'")); $sage = time()-$regd[2]; $rwage = gettimemsg($sage); $lastact = time()-$regd[2]; $days=0; $mins=0; $hours=0; if ($lastact>60) { $secs=$lastact%60; $mins=$lastact/60; $mins=(integer)$mins; } if ($mins>60) { $hours=$mins/60; $hours=(integer)$hours; $mins=$mins%60; } if ($hours>24) { $days=$hours/24; $days=(integer)$days; $hours=$hours%24; } echo "Online from: "; if($days>0) { echo "$days days, $hours hours, $mins minutes, $secs secs"; } if($days<1) { if($hours>0) { echo "$hours hours, $mins minutes, $secs secs"; } if($hours<1) { echo "$mins minutes, $secs secs"; } } echo " ";I Think you want another type of code 😀 I read your post verry quick :D
lol what for what
QUOTE (rukiya @ Dec 30 2008, 10:12 PM) <{POST_SNAPBACK}>
lol what for what
check this site and you understand: http://www.bestwap.ro 10000000000000000000000 online 24h a day 🤣 lol http://www.bestwap.ro/meniu 😀
www.inbuzunar.mobi -Your mobile portal pocket
QUOTE (kiss @ Jan 1 2009, 12:08 PM) <{POST_SNAPBACK}>
check this site and you understand: http://www.bestwap.ro 10000000000000000000000 online 24h a day 🤣 lol http://www.bestwap.ro/meniu :D
Good. But the code posted here is not the right one that is wanted.
I made this mod here
and the bot name is urmi