Sinn dahinter bleibt mir auch verschlossen (für sowas würde ich eine simple HTML Datei erstellen), aber bitte:
viewtopic.php suche nach
und füge davor ein:
Code: Alles auswählen
if ($topic_id == HIER_DIE_ID_DEINES_THEMAS)
{
$template->assign_block_vars('altpostrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POSTER_NAME' => $poster,
'POSTER_RANK' => $poster_rank,
'RANK_IMAGE' => $rank_image,
'POSTER_JOINED' => $poster_joined,
'POSTER_POSTS' => $poster_posts,
'POSTER_FROM' => $poster_from,
'POSTER_AVATAR' => $poster_avatar,
'POST_DATE' => $post_date,
'POST_SUBJECT' => $post_subject,
'MESSAGE' => $message,
'SIGNATURE' => $user_sig,
'EDITED_MESSAGE' => $l_edited_by,
'MINI_POST_IMG' => $mini_post_img,
'PROFILE_IMG' => $profile_img,
'PROFILE' => $profile,
'SEARCH_IMG' => $search_img,
'SEARCH' => $search,
'PM_IMG' => $pm_img,
'PM' => $pm,
'EMAIL_IMG' => $email_img,
'EMAIL' => $email,
'WWW_IMG' => $www_img,
'WWW' => $www,
'ICQ_STATUS_IMG' => $icq_status_img,
'ICQ_IMG' => $icq_img,
'ICQ' => $icq,
'AIM_IMG' => $aim_img,
'AIM' => $aim,
'MSN_IMG' => $msn_img,
'MSN' => $msn,
'YIM_IMG' => $yim_img,
'YIM' => $yim,
'EDIT_IMG' => $edit_img,
'EDIT' => $edit,
'QUOTE_IMG' => $quote_img,
'QUOTE' => $quote,
'IP_IMG' => $ip_img,
'IP' => $ip,
'DELETE_IMG' => $delpost_img,
'DELETE' => $delpost,
'L_MINI_POST_ALT' => $mini_post_alt,
'U_MINI_POST' => $mini_post_url,
'U_POST_ID' => $postrow[$i]['post_id'])
);
}
else
{
suche nach
und füge davor ein:
jetzt noch in der viewtopic_body.tpl die neue altpostrow definiert indem du nach
einfach
Code: Alles auswählen
<!-- BEGIN altpostrow -->
<tr>
<td width="150" align="left" valign="top" class="{altpostrow.ROW_CLASS}"><span class="name"><a name="{altpostrow.U_POST_ID}"></a><b>{altpostrow.POSTER_NAME}</b></span><br /><span class="postdetails">{altpostrow.POSTER_RANK}<br />{altpostrow.RANK_IMAGE}{altpostrow.POSTER_AVATAR}<br /><br />{altpostrow.POSTER_JOINED}<br />{altpostrow.POSTER_POSTS}<br />{altpostrow.POSTER_FROM}</span><br /></td>
<td class="{altpostrow.ROW_CLASS}" width="100%" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%"><a href="{altpostrow.U_MINI_POST}"><img src="{altpostrow.MINI_POST_IMG}" width="12" height="9" alt="{altpostrow.L_MINI_POST_ALT}" title="{altpostrow.L_MINI_POST_ALT}" border="0" /></a><span class="postdetails">{L_POSTED}: {altpostrow.POST_DATE}<span class="gen"> </span> {L_POST_SUBJECT}: {altpostrow.POST_SUBJECT}</span></td>
<td valign="top" nowrap="nowrap">{altpostrow.QUOTE_IMG} {altpostrow.EDIT_IMG} {altpostrow.DELETE_IMG} {altpostrow.IP_IMG}</td>
</tr>
<tr>
<td colspan="2"><hr /></td>
</tr>
<tr>
<td colspan="2"><span class="postbody">{altpostrow.MESSAGE}{altpostrow.SIGNATURE}</span><span class="gensmall">{altpostrow.EDITED_MESSAGE}</span></td>
</tr>
</table></td>
</tr>
<tr>
<td class="{altpostrow.ROW_CLASS}" width="150" align="left" valign="middle"><span class="nav"><a href="#top" class="nav">{L_BACK_TO_TOP}</a></span></td>
<td class="{altpostrow.ROW_CLASS}" width="100%" height="28" valign="bottom" nowrap="nowrap"><table cellspacing="0" cellpadding="0" border="0" height="18" width="18">
<tr>
<td valign="middle" nowrap="nowrap">{altpostrow.PROFILE_IMG} {altpostrow.PM_IMG} {altpostrow.EMAIL_IMG} {altpostrow.WWW_IMG} {altpostrow.AIM_IMG} {altpostrow.YIM_IMG} {altpostrow.MSN_IMG}<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(' {altpostrow.ICQ_IMG}');
else
document.write('</td><td> </td><td valign="top" nowrap="nowrap"><div style="position:relative"><div style="position:absolute">{altpostrow.ICQ_IMG}</div><div style="position:absolute;left:3px;top:-1px">{altpostrow.ICQ_STATUS_IMG}</div></div>');
//--></script><noscript>{altpostrow.ICQ_IMG}</noscript></td>
</tr>
</table></td>
</tr>
<tr>
<td class="spaceRow" colspan="2" height="1"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
</tr>
<!-- END altpostrow -->
So jetzt alles zw. BEGIN altpostrow und END postrow so editieren wie gewünscht und gut ist.