Autor / Last Autor

Alles zu Styles, Templates, Icons und Smilies für phpBB 3.0.x, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
phpBB Styles Demo
Forumsregeln
Bei Style spezifischen Fragen ist der Stylename und die Downloadquelle des Styles erforderlich, besser noch die URL vom betroffenen Forum.
Antworten
newwarrior
Mitglied
Beiträge: 16
Registriert: 05.07.2009 19:58

Autor / Last Autor

Beitrag 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
Benutzeravatar
Dufftown
Mitglied
Beiträge: 696
Registriert: 08.12.2008 14:22
Wohnort: Barsinghausen

Re: Autor / Last Autor

Beitrag 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.
Meine SQL-Statements sind immer ohne Tabellen-Prefix. Also ggf. "phpbb_" oder Euer Prefix einfügen.
KEIN Support auf unaufgeforderte PN
newwarrior
Mitglied
Beiträge: 16
Registriert: 05.07.2009 19:58

Re: Autor / Last Autor

Beitrag 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>
Benutzeravatar
Dufftown
Mitglied
Beiträge: 696
Registriert: 08.12.2008 14:22
Wohnort: Barsinghausen

Re: Autor / Last Autor

Beitrag 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.
Meine SQL-Statements sind immer ohne Tabellen-Prefix. Also ggf. "phpbb_" oder Euer Prefix einfügen.
KEIN Support auf unaufgeforderte PN
newwarrior
Mitglied
Beiträge: 16
Registriert: 05.07.2009 19:58

Re: Autor / Last Autor

Beitrag von newwarrior »

Nein.
Leider hat es nichts verändert.

Trotzdem danke...
wolfman24
Mitglied
Beiträge: 892
Registriert: 25.09.2005 13:17

Re: Autor / Last Autor

Beitrag von wolfman24 »

Den Cache auch nach der Änderung gelöscht?
newwarrior
Mitglied
Beiträge: 16
Registriert: 05.07.2009 19:58

Re: Autor / Last Autor

Beitrag von newwarrior »

Ja.
Vom Board und von meinem Browser
Antworten

Zurück zu „[3.0.x] Styles, Templates und Grafiken“