أهلًا و سهلًا بكـ يشرفنا تسجيلك و مشاركتك معنا .
#1
|
|||
|
|||
ِشرح بالصور لتركيب هاك من تواجد اليوم لمنتداك
هذا هاك جديد أشرحة لكم ضمن موسوعة شروحات الهاكات.. والهاك هو الاعضاء الذين تواجدوا اليوم بالمنتدي. والان بسم الله نبدأ الشرح.. أفتح ملف index.php الموجود في مجلد منتداك.. وأبحث عن هذا الكود.. كود: forumhome_loggedinuser,forumhome_loggedinusers أستبدلة بهذا الكود كود: forumhome_todayloggedinuser,forumhome_todayloggedi nusers,forumhome_loggedinuser,forumhome_loggedinus ers وفي نفس الملف index.php ابحث عن هذا الكود كود: if ((int)$maxusers[0] <= $totalonline) { $time = time(); $maxloggedin = "$totalonline " . $time; $DB_site->query("UPDATE template SET template='$maxloggedin' WHERE title='maxloggedin'"); $maxusers[0] = $totalonline; $maxusers[1] = $time; } قم باستبداله بهذا الكود كود: // today online hack begin if ((int)$maxusers[0] <= $totalonline) { $time = time(); $maxloggedin = "$totalonline " . $time . " " . $maxusers[2] . " " . $maxusers[3]; $DB_site->query("UPDATE template SET template='$maxloggedin' WHERE title='maxloggedin'"); $maxusers[0] = $totalonline; $maxusers[1] = $time; } $todayloggedinusers = ""; $numbertodayonline = 0; $numbertodayonlineinvisible = 0; $todayusers=$DB_site->query("SELECT userid, username, usergroupid, lastactivity, invisible FROM user WHERE lastactivity > " . mktime(0,0,0,date("m"),date("d"),date("Y")) . " ORDER BY username"); while ($todayuser=$DB_site->fetch_array($todayusers)) { $numbertodayonline++; $invisibleuser = ''; $userid = $todayuser['userid']; $lastactivetime = vbdate($timeformat, $todayuser[lastactivity]); if ($todayuser['invisible']==1 and $bbuserinfo['usergroupid']!=6) { $numbertodayonlineinvisible++; continue; } if ($todayuser['invisible'] == 1) { // Invisible User but show to Admin $invisibleuser = '*'; } if ($todayuser['usergroupid'] == 6 and $highlightadmin) { $username = "<b><i>$todayuser[username]</i></b>"; } else if (($mod["$userid"] or $todayuser['usergroupid'] == 5) and $highlightadmin) { $username = "<b>$todayuser[username]</b>"; } else { $username = $todayuser['username']; } if (!$todayloggedinuser) { eval("\$todayloggedinuser = \"".gettemplate('forumhome_todayloggedinuser')."\" ;"); } else { eval("\$todayloggedinuser .= \", ".gettemplate('forumhome_todayloggedinuser')."\";" ); } } $DB_site->free_result($todayusers); if ($bbuserinfo[usergroupid] == 6) { $todayonline = $numbertodayonline; } else { $todayonline = $numbertodayonline - $numbertodayonlineinvisible; } if ((int)$maxusers[2] <= $numbertodayonline) { $time = time(); $maxloggedin = $maxusers[0] . " " . $maxusers[1] . " $numbertodayonline " . $time; $DB_site->query("UPDATE template SET template='$maxloggedin' WHERE title='maxloggedin'"); $maxusers[2] = $numbertodayonline; $maxusers[3] = $time; } $todayrecordusers = $maxusers[2]; $todayrecorddate = vbdate($dateformat,$maxusers[3]); eval("\$todayloggedinusers = \"".gettemplate('forumhome_todayloggedinusers')."\ ";"); //today online hack end حفظ الملف وارفعه الى فوولدر المنتدى مرة اخرى الان من لوحة التحكم اعمل تمبلت جديد وسميهforumhome_todayloggedinusers وضع فيه الكود التالي كود: <tr id="cat"> <td bgcolor="{categorybackcolor}" colspan="6"> <normalfont color="{categoryfontcolor}"><b> عدد الأعضاء الذين تواجدوا اليوم في المنتدى:</b> </normalfont><normalfont color="{categoryfontcolor}"> <b>$numbertodayonline</b></normalfont> </td> </tr> <tr> <td bgcolor="{firstaltcolor}" colspan="6"><smallfont> <nobr>أكبر عدد أعضاء تواجدوا في يوم واحد $todayrecordusers on $todayrecorddate.</nobr> | <nobr>الأعضاء الذين كانوا في المنتدى اليوم هم :</nobr><br> $todayloggedinuser<br> </smallfont></td> </tr> واحفظ هذا التمبلت [img]hhttp://absba2.absba.org/hack/ut/ut5.gif[/img] مرة اخرى قم بعمل تمبلت جديد باسمforumhome_todayloggedinuser وضع فيه الكود التالي كود: <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid" title="Last online at $lastactivetime">$username</a>$invisibleuser واحفظ هذا التمبلت الان في التمبلت forumhome أبحث عن هذه..وتجدها في اسفل الصفحة تقريبا كود: $forumbits $pminfo $loggedinusers وتحته مباشرة اضف هذا كود: $todayloggedinusers أحفظ التغييرات.. مبروك عليكم الهاك..
__________________
|
|
|