MyBB.de Forum

Normale Version: Profilbug
Du siehst gerade eine vereinfachte Darstellung unserer Inhalte. Normale Ansicht mit richtiger Formatierung.
Hallo!
ich habe heute einen profilbug in meinem forum entdeckt und weis nicht wie ich ihn beheben kann.
Das problem ist folgendes: es wird nicht angezeigt das derr jenige online ist. Hier nen screen

[Bild: http://www.inice.de/upload/show.php?bild...45f804bc73]

Und hier der Profilcode den ich dafür benutze

Code:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="1">
<tr>
<td class="trow1">
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
<tr><td colspan="2"
<tr><td width="200" align="center">
<span class="largetext"><strong>{$formattedname}</strong> <img src=images/{$userfields['fid3']}.gif alt={$userfields['fid3']} /> </span><br />
<span class="smalltext">
({$usertitle})<br />
{$userstars}<br />
{$groupimage}<br />
{$avatar}<br />
</td><td>
<b>{$formattedname}</b> hat sich {am} <b>{$memregdate}</b> bei {$mybb->settings['bbname']} registriert und bisher <b>{$timeonline}</b> hier verbracht.
Und ist momentan $onlinestatus



<table border="0">
<tr><td><span class="smalltext"></span></td><td>
<tr><td><span class="smalltext"></span></td><td>
<tr><td valign="top" style="padding-left:10px;
<tr><td><span class="smalltext"></span></td><td>
<b>{$formattedname}</b> hat...</td><td style="padding-left:5px; ">
</td></tr><tr><td><span class="smalltext"></span></td><td>
<table border="0">
</td></tr><tr><td><span class="smalltext"></span></td><td>
<tr><td><span class="smalltext">
<tr><td><span class="smalltext"><font color="black"><b>»</b></font></span></td><td>
<b><font color="Black"></b> <font color="red"><b>{$memprofile['postnum']}</b></font> <SPAN class=smalltext><FONT size=1>Beiträge geschrieben</FONT></SPAN> <span class="smalltext"><STRONG>(<a
href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</STRONG></span>
<tr><td><span class="smalltext"><font color="black"><b>»</b> <font </span></td><td>
<font color="red"><b>{$memprofile['user_wordcount']}</font></b>
<SPAN class=smalltext><FONT size=1>Wörter geschrieben...</FONT></SPAN>
<tr><td><span class="smalltext"><font color="black"><b>»</b></font></span></td><td>
<SPAN class=smalltext><FONT size=1>Status:</FONT></SPAN>  <font color="red"><b>{$usertitle}</b></font>
</td></tr><tr><td><span class="smalltext"><font color="black"><b>»</b></font></b> </span></td><td>
{$reputation}
</td></tr>
</table>
</td></tr></table>
</td></tr>
</table>



</td>
</tr>
{$awaybit}
</table>
<br />
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
<tr>
<td width="100%" valign="top">
<table width="100%">
<tr><td>
{$profilefields}
</td></tr><tr><td>
{$signature}
{$profileviewers}
</td></tr><tr><td>
{$adminoptions}
</td></tr></table>
</td></tr></table>
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="trow1"><strong>{$lang->pm}</strong></td>
<td class="trow1"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->icq_number}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->aim_screenname}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->yahoo_id}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->msn}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>

</td>
</tr>
</table>
{$footer}
</body>
</html>
<font color="red"><b>Profil - Design © By riku</b></font>

bitte schreibt mir den richtigen code oder sagt mir wie ich das problem lösen kann.
Handelt es sich hier nicht um ein Plugin??
Die Informationen für $onlinestatus werden glaube ich in der member.php gar nicht geladen.
Versuch aber mal um $onlinestatus { } zu machen.
Der Code ist das!
und mit dem Online guck in Anhang:

Code:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
<table border="1">
<tr>
<td class="trow1">
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
<tr><td colspan="2"
<tr><td width="200" align="center">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
({$usertitle})<br />
{$userstars}<br />
{$groupimage}<br />
{$avatar}<br />
</td><td>
<b>{$formattedname}</b> hat sich (am) <b>{$memregdate}</b> bei {$mybb->settings['bbname']} registriert und bisher <b>{$timeonline}</b> hier verbracht.
Und ist momentan $onlinestatus



<table border="0">
<tr><td><span class="smalltext"></span></td><td>
<tr><td><span class="smalltext"></span></td><td>
<tr><td valign="top" style="padding-left:10px;
<tr><td><span class="smalltext"></span></td><td>
<b>{$formattedname}</b> hat...</td><td style="padding-left:5px; ">
</td></tr><tr><td><span class="smalltext"></span></td><td>
<table border="0">
</td></tr><tr><td><span class="smalltext"></span></td><td>
<tr><td><span class="smalltext">
<tr><td><span class="smalltext"><font color="black"><b>»</b></font></span></td><td>
<b><font color="Black"></b> <font color="red"><b>{$memprofile['postnum']}</b></font> <SPAN class=smalltext><FONT size=1>Beiträge geschrieben</FONT></SPAN> <span class="smalltext"><STRONG>(<a
href="search.php?action=finduserthreads&amp;uid={$uid}">{$lang->find_threads}</a> &mdash; <a href="search.php?action=finduser&amp;uid={$uid}">{$lang->find_posts}</a>)</STRONG></span>
<tr><td><span class="smalltext"><font color="black"><b>»</b> <font </span></td><td>
<font color="red"><b>{$memprofile['user_wordcount']}</font></b>
<SPAN class=smalltext><FONT size=1>Wörter geschrieben...</FONT></SPAN>
<tr><td><span class="smalltext"><font color="black"><b>»</b></font></span></td><td>
<SPAN class=smalltext><FONT size=1>Status:</FONT></SPAN>  <font color="red"><b>{$usertitle}</b></font>
</td></tr><tr><td><span class="smalltext"><font color="black"><b>»</b></font></b> </span></td><td>
{$reputation}
</td></tr>
</table>
</td></tr></table>
</td></tr>
</table>



</td>
</tr>
{$awaybit}
</table>
<br />
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}">
<tr>
<td width="100%" valign="top">
<table width="100%">
<tr><td>
{$profilefields}
</td></tr><tr><td>
{$signature}
{$profileviewers}
</td></tr><tr><td>
{$adminoptions}
</td></tr></table>
</td></tr></table>
<table width="100%" border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>{$lang->users_contact_details}</strong></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="trow1"><strong>{$lang->pm}</strong></td>
<td class="trow1"><a href="private.php?action=send&amp;uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->icq_number}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=icq&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->aim_screenname}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=aim&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->yahoo_id}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=yahoo&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->msn}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&amp;imtype=msn&amp;uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</td>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>

</td>
</tr>
</table>
{$footer}
</body>
</html>
ok thx

funzt alles
Aso damit alles Perfekt aus siht musst du noch den Code rein machen:

In
member_profile_reputation

Code:
<SPAN class=smalltext><FONT size=1>{$lang->reputation}</FONT></SPAN>  &nbsp;&nbsp;&nbsp;{$reputation} <FONT size=1><STRONG>[<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>]</STRONG></FONT>