ใครมีวิธีทำให้คนออนไลน์เยอะ!!
บางเวปผมเหนมันใช้บอทหรือไงนี้ละคนออนไลน์ เยอะตลอดเรยสมาชิกกี่คนเอง!!! ชื่อเวอร์ชวลออนไลน์ ประมาณนี้ ทำ seo ครับ เว็บผมก็กำลังลองทำเลยครับ สนุบสนุน ดิสคัท ไทย มีแต่จำลองผู้คนออนไลน์ ลองไปดูนะhttp://www.discuzthai.com/thread-16722-1-1.html อืมๆ ขอบคุณครับ ผมแนนำให้ หาโค๊ด$discuz_action = 1;เพิ้มโค๊ดนี้ไว้ด้านล่าง//BALLJA.COM START$virtualhack = '1'; // 1=? 0=?
if($virtualhack=='1') {
$mintime = 500; // ??????(?)
$maxtime = 800; // ??????(?)
$dis_time = 810; // ??dis_time(?)??
$current_user = 200; // ??????10,???????
$min_user = 0; // อันนี้ จะกำหนดปริมาณ สมาชิก น้อยสูด ที่จะแสดงครับ
$max_user = 0; // อันนี้ จะกำหนดปริมาณ สมาชิก สูงสุด ที่จะแสดงครับ
$min_guest = 1000; // อันนี้ จะกำหนดปริมาณ ผู้เยี่ยมชม น้อยสูด ที่จะแสดงครับ
$max_guest = 2000; // อันนี้ จะกำหนดปริมาณ ผู้เยี่ยมชม สูงสุด ที่จะแสดงครับ
$start_uid = 0; // อันนี้ จะกำหนด ว่าจะดึงเอา UID ของสมาชิกมาแสดงUID
$end_uid = 0; // อันนี้ จะกำหนด ว่าจะดึงเอา UID ของสมาชิกมาแสดงUID
$action_arr = array("0","0","1","1","2","191","1","2","2","2","31","51"); //??????????
$current = time();
$current_different = $current - $dis_time;
$db -> query("DELETE FROM {$tablepre}sessions WHERE ip1='000' AND lastactivity <='$current_different'");
$query = $db -> query("SELECT COUNT(*) FROM {$tablepre}sessions ");
$onlineuser = $db -> result($query, 0);
if($onlineuser <= $current_user ) {
$randguest = mt_rand($min_guest, $max_guest); //??
$randuser = mt_rand($min_user, $max_user); //??
$query = $db -> query("SELECT fid FROM {$tablepre}forums WHERE type = 'forum'");
while($fidresult = $db -> fetch_array($query)) {
$fidscope[] = $fidresult['fid'];
}
// ????????
for($i = 1; $i <= $randuser; $i++) {
$randtime = mt_rand($mintime, $maxtime);
$onlinetime = $current - $randtime;
$randaction = mt_rand(0, count($action_arr));
$onlineaction = $action_arr[$randaction];
$onlinefid = 0;
if($onlineaction == '2') {
$randfid = mt_rand(0, count($fidscope));
$onlinefid = $fidscope[$randfid];
}
$online_sid = random(6);
$rand_uid = mt_rand($start_uid, $end_uid);
$query = $db -> query("SELECT `uid`,`username` FROM {$tablepre}members WHERE `uid` = '$rand_uid'");
while($row = $db -> fetch_array($query)){
$db -> query("INSERT INTO {$tablepre}sessions (sid,ip1, groupid, styleid, lastactivity, action, fid, uid, username )
VALUES ('$online_sid','000' ,'10', '1','$onlinetime','$onlineaction','$onlinefid','$row','$row')");
}
}
// ????????
for($i = 1; $i <= $randguest; $i++) {
$randtime = mt_rand($mintime, $maxtime);
$onlinetime = $current - $randtime;
$randaction = mt_rand(0,count($action_arr));
$onlineaction = $action_arr[$randaction];
$onlinefid = 0;
if($onlineaction == '2') {
$randfid = mt_rand(0,count($fidscope));
$onlinefid = $fidscope[$randfid];
}
$online_sid = random(6);
$db -> query("INSERT INTO {$tablepre}sessions (sid,ip1, groupid, styleid, lastactivity, action, fid )
VALUES ('$online_sid','000' ,'7', '1','$onlinetime','$onlineaction','$onlinefid')");
}
}
}
//BALLJA.COM ENDรับลองคนเยอะได้ใจ
อย่าลืมคำว่า ขอบคุณนะครับ ยังงี้ก็มีแฮะ 555+ ;P อิอิ แล้ว ตัวสถิติที่เราเก็บไว้ใน ADyim หรือ Truehit หรือ stat ล่ะมันจะเพิ่มไหม
หน้า:
[1]