Verbesserte Darstellung des Profils
Verfasst: 04.02.2009 11:32
Da ich die Darstellung des Profils schon immer etwas dürftig fand, habe ich mich mal ran gesetzt und es etwas umgestaltet, vielleicht ist das für jemanden von Euch interessant.
So schaut das Ergebnis aus: http://i40.tinypic.com/w7zpmr.jpg
Um das Profil auf diesen Stand zu bringen:
Öffne profile_view_body.tpl
Gesamten Inhalt ersetzen durch:
Ich habe einige Mods für das Profil eingebaut, die Anweisungen dafür müssen hier dann ausgebaut werden, wenn Ihr die Mods nicht eingebaut habt.
In der lang_main.php müssten ggf. auch ein paar Änderungen vorgenommen werden, damit die Beschriftung so ausschaut wie auf dem Screenshot.
Viele Grüße.
So schaut das Ergebnis aus: http://i40.tinypic.com/w7zpmr.jpg
Um das Profil auf diesen Stand zu bringen:
Öffne profile_view_body.tpl
Gesamten Inhalt ersetzen durch:
Code: Alles auswählen
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="center"><span class="gensmall">[: Profil anzeigen :]</span></td>
</tr>
</table>
<br /><br />
<table class="forumline" width="100%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<th class="thHead" colspan="4" height="25" align="center" nowrap="nowrap">• {L_VIEWING_PROFILE} •</th>
</tr>
<tr>
<td class="catLeft" width="15%" height="28" align="center" nowrap="nowrap"><span class="gen">• {L_AVATAR} •</span></td>
<td class="catRight" width="40%" align="center" nowrap="nowrap"><span class="gen">• {L_ABOUT_USER} •</span></td>
<td class="catRight" width="40%" align="center" nowrap="nowrap"><span class="gen">• Persönliche Angaben •</span></td>
<td class="catRight" width="15%" align="center" nowrap="nowrap"><span class="gen">• {L_CONTACT} •</span></td>
</tr>
<tr>
<td class="row1" height="6" valign="top" align="center"><br>{AVATAR_IMG}<br><br>{RANK_IMAGE}<br /><span class="postdetails">{POSTER_RANK} {CUSTOM_RANK}</span><br /><br></td>
<td class="row1" rowspan="4" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_MEMBER_FOR}: </span></td>
<td width="100%"><b><span class="gen">{MEMBER_FOR} {L_DAYS}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_JOINED}: </span></td>
<td width="100%"><b><span class="gen">{JOINED}</span></b></td>
</tr>
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_LAST_ONLINE}: </span></td>
<td width="100%"><b><span class="gen">{LAST_ONLINE}</span></b></td>
</tr>
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_TOTAL_POSTS}: </span></td>
<td valign="top"><b><span class="gen">{POSTS}</span></b><br /><span class="genmed">[{POST_PERCENT_STATS} / {POST_DAY_STATS}]</span> <br />
<!-- BEGIN switch_user_logged_in -->
<span class="genmed"><a href="{U_SEARCH_USER}" class="genmed">{L_SEARCH_USER_POSTS}</a></span></td>
</tr>
<!-- END switch_user_logged_in -->
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_TOTAL_TOPICS}: </span></td>
<td valign="top"><b><span class="gen">{TOPICS}</span></b><br /><span class="genmed">[{TOPICS_PERCENT_STATS} / {TOPICS_DAY_STATS}]</span></td>
</tr>
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_MOST_ACTIVE}</span></td>
<td valign="top"><b><span class="gen">{MOSTACTIVE_FORUM}</span></b><br /><span class="genmed">{L_MOST_ACTIVE_POSTS}</span></td>
</tr>
</table>
<td class="row1" rowspan="4" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<!-- BEGIN switch_showuserfrom -->
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_LOCATION}: </span></td>
<td><b><span class="gen">{LOCATION}</span></b></td>
</tr>
<!-- END switch_showuserfrom -->
<!-- BEGIN switch_showuserwebsite -->
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_WEBSITE}: </span></td>
<td><span class="gen"><b>{WWW}</b></span></td>
</tr>
<!-- END switch_showuserwebsite -->
<!-- BEGIN switch_showocupation -->
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_OCCUPATION}: </span></td>
<td><b><span class="gen">{OCCUPATION}</span></b></td>
</tr>
<!-- END switch_showocupation -->
<!-- BEGIN switch_showinterests -->
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_INTERESTS}:</span></td>
<td><b><span class="gen">{INTERESTS}</span></b></td>
</tr>
<!-- END switch_showinterests -->
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_USER_STYLE}</span></td>
<td><span class="gen"><b>{USER_STYLE}</b></span></td>
</tr>
<!-- BEGIN switch_showusersign -->
<tr>
<td valign="top" align="right"><span class="gen">{L_SIGN}:</span></td>
<td><b><span class="gen">{SIGN}</span></b></td>
</tr>
<!-- END switch_showusersign -->
<!-- BEGIN switch_showusermood -->
<tr>
<td valign="top" align="right"><span class="gen">{L_MOOD}:</span></td>
<td><b><span class="gen">{MOOD}</span></b></td>
</tr>
<!-- END switch_showusermood -->
</td>
</tr>
</table>
<td class="row1" rowspan="4" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="3">
<!-- BEGIN switch_showemail -->
<tr>
<td valign="middle" align="right" nowrap="nowrap"><span class="gen">{L_EMAIL_ADDRESS}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{EMAIL_IMG}</span></b></td>
</tr>
<!-- END switch_showemail -->
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_PM}:</span></td>
<td class="row1" valign="middle" width="100%"><b><span class="gen">{PM_IMG}</span></b></td>
</tr>
<!-- BEGIN switch_showmsnm -->
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_MESSENGER}:</span></td>
<td class="row1" valign="middle"><span class="gen">{MSN}</span></td>
</tr>
<!-- END switch_showmsnm -->
<!-- BEGIN switch_showyahoo -->
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_YAHOO}:</span></td>
<td class="row1" valign="middle"><span class="gen">{YIM_IMG}</span></td>
</tr>
<!-- END switch_showyahoo -->
<!-- BEGIN switch_showaim -->
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_AIM}:</span></td>
<td class="row1" valign="middle"><span class="gen">{AIM_IMG}</span></td>
</tr>
<!-- END switch_showaim -->
<!-- BEGIN switch_showicq -->
<tr>
<td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_ICQ_NUMBER}:</span></td>
<td class="row1"><script language="JavaScript" type="text/javascript"><!--
if ( navigator.userAgent.toLowerCase().indexOf('mozilla') != -1 && navigator.userAgent.indexOf('5.') == -1 && navigator.userAgent.indexOf('6.') == -1 )
document.write(' {ICQ_IMG}');
else
document.write('<table cellspacing="0" cellpadding="0" border="0"><tr><td nowrap="nowrap"><div style="position:relative;height:18px"><div style="position:absolute">{ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{ICQ_STATUS_IMG}</div></div></td></tr></table>');
//--></script><noscript>{ICQ_IMG}</noscript></td>
</tr>
<!-- END switch_showicq -->
</table>
</td>
</tr>
<table class="forumline" width="100%" cellspacing="1" cellpadding="7" border="0" align="center">
<!-- BEGIN switch_user_sig_block -->
<tr>
<th class="thHead" colspan="2" height="25" nowrap="nowrap">• <b>{L_SIG}</b> •</th>
</tr>
<tr>
<td align="center" class="row1"><span class="postbody">{USER_SIG}</span></td>
</tr>
<!-- END switch_user_sig_block -->
</table>
<br />
<table class="forumline" width="100%" cellspacing="1" cellpadding="7" border="0" align="center">
<!-- BEGIN switch_user_admin -->
<tr>
<th class="thHead" colspan="2" height="25" nowrap="nowrap">• <b>{L_QUICK_ADMIN_OPTIONS}</b> •</th>
</tr>
<tr>
<td class="row1" colspan="2" align="center"><span class="gen"><a href="{U_ADMIN_EDIT_PROFILE}">{L_ADMIN_EDIT_PROFILE}</a> || <a href="{U_ADMIN_EDIT_PERMISSIONS}">{L_ADMIN_EDIT_PERMISSIONS}</a> || {L_USER_ACTIVE_INACTIVE} || {L_BANNED_USERNAME} || {L_BANNED_EMAIL}</span></td>
</tr>
<!-- END switch_user_admin -->
</table>
<br /><br />
<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
<tr>
<td align="center"><span class="nav"><a href="{U_INDEX}" class="nav">• Zurück zum Forum •</a></span></td>
</tr>
</table>
Ich habe einige Mods für das Profil eingebaut, die Anweisungen dafür müssen hier dann ausgebaut werden, wenn Ihr die Mods nicht eingebaut habt.
In der lang_main.php müssten ggf. auch ein paar Änderungen vorgenommen werden, damit die Beschriftung so ausschaut wie auf dem Screenshot.
Viele Grüße.