Hallo Leute,
Erstmal muß ich klarstellen, dass der Hack nicht von mir kommt, aber ich hab ihn für das Deutsche Vbulletin 3.0 Gold umgeschrieben. Ich hab ihn auf meinem eigenen Board genauso installiert, daher weiß ich dass er funktioniert.

Ein Copyright wird nicht verletzt.
Und so gehts:
Datei die zu Modifizieren ist:
index.php
Template Modifizierungen:
FORUMHOME
forumhome_todayloggedinuser
forumhome_todayloggedinusers
Öffne die index.php und finde folgendes:
Code:
// ### GET FORUMS & MODERATOR iCACHES ########################
Darüber füge ein:
Code:
// ### WER WAR HEUTE ONLINE ########################
if ((int)$maxusers[0] <= $totalonline) {
$time = time();
$maxloggedin = "$totalonline " . $time . " " . $maxusers[2] . " " . $maxusers[3];
$maxusers[0] = $totalonline;
$maxusers[1] = $time;
}
$todayloggedinusers = "";
$numbertodayonline = 0;
$numbertodayonlineinvisible = 0;
$todayusers=$DB_site->query("SELECT userid, username, usergroupid, lastactivity FROM ".TABLE_PREFIX."user
WHERE lastactivity > " . (mktime(0,0,0,date("m"),date("d"),date("Y")) + (($bbuserinfo['timezoneoffset']-$timeoffset)*3600)) . "
ORDER BY username");
while ($todayuser=$DB_site->fetch_array($todayusers)) {
$numbertodayonline++;
$invisibleuser = '';
$userid = $todayuser['userid'];
$lastactivetime = vbdate($vboptions['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 = \"".fetch_template('forumhome_todayloggedinuser')."\";");
} else {
eval("\$todayloggedinuser .= \", ".fetch_template('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;
$maxusers[2] = $numbertodayonline;
$maxusers[3] = $time;
}
$todayrecordusers = $maxusers[2];
$todayrecorddate = vbdate($vboptions['dateformat'],$maxusers[3]);
eval("\$todayloggedinusers = \"".fetch_template('forumhome_todayloggedinusers')."\";");
Öffne unter Startseite (Forumhome) das FORUMHOME Template im AdminCP und finde:
Code:
<!-- end logged-in users -->
Darunter füge ein:
Code:
$todayloggedinusers
Erstelle 2 neue Templates die sich wie folgt nennen:
forumhome_todayloggedinuser
forumhome_todayloggedinusers
In das forumhome_todayloggedinuser füge ein:
Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userid" title="Last online at $lastactivetime">$username</a>$invisibleuser
In das forumhome_todayloggedinusers füge ein:
Code:
<tr id="cat">
<td class="tcat" colspan="6">
<div class="smallfont"><b>
Anzahl der heute aktiven Benutzer: $numbertodayonline</b></div>
</td>
</tr>
<tr>
<td class="alt1" colspan="6"><div class="smallfont">
<nobr>Die folgenden Benutzer waren heute bereits auf dem Board:</nobr><br />
$todayloggedinuser<br />
</div></td>
</tr>
So, nun ist das Hack installiert, viel Spaß damit.