Seite 1 von 1

doppeltes topic_review in der posting.php

Verfasst: 18.09.2005 01:43
von kolja
moin

ich hab seit geraumer zeit ein problem in meiner posting php

aber schaut selbst:

screenshot

beim antworten werden die alten postings erst ohne css informationen dargestellt
darunter steht das ganze dann nochmal "normal"

wers live sehen will

www.mona-davinci.de
user: testaccount
pw: 0000

hab schon in den *.tpl dateien geschaut, aber nix gefunden

wenn ich in der posting.php diese:

Code: Alles auswählen

//
// If the mode is set to topic review then output
// that review ...
//
if ( $mode == 'topicreview' )
{
	require($phpbb_root_path . 'includes/topic_review.'.$phpEx);

	topic_review($topic_id, false);
	exit;
}
else if ( $mode == 'smilies' )
{
	generate_smilies('window', PAGE_POSTING);
	exit;
}
zeilen lösche,
sehe ich anstatt des unformatierten teils den header....

bin ziemlich ratlos und hoffe auf hilfe

danke kolja

Verfasst: 18.09.2005 10:17
von rabbit
verlinke mal deine posting_body.tpl hier als txt-datei (KB:datei).

außerdem bitte das image verlinken und nicht in deinen post einbinden, denn dadurch entsteht ein hässlicher horizontaler scrollbalken. ;)

Verfasst: 18.09.2005 17:35
von kolja
an die posting_body.tpl kommt man doch auch so dran:

www.mona-davinci.de/templates/subgreen/posting_body.tpl

sorry wg dem etwas zu grossen screenshot

kolja

Verfasst: 19.09.2005 14:55
von kolja
ich weiß ist n doofes problem, da es keinen wirklichen ansatz gibt...

aber es ist so ziemlich das letzte problem, was noch vor der veröffentlichung gelöst werden sollte.

also wenn einem irgendetwas einfällt, so möge er oder sie es doch bitte schreiben

danke kolja

Verfasst: 19.09.2005 15:11
von Markus67
Hi ...

ersetze mal deine posting_topic_review.tpl mit der hier ....

Code: Alles auswählen

<!-- BEGIN switch_inline_mode -->
<table border="0" cellpadding="3" cellspacing="1" width="100%" class="forumline">
	<tr> 
		<td class="catHead" height="28" align="center"><b><span class="cattitle">{L_TOPIC_REVIEW}</span></b></td>
	</tr>
	<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="postbody">{postrow.MESSAGE}</span></td>
			</tr>
		</table></td>
	</tr>
	<tr> 
		<td colspan="2" height="1" class="spaceRow"><img src="templates/subSilver/images/spacer.gif" alt="" width="1" height="1" /></td>
	</tr>
	 <!-- END postrow -->
</table>
<!-- BEGIN switch_inline_mode -->
		</iframe></td>
	</tr>
</table>
<!-- END switch_inline_mode -->
Markus

Verfasst: 19.09.2005 15:35
von kolja
danke markus für die hilfe,
aber leider ist jetzt nur noch der unformatierte teil zu sehen...

kolja

Verfasst: 19.09.2005 18:35
von kolja
ich hab jetzt mal einfach diesen teil:

Code: Alles auswählen

<div style="position:absolute;left:3px;top:-1px">{postrow.ICQ_STATUS_IMG}</div></div>');
gelöscht und siehe da es passt wieder alles

kolja