Closed Thread
 
Thread Tools Display Modes
  #1 (permalink)  
Old 17.04.2004, 22:45
Robin1977's Avatar
Neuer Benutzer
 
Join Date: 04.2004
Location: Raum Stuttgart
Age: 34
Posts: 16
Rep Power: 10
Robin1977 will become famous soon enoughRobin1977 will become famous soon enough
Idee Wer war heute online? Hack
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.
__________________
Wer zu spät kommt, den bestraft das Leben.... oder auch nicht...*g*

Gruß,
  #2 (permalink)  
Old 17.04.2004, 22:57
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Klasse, was mir dabei aber noch fehlt wären die Beschreibungen als Phrasen.

Gruss
Christian
__________________
Meine kleinen Engel ... Die Rabauken ...
  #3 (permalink)  
Old 18.04.2004, 02:12
Robin1977's Avatar
Neuer Benutzer
 
Join Date: 04.2004
Location: Raum Stuttgart
Age: 34
Posts: 16
Rep Power: 10
Robin1977 will become famous soon enoughRobin1977 will become famous soon enough
Sorry, wenn ich dumm frage, aber was is ne phrase?
__________________
Wer zu spät kommt, den bestraft das Leben.... oder auch nicht...*g*

Gruß,
  #4 (permalink)  
Old 18.04.2004, 11:37
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Mal was anderes, die Modifikation der index.php stimmt nicht so ganz, denn das fehlt.

==>Suche:

Code:
'mailqueue'
==>Ersetze es mit:

Code:
'mailqueue',
	'todaymaxonline'
==>Suche:

Code:
'forumhome_subforumseparator_post'
==>Ersetzte es mit:

Code:
'forumhome_subforumseparator_post',
	'forumhome_todayloggedinuser'
Kannst du das mal überprüfen?

Gruss
Christian
__________________
Meine kleinen Engel ... Die Rabauken ...
  #5 (permalink)  
Old 18.04.2004, 11:41
Robin1977's Avatar
Neuer Benutzer
 
Join Date: 04.2004
Location: Raum Stuttgart
Age: 34
Posts: 16
Rep Power: 10
Robin1977 will become famous soon enoughRobin1977 will become famous soon enough
Lächeln
Also bei mir funktioniert es ohne das. So wie ich es oben beschrieben hab. Aber vielleicht hast du ja nen anderen Hack, mit anderen Features. )
__________________
Wer zu spät kommt, den bestraft das Leben.... oder auch nicht...*g*

Gruß,
  #6 (permalink)  
Old 18.04.2004, 13:25
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Also ich nutze auch den von Gary, der hat den Vorteil das er mit eigenen Phrasen arbeitet und bei bedarf auf einer extra Seite angezeigt werden kann.

Zu sehen hier:http://www.vbulletin.org/forum/showthread.php?t=59579

Gruss
Christian
__________________
Meine kleinen Engel ... Die Rabauken ...
  #7 (permalink)  
Old 07.05.2004, 18:21
Xtreame
Gast
 
Posts: n/a
Hat jemand vielleicht noch einen anderen? Dieser gefällt mir nicht wirklich sehr.
  #8 (permalink)  
Old 19.05.2004, 15:28
Neuer Benutzer
 
Join Date: 05.2004
Posts: 11
Rep Power: 9
timbo is on a distinguished road
vom prinzip her in ordnung, aber so ganz zufrieden damit bin ich auch nicht ...
Closed Thread

Lesezeichen

Thread Tools
Display Modes

Posting Rules
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist On.
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP: Top 5 Hack mit Abschlussgrafiken wie realisieren? Metro-Man Allg. vB Support 6 08.08.2007 15:11
Signatur Banner Hack für Vb 3.X Crackmasterflas Recycle-Bin 49 22.08.2004 10:45
TOP 5 Hack Fettsack Allg. vB Support 13 09.07.2004 10:33
Suche Hack für Bilderupload sammyxx Recycle-Bin 4 20.06.2004 11:31
Attachment Hack! Dark_Wulf Recycle-Bin 3 13.05.2004 14:17


Copyright © 2006, Reuter & Bloeß GbR.
| Datenschutz | Sitemap | Unsere Partner | Top |
Home Products Forum Über uns Support & FAQs
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Tipp: Fussball | Heilerde
Shopsystem, Shop System, CMS, Webkatalog mit vBCMS CMS