08.08.2010, 19:11
Ich habe mich mal dran gesetzt, und das Template der Profile umgeschrieben.
Live Demo: Klick Hier
Ich hoffe es gefällt euch, Feedback erwünscht.
Ich hafte nicht für eventuell entstehende Schäden.
MFG: Coala aka orion-x
Codes für die Templates:
member_profile
Live Demo: Klick Hier
Ich hoffe es gefällt euch, Feedback erwünscht.
Ich hafte nicht für eventuell entstehende Schäden.
MFG: Coala aka orion-x
Codes für die Templates:
member_profile
PHP-Code:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
{$header}
{$awaybit}
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="100%">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="3" class="thead"><strong><center>{$lang->users_forum_info}</center></strong></td>
</tr>
<tr>
<td colspan="1" class="trow2"><strong>Username:</strong></td>
<td colspan="1" class="trow2">{$formattedname}</td>
<td colspan="1" rowspan="4" class="trow2"valign="right" align="right" width="1" >{$avatar}</td>
</tr>
<tr>
<td class="trow1"><strong>Benutzergruppe:</strong></td>
<td class="trow1">{$usertitle}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->joined}</strong></td>
<td class="trow2">{$memregdate}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->lastvisit}</strong></td>
<td class="trow1">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->postbit_status}</strong></td>
<td colspan="2" class="trow2">{$online_status}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->timeonline}</strong></td>
<td colspan="2" class="trow1">{$timeonline}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->total_posts}</strong></td>
<td colspan="2" class="trow2">{$memprofile['postnum']} ({$lang->ppd_percent_total})<br /><span class="smalltext">(<a href="search.php?action=finduserthreads&uid={$uid}">{$lang->find_threads}</a> — <a href="search.php?action=finduser&uid={$uid}">{$lang->find_posts}</a>)</span></td>
</tr>
{$reputation}
{$warning_level}
<tr>
<td colspan="3" class="thead"><strong><center>Kontakt</center></strong></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->homepage}</strong></td>
<td colspan="2" class="trow2">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="trow2"><strong>{$lang->pm}</strong></td>
<td colspan="2" class="trow2"><a href="private.php?action=send&uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->icq_number}</strong></td>
<td colspan="2" class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=icq&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->aim_screenname}</strong></td>
<td colspan="2" class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=aim&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->yahoo_id}</strong></td>
<td colspan="2" class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=yahoo&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->msn}</strong></td>
<td colspan="2" class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=msn&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
<tr>
<td colspan="3" class="thead"><strong><center>Persönliches</center></strong></td>
</tr>
{$customfields}
<tr>
<td class="trow1"><strong>{$lang->date_of_birth}</strong></td>
<td colspan="2" class="trow1">{$membday} {$membdayage}</td>
</tr>
</td>
</tr>
</table>
{$modoptions}
</table>
Profile Template © <a href="http://apollo3forum.de/User-Apollo3orion-x">orion-x</a>
{$footer}
</body>
</html>
member_profile_modoptions
PHP-Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%" class="tborder">
<tr>
<td colspan="2" class="thead"><strong><center>{$lang->mod_options}</center></strong></td>
</tr>
<tr>
<td class="trow1">
<ul>
<li><a href="{$mybb->settings['bburl']}/modcp.php?action=editprofile&uid={$uid}">{$lang->edit_in_mcp}</a></li>
<li><a href="{$mybb->settings['bburl']}/modcp.php?action=banuser&uid={$uid}">{$lang->ban_in_mcp}</a></li>
</ul>
</td>
</tr>
</table>
member_profile_customfields_field
PHP-Code:
<tr>
<td class="{$bgcolor}"><strong>{$customfield['name']}:</strong></td>
<td colspan="2" class="{$bgcolor}">{$customfieldval}</td>
</tr>
member_profile_email
PHP-Code:
<tr>
<td class="trow2"><strong>{$lang->email}</strong></td>
<td colspan="2" class="trow2"><a href="member.php?action=emailuser&uid={$memprofile['uid']}">{$lang->send_user_email}</a></td>
</tr>
member_profile_reputation
PHP-Code:
<tr>
<td class="trow1"><strong>{$lang->reputation}</strong></td>
<td colspan="2" class="trow1">{$reputation} [<a href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>] {$vote_link}</td>
</tr>
member_profile_warninglevel
PHP-Code:
<tr>
<td class="trow2"><strong>{$lang->warning_level}</strong></td>
<td colspan="2" class="trow2"><a href="{$warning_link}">{$warning_level}</a> {$warn_user}</td>
</tr>