Seite 1 von 1

Probleme mit dem Mod: [2.0.5] Neues Feld für Postingbereich

Verfasst: 15.09.2003 15:27
von Gregor
Hallo, ich habe ein problem mit diesm mod, bei meinem phpbb 2.0.6:

Als design habe ich Eos Expendit

und zwar steht in der anleitung folgendes, aber bei mir ist es nicht vorhanden :(
#
#-----[ ÖFFNEN ]--------------------------------------------------
#
# templates/xxx/posting_preview.tpl
#
#-----[ FINDE ]--------------------------------------------------
#
<td class="row1"><table width="100%" border="0" cellspacing="0" cellpadding="0">
#
#-----[ DARUNTER EINFÜGEN ]--------------------------------------------------
#
<tr>
<td>
<span class="gensmall">{POST_EXTRA}</span>
</td>
</tr>



#
#-----[ ÖFFNEN ]--------------------------------------------------
#
# templates/xxx/posting_topicreview.tpl
#
#-----[ FINDE ]--------------------------------------------------
#
<tr>
<td colspan="2"><hr /></td>
</tr>

#
#-----[ DARUNTER EINFÜGEN ]--------------------------------------------------
#
<tr>
<td colspan="2"><span class="gensmall">{postrow.POST_EXTRA}</span></td>
</tr>



#
#-----[ ÖFFNEN ]--------------------------------------------------
#
# templates/xxx/viewtopic_body.tpl
#
#-----[ FINDE ]--------------------------------------------------
#
<tr>
<td colspan="2"><hr /></td>
</tr>

#
#-----[ DARUNTER EINFÜGEN ]--------------------------------------------------
#
<tr>
<td colspan="2"><span class="gensmall">{postrow.POST_EXTRA}</span></td>
</tr>


Verfasst: 15.09.2003 17:56
von Gregor
Hier mal die dateien:

posting_preview.tpl

Code: Alles auswählen

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td width="50" align="right" valign="bottom"><img src="templates/Eos/images/top_left.gif" width="50" height="28" border="0" alt="" /></td>
	<td width="100%" align="center" valign="middle" background="templates/Eos/images/top_center.gif"><span class="cattitle">{L_PREVIEW}</span></td>
	<td width="50" align="left" valign="bottom"><img src="templates/Eos/images/top_right.gif" width="50" height="28" border="0" alt="" /></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="1" width="100%" class="forumline">
<tr>
	<td class="th" align="center" valign="middle"><table border="0" cellspacing="0" cellpadding="2" width="100%">
	<tr height="26">
		<td align="left" valign="middle" nowrap="nowrap"><img src="templates/Eos/images/icon_minipost.gif" alt="{L_POST}" /><span class="genmed">{L_POSTED}: {POST_DATE}</span></td>
	</tr></table></td>
</tr>
<tr>
	<td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- main table start -->
			<tr>
				<td>
					<span class="gensmall">{POST_EXTRA}</span>
				</td>
			</tr>	
  <tr>
		<td width="150" align="left" valign="top"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- left row table start -->
		<tr>
			<td width="100%" align="left" valign="top" background="templates/Eos/images/post_bg.gif"><table border="0" cellspacing="0" cellpadding="4">
			<tr>
				<td align="left" valign="top"><img src="templates/Eos/images/spacer.gif" width="150" height="100" border="0" alt="" /></td>
			</tr>
			</table><br /><br /></td>
			<td width="10" background="templates/Eos/images/post_right.gif"><img src="templates/Eos/images/spacer.gif" width="10" height="1" border="0" /></td>
		</tr>
		<tr>
			<td height="10" background="templates/Eos/images/post_bottom.gif"><img src="templates/Eos/images/spacer.gif" width="1" height="10" border="0" /></td>
			<td width="10" height="10"><img src="templates/Eos/images/post_corner.gif" width="10" height="10" border="0" /></td>
		</tr>
		<!-- left row table end --></table><br /><br /></td>
		<td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right top row table start -->
		<tr>
			<td width="100%"><span class="postbody">{MESSAGE}</span></td>
		</tr>
		<!-- right top row table end --></table></td>
	</tr>
	</table></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td width="12" align="right" valign="top"><img src="templates/Eos/images/bottom_left.gif" width="12" height="12" border="0" alt="" /></td>
	<td width="100%" background="templates/Eos/images/bottom_center.gif"><img src="templates/Eos/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
	<td width="12" align="left" valign="top"><img src="templates/Eos/images/bottom_right.gif" width="12" height="12" border="0" alt="" /></td>
</tr>
</table>

<table width="100%"><tr><td><img src="templates/Eos/images/spacer.gif" width="1" height="10" border="0" /></td></tr></table><!-- replacement of <br clear="all" /> because of Opera 7 bug. -->
und die t
posting_topic_review.tpl

Code: Alles auswählen

<!-- BEGIN switch_inline_mode -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td width="50" align="right" valign="bottom"><img src="templates/Eos/images/top_left.gif" width="50" height="28" border="0" alt="" /></td>
	<td width="100%" align="center" valign="middle" background="templates/Eos/images/top_center.gif"><span class="cattitle">{L_TOPIC_REVIEW}</span></td>
	<td width="50" align="left" valign="bottom"><img src="templates/Eos/images/top_right.gif" width="50" height="28" border="0" alt="" /></td>
</tr>
</table>
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
	<tr>
		<td class="row1"><iframe width="100%" height="300" src="{U_REVIEW_TOPIC}" >
<!-- END switch_inline_mode -->
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
	<tr>
		<th class="thCornerL" width="22%" height="26">{L_AUTHOR}</th>
		<th class="thCornerR">{L_MESSAGE}</th>
	</tr>
	<!-- BEGIN postrow -->
	<tr>
		<td width="22%" align="left" valign="top" class="{postrow.ROW_CLASS}"><span class="name"><a name="{postrow.U_POST_ID}"></a><b>{postrow.POSTER_NAME}</b></span></td>
		<td class="{postrow.ROW_CLASS}" height="28" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr> 
				<td width="100%"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /><span class="postdetails">{L_POSTED}: {postrow.POST_DATE}<span class="gen">&nbsp;</span>&nbsp;&nbsp;&nbsp;{L_POST_SUBJECT}: {postrow.POST_SUBJECT}</span></td>
			</tr>
			<tr> 
				<td colspan="2"><hr /></td>
			</tr>
			<tr>
				<td colspan="2"><span class="gensmall">{postrow.POST_EXTRA}</span></td>
			</tr>
			<tr> 
				<td colspan="2"><span class="postbody">{postrow.MESSAGE}</span></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td colspan="2" height="1" class="spaceRow"><img src="templates/Eos/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	 <!-- END postrow -->
</table>
<!-- BEGIN switch_inline_mode -->
		</iframe></td>
	</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td width="12" align="right" valign="top"><img src="templates/Eos/images/bottom_left.gif" width="12" height="12" border="0" alt="" /></td>
	<td width="100%" background="templates/Eos/images/bottom_center.gif"><img src="templates/Eos/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
	<td width="12" align="left" valign="top"><img src="templates/Eos/images/bottom_right.gif" width="12" height="12" border="0" alt="" /></td>
</tr>
</table>
<!-- END switch_inline_mode -->
und die viewtopic_body.tpl

Code: Alles auswählen

<!-- BEGIN switch_xs_enabled -->
<?php

// This code will be visible only with eXtreme Styles mod

$search_img = '<a href="search.' . $this->vars['PHP'] . 'search_author=%s"><img src="' . $this->vars['TEMPLATE'] . 'images/lang_' . $this->vars['LANG'] . '/icon_search.gif" border="0" alt="' . $lang['Search_user_posts'] . '"></a>';

$postrow_count = ( isset($this->_tpldata['postrow.']) ) ?  sizeof($this->_tpldata['postrow.']) : 0;
for ($postrow_i = 0; $postrow_i < $postrow_count; $postrow_i++)
{
	$postrow_item = &$this->_tpldata['postrow.'][$postrow_i];
	// replace username with link to user profile
	if(!empty($postrow_item['PROFILE']))
	{
		$postrow_item['SEARCH_IMG2'] = str_replace('%s', $postrow_item['POSTER_NAME'], $search_img);
		$search = array($lang['Read_profile'], '<a ');
		$replace = array($postrow_item['POSTER_NAME'], '<a class="name" ');
		$postrow_item['POSTER_NAME'] = str_replace($search, $replace, $postrow_item['PROFILE']);
	}
}

?>
<!-- END switch_xs_enabled -->
<table width="100%" cellspacing="2" cellpadding="2" border="0">
  <tr> 
	<td align="left" valign="middle"><span class="nav">
	  <a href="{U_INDEX}" class="nav">{L_INDEX}</a> 
	  -> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a>
	  -> <a class="nav" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></span></td>
	 <td align="right" valign="middle"><span class="nav"><b>{PAGINATION}</b></span></td>
  </tr>
  <tr>
    <td align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
	<td align="right" valign="middle"><span class="nav">
	<a href="{U_VIEW_OLDER_TOPIC}" class="nav">{L_VIEW_PREVIOUS_TOPIC}</a> :: <a href="{U_VIEW_NEWER_TOPIC}" class="nav">{L_VIEW_NEXT_TOPIC}</a>&nbsp;
	</span></td>
  </tr>
</table>

{POLL_DISPLAY}

<!-- BEGIN postrow -->
<a name="{postrow.U_POST_ID}"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td width="50" align="right" valign="bottom"><img src="templates/Eos/images/top_left.gif" width="50" height="28" border="0" alt="" /></td>
	<td width="100%" align="center" valign="middle" background="templates/Eos/images/top_center.gif"><span class="cattitle">{postrow.POST_SUBJECT}</span></td>
	<td width="50" align="left" valign="bottom"><img src="templates/Eos/images/top_right.gif" width="50" height="28" border="0" alt="" /></td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="1" width="100%" class="forumline">
<tr>
	<td class="th" align="center" valign="middle"><table border="0" cellspacing="0" cellpadding="2" width="100%">
	<tr height="26">
		<td align="left" valign="middle" nowrap="nowrap"><a href="{postrow.U_MINI_POST}"><img src="{postrow.MINI_POST_IMG}" width="12" height="9" alt="{postrow.L_MINI_POST_ALT}" title="{postrow.L_MINI_POST_ALT}" border="0" /></a><span class="genmed">{L_POSTED}: {postrow.POST_DATE}</span></td>
		<td align="right" valign="bottom" nowrap="nowrap">{postrow.QUOTE_IMG} {postrow.EDIT_IMG} {postrow.DELETE_IMG} {postrow.IP_IMG} </td>
	</tr></table></td>
</tr>
<tr>
	<td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- main table start -->
	<tr>
		<td width="150" align="left" valign="top" rowspan="2"><table border="0" cellspacing="0" cellpadding="0" width="100%"><!-- left row table start -->
		<tr>
			<td width="100%" align="left" valign="top" background="templates/Eos/images/post_bg.gif"><table border="0" cellspacing="0" cellpadding="4">
			<tr>
				<td align="left" valign="top"><table border="0" cellspacing="0" cellpadding="0">
				<tr><td nowrap="nowrap"><span class="name"><b>{postrow.POSTER_NAME}</b></span></td></tr>
				<tr><td nowrap="nowrap"><span class="postdetails">{postrow.POSTER_RANK}</span></td></tr>
				<tr><td nowrap="nowrap"><span class="postdetails">{postrow.RANK_IMAGE}{postrow.POSTER_AVATAR}</span></tr>
				<tr><td>&nbsp;</td></tr>
				<tr><td nowrap="nowrap"><span class="postdetails">{postrow.POSTER_JOINED}</span></td></tr>
				<tr><td nowrap="nowrap"><span class="postdetails">{postrow.POSTER_POSTS}</span></td></tr>
				<tr><td><span class="postdetails">{postrow.POSTER_FROM}</span></td></tr>
				</table></td>
			</tr>
			</table><br /><br /></td>
			<td width="10" background="templates/Eos/images/post_right.gif"><img src="templates/Eos/images/spacer.gif" width="10" height="1" border="0" /></td>
		</tr>
		<tr>
			<td height="10" background="templates/Eos/images/post_bottom.gif"><img src="templates/Eos/images/spacer.gif" width="1" height="10" border="0" /></td>
			<td width="10" height="10"><img src="templates/Eos/images/post_corner.gif" width="10" height="10" border="0" /></td>
		</tr>
		<!-- left row table end --></table><br /><br /></td>
		<td class="row1" align="left" valign="top" width="100%"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right top row table start -->
		<tr>
			<td width="100%"><span class="postbody">{postrow.MESSAGE}</span></td>
		</tr>
		<!-- right top row table end --></table></td>
	</tr>
	<tr>
		<td class="row1" align="left" valign="bottom" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="5" width="100%"><!-- right bottom row start -->
		<tr>
			<td width="100%"><span class="postbody"><span class="gensmall">{postrow.EDITED_MESSAGE}</span>{postrow.SIGNATURE}</span></td>
		</tr>
		<!-- right bottom row end --></table></td>
	</tr>
	</table></td>
</tr>
<tr>
	<td height="28" align="left" valign="bottom" class="row4"><table border="0" cellspacing="0" cellpadding="3">
	<tr>
		<td width="120"><img src="templates/Eos/images/spacer.gif" width="120" height="1" border="0" /></td>
		<td align="left" valign="middle" nowrap="nowrap">{postrow.PROFILE_IMG} {postrow.SEARCH_IMG2} {postrow.PM_IMG} {postrow.EMAIL_IMG} {postrow.WWW_IMG} {postrow.AIM_IMG} {postrow.YIM_IMG} {postrow.MSN_IMG}</td>
		<td align="left" valign="top" nowrap="nowrap"><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(' {postrow.ICQ_IMG}');
	else
		document.write('<div style="position:relative"><div style="position:absolute">{postrow.ICQ_IMG}</div><div style="position:absolute;left:4px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
		  
		  //--></script><noscript>{postrow.ICQ_IMG}</noscript></td>
	    <td width="60"><img src="templates/Eos/images/spacer.gif" width="60" height="1" border="0" /></td>
	</tr></table></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td width="12" align="right" valign="top"><img src="templates/Eos/images/bottom_left.gif" width="12" height="12" border="0" alt="" /></td>
	<td width="100%" background="templates/Eos/images/bottom_center.gif"><img src="templates/Eos/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
	<td width="12" align="left" valign="top"><img src="templates/Eos/images/bottom_right.gif" width="12" height="12" border="0" alt="" /></td>
</tr>
</table>
<table width="100%"><tr><td><img src="templates/Eos/images/spacer.gif" width="1" height="10" border="0" /></td></tr></table><!-- replacement of <br clear="all" /> because of Opera 7 bug. -->
<!-- END postrow -->

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
	<td width="50" align="right" valign="bottom"><img src="templates/Eos/images/top_left.gif" width="50" height="28" border="0" alt="" /></td>
	<td width="100%" align="center" valign="middle" background="templates/Eos/images/top_center.gif"><a class="cattitle" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></span></td>
	<td width="50" align="left" valign="bottom"><img src="templates/Eos/images/top_right.gif" width="50" height="28" border="0" alt="" /></td>
</tr>
</table>
<table class="forumline" width="100%" cellspacing="1" cellpadding="" border="0">
<tr>
	<th align="left">&nbsp;<a class="th" href="{U_INDEX}">{L_INDEX}</a> -> <a class="th" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></th>
</tr>
<tr>
	<td class="row1" align="left" valign="top">
	<table border="0" cellspacing="0" cellpadding="5" width="100%">
	<tr>
		<td align="left" valign="top">
			<span class="gensmall">{S_AUTH_LIST}</span>
		</td>
		<td align="right" valign="top">
			<span class="gensmall">{S_TIMEZONE}&nbsp;&nbsp;<br />
			{PAGE_NUMBER}&nbsp;&nbsp;</span>
			<span class="nav"><b>{PAGINATION}</b></span><br />
			<span class="gensmall">{S_WATCH_TOPIC}</span>
		</td>
	</tr>
	</table>
	</td>
</tr>
<tr>
	<td class="row4" align="center" valign="middle" nowrap="nowrap"><table border="0" cellspacing="0" cellpadding="2" width="100%">
	<tr>
		<form method="post" action="{S_POST_DAYS_ACTION}"><td align="left" valign="middle" nowrap="nowrap">{S_SELECT_POST_DAYS}&nbsp;{S_SELECT_POST_ORDER}&nbsp;<input type="submit" value="{L_GO}" class="liteoption" name="submit" /></td></form>
		<td align="right" valign="middle" nowrap="nowrap">{JUMPBOX}</td>
	</tr>
	</table>
	</td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
	<td width="12" align="right" valign="top"><img src="templates/Eos/images/bottom_left.gif" width="12" height="12" border="0" alt="" /></td>
	<td width="100%" background="templates/Eos/images/bottom_center.gif"><img src="templates/Eos/images/spacer.gif" width="1" height="1" border="0" alt="" /></td>
	<td width="12" align="left" valign="top"><img src="templates/Eos/images/bottom_right.gif" width="12" height="12" border="0" alt="" /></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="5" width="100%">
<tr>
	<td align="left" valign="top">&nbsp;<a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" align="middle" /></a>&nbsp;&nbsp;<a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" border="0" alt="{L_POST_REPLY_TOPIC}" align="middle" /></a></td>
	<td align="right" valign="top">{S_TOPIC_ADMIN}&nbsp;</td>
</tr>
</table>
<table width="100%"><tr><td><img src="templates/Eos/images/spacer.gif" width="1" height="10" border="0" /></td></tr></table><!-- replacement of <br clear="all" /> because of Opera 7 bug. -->

Verfasst: 15.09.2003 20:31
von Gregor
*schieb* ist sehr wichtig :(