Seite 1 von 1

Autor / Last Autor

Verfasst: 23.07.2009 09:52
von newwarrior
Moin,

ich habe ein kleines Problem.
In meinem Style, wird der Autor des Themas beim Letzten Beitrag angezeigt und der den Letzten Beitrag geschrieben hat als Autor angezeigt.

(view_forum.php)

Habe mal in den Style geschaut, dort stehen aber die richtigen Variablen in der Styledatei drinne, bin jetzt ein bisschen verwirrt.
Wir kann ich das Problem beheben?
Danke

Re: Autor / Last Autor

Verfasst: 23.07.2009 09:57
von Dufftown
Moin,


also meine Glaskugel meint gerade, dass Du gestern mit dem falschen Fuss aufgestanden bist. Vielleicht ist das das Problem. :lol:

Ernsthaft: Hast Du vielleicht ein bisschen mehr Info? Style, Link, Bildschirmfoto, etc. ... wenigsten irgendwas.

Re: Autor / Last Autor

Verfasst: 23.07.2009 10:24
von newwarrior
Sorry :oops:

Style: Avalon Green

Hier mal ein Auszug aus der Style Datei viewforum_body.html:

Code: Alles auswählen

<!-- INCLUDE overall_header.html -->

<!-- IF S_FORUM_RULES -->
	<div class="forumrules">
		<!-- IF U_FORUM_RULES -->
			<h3>{L_FORUM_RULES}</h3><br />
			<a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a>
		<!-- ELSE -->
			<h3>{L_FORUM_RULES}</h3><br />
			{FORUM_RULES}
		<!-- ENDIF -->
	</div>

	<br clear="all" />
<!-- ENDIF -->

<!-- IF S_DISPLAY_ACTIVE -->
	<!-- IF S_TOPIC_ICONS --><!-- BEGIN topicrow --><!-- IF topicrow.TOPIC_ICON_IMG --><!-- DEFINE $CA_HAS_ICONS = '1' --><!-- ENDIF --><!-- END topicrow --><!-- ENDIF -->
	{$CA_BLOCK_START}
	{$CA_CAP2_START}{L_ACTIVE_TOPICS}{$CA_CAP2_END}
	<table class="tablebg" width="100%" cellspacing="{$CA_SPACING}">
	<tr>
		<!-- IF $CA_HAS_ICONS -->
			<th colspan="3">&nbsp;{L_TOPICS}&nbsp;</th>
		<!-- ELSE -->
			<th colspan="2">&nbsp;{L_TOPICS}&nbsp;</th>
		<!-- ENDIF -->
		<th>&nbsp;{L_AUTHOR}&nbsp;</th>
		<th>&nbsp;{L_REPLIES}&nbsp;</th>
		<th>&nbsp;{L_VIEWS}&nbsp;</th>
		<th>&nbsp;{L_LAST_POST}&nbsp;</th>
	</tr>

	<!-- BEGIN topicrow -->

		<tr>
			<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>
			<!-- IF $CA_HAS_ICONS -->
				<td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ELSE -->&nbsp;<!-- ENDIF --></td>
			<!-- ENDIF -->
			<td class="row1">
				<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF -->
				{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle<!-- IF topicrow.S_UNREAD_TOPIC --> link-new<!-- ENDIF -->">{topicrow.TOPIC_TITLE}</a>
				<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->
					<a href="{topicrow.U_MCP_QUEUE}">{UNAPPROVED_IMG}</a>&nbsp;
				<!-- ENDIF -->
				<!-- IF topicrow.S_TOPIC_REPORTED -->
					<a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a>&nbsp;
				<!-- ENDIF -->
				<!-- IF topicrow.PAGINATION -->
					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p>
				<!-- ENDIF -->
			</td>
			<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.AUTHOR}</p></td>
			<td class="row1" width="50" align="center"><p class="topicdetails">{topicrow.REPLIES}</p></td>
			<td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td>
			<td class="row1" width="140" align="center">
				<p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p>
				<p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL}
					<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF -->
				</p>
			</td>
		</tr>

Re: Autor / Last Autor

Verfasst: 23.07.2009 10:36
von Dufftown
Hab jatzt mal im Avalon geschaut, ob Green oder was anderes sollte eigentlich gleich sein.

Also da heisst es statt

Code: Alles auswählen

<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.AUTHOR}</p></td>

Code: Alles auswählen

<td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td>
Vielleicht hilft das ja schon.

Re: Autor / Last Autor

Verfasst: 23.07.2009 12:15
von newwarrior
Nein.
Leider hat es nichts verändert.

Trotzdem danke...

Re: Autor / Last Autor

Verfasst: 23.07.2009 14:51
von wolfman24
Den Cache auch nach der Änderung gelöscht?

Re: Autor / Last Autor

Verfasst: 24.07.2009 09:23
von newwarrior
Ja.
Vom Board und von meinem Browser