Verfasst: 10.01.2003 17:58
Obiges steht in der viewtopic_body.tpl NICHT in der viewtopic.php!
phpBB.de - Die deutsche phpBB-Community
https://www.phpbb.de/community/
Code: Alles auswählen
viewtopic.php:
find:
Code:
--------------------------------------------------------------------------------
else {
echo "<BR><FONT FACE=\"$FontFace\" SIZE=\"$FontSize1\" COLOR=\"$textcolor\">$l_unregistered</font></td>";
}
--------------------------------------------------------------------------------
replace with:
Code:
--------------------------------------------------------------------------------
else {
echo "<BR><FONT FACE=\"$FontFace\" SIZE=\"$FontSize1\" COLOR=\"$textcolor\">$l_unregistered</font>";
}
echo "<BR><font face=\"$FontFace\" SIZE=\"$FontSize1\" COLOR=\"$textcolor\">User is <b>";
$GetUserList = "SELECT * FROM whosonline";
if(!$GetUserResults = mysql_query($GetUserList, $db)) { die("Error - Could not connect to the database"); }
if($GetUserRows = mysql_fetch_array($GetUserResults)) {
if(!stristr($GetUserRows[username], get_syslang_string($sys_lang, "l_guest"))) {
$thisuser = get_userdata($GetUserRows[username], $db);
if ($thisuser[username] == $posterdata[username]) {
echo 'Online';
} else {
echo 'OffLine';
}
}
}
echo "</b></font></td>";
Code: Alles auswählen
else {
echo "<BR><FONT FACE=\"$FontFace\" SIZE=\"$FontSize1\" COLOR=\"$textcolor\">$l_unregistered</font></td>";
}
Code: Alles auswählen
viewtopic.php:
find:
Code: