Seite 2 von 5

Verfasst: 09.09.2008 01:07
von mastro
so also die includes/functions_display.php
hab ich jetzt bearbeitet

aber mit der styles/3myl_sable/template/forumlist_body.html

komm ich nicht weiter

ich hab die 2 datein mal hochgeladen

http://rapidshare.com/files/143737171/backup.rar

vielleicht könnt ihr dabei ja mal schaun

Verfasst: 09.09.2008 01:18
von Metzle
mastro hat geschrieben: aber mit der styles/3myl_sable/template/forumlist_body.html

komm ich nicht weiter
Wo kommst du denn nicht weiter? Ich finde alle Codestücke, nach denen man etwas einfügen muss.

Die includes/functions_display.php sieht gut aus. HAb zwar nicht alles nachgeschaut, aber die ersten 3 Änderungen stimmen, da geh ich dann mal von aus, dass der Rest auch stimmen wird.

Verfasst: 09.09.2008 12:41
von mastro
ja sag ich ja mit der hab ich keine probleme nur mit dem style dort finde ich die zeilen nicht

Verfasst: 09.09.2008 13:01
von Metzle
mastro hat geschrieben:ja sag ich ja mit der hab ich keine probleme nur mit dem style dort finde ich die zeilen nicht
Dann schau nochmal richtig danach, denn die gibt es.

Verfasst: 09.09.2008 14:05
von mastro
dieser fehler kommt wenn ich den mod installieren will

SQL ERROR [ mysqli ]

Duplicate column name 'forum_recent_topics' [1060]

Verfasst: 09.09.2008 14:15
von nickvergessen
Dann hast du sie schon einmal installiert.

Verfasst: 09.09.2008 14:31
von mastro
ok dann hab ich update genohmen
das hat geklappt
Update der MOD von v0.1.1 nach v1.0.0d war erfolgreich

aber hier mit komm ich nicht klar

Code: Alles auswählen

Open: styles/prosilver/template/forumlist_body.html
Find
Tip: This may be a partial find and not the whole line.

Code:Select All
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>
In-line Find
Tip: This is a partial match of a line for in-line operations.

Code:Select All
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn>
In-line Add after

Code:Select All
 <!-- IF forumrow.ALTT_LINK_NAME_SHORT --><a <!-- IF forumrow.ALTT_STYLE_BOLD or forumrow.ALTT_STYLE_ITALIC or forumrow.ALTT_STYLE_ADV -->style="<!-- IF forumrow.ALTT_STYLE_BOLD -->font-weight: bold;<!-- ENDIF --><!-- IF forumrow.ALTT_STYLE_ITALIC -->font-style: italic;<!-- ENDIF --> <!-- IF forumrow.ALTT_STYLE_ADV -->{forumrow.ALTT_STYLE_ADV2}<!-- ENDIF -->"<!-- ENDIF --> href="{forumrow.U_ALTT_LINK}" title="{forumrow.ALTT_LINK_NAME}">{forumrow.ALTT_LINK_NAME_SHORT}</a><br /><!-- ENDIF -->

so sieht die forumlis body aus von meinem style

Code: Alles auswählen

<table class="tablebg" cellspacing="1" width="100%">
<tr>
	<td class="cat" colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF not S_IS_BOT and U_MARK_FORUMS --><a class="nav" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- ENDIF -->&nbsp;</td>
</tr>
<tr>
	<th colspan="2">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50">&nbsp;{L_POSTS}&nbsp;</th>
	<th>&nbsp;{L_LAST_POST}&nbsp;</th>
</tr>
<!-- BEGIN forumrow -->
	<!-- IF forumrow.S_IS_CAT -->
		<tr>
			<td class="cat" colspan="2"><h4><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td>
			<td class="cat" colspan="3">&nbsp;</td>
		</tr>
	<!-- ELSEIF forumrow.S_IS_LINK -->
		<tr>
			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<!-- IF forumrow.CLICKS -->
				<td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td>
			<!-- ELSE -->
				<td class="row2" colspan="3" align="center">&nbsp;</td>
			<!-- ENDIF -->
		</tr>
	<!-- ELSE -->
		<!-- IF forumrow.S_NO_CAT -->
			<tr>
				<td class="cat" colspan="2"><h4>{L_FORUM}</h4></td>
				<td class="catdiv" colspan="3">&nbsp;</td>
			</tr>
		<!-- ENDIF -->
		<tr>
			<td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td>
			<td class="row1" width="100%">
				<!-- IF forumrow.FORUM_IMAGE -->
					<div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};">
				<!-- ENDIF -->
				<a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a>
				<p class="forumdesc">{forumrow.FORUM_DESC}</p>
				<!-- IF forumrow.MODERATORS -->
					<p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.SUBFORUMS -->
					<p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p>
				<!-- ENDIF -->
				<!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF -->
			</td>
			<td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td>
			<td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td>
			<td class="row2" align="center" nowrap="nowrap">
				<!-- IF forumrow.LAST_POST_TIME -->
 

					<p class="topicdetails">{forumrow.LAST_POST_TIME}</p>
					<p class="topicdetails">{forumrow.LAST_POSTER_FULL}
						<a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a>
					</p>
				<!-- ELSE -->
					<p class="topicdetails">{L_NO_POSTS}</p>
				<!-- ENDIF -->
			</td>
		</tr>
	<!-- ENDIF -->
<!-- BEGINELSE -->
	<tr>
		<td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td>
	</tr>
<!-- END forumrow -->
</table>

wo soll ich das dort einfügen

Verfasst: 09.09.2008 14:45
von Metzle
Hallo,

dann nochmal:

Du sollst nur die Änderungen für subsilver2 nehmen, die in der subsilver2.xml stehen.

Verfasst: 09.09.2008 14:53
von mastro
ok
ich habe jetzt das geändet

Find:
Tip: This may be a partial find and not the whole line.

Code:Select All
<!-- IF forumrow.LAST_POST_TIME -->
Add after
Tip: Add these lines on a new blank line after the preceding line(s) to find.

Code:Select All
<!-- IF forumrow.ALTT_LINK_NAME_SHORT --><p><a <!-- IF forumrow.ALTT_STYLE_BOLD or forumrow.ALTT_STYLE_ITALIC or forumrow.ALTT_STYLE_ADV -->style="<!-- IF forumrow.ALTT_STYLE_BOLD -->font-weight: bold;<!-- ENDIF --><!-- IF forumrow.ALTT_STYLE_ITALIC -->font-style: italic;<!-- ENDIF --> <!-- IF forumrow.ALTT_STYLE_ADV -->{forumrow.ALTT_STYLE_ADV2}<!-- ENDIF -->"<!-- ENDIF --> href="{forumrow.U_ALTT_LINK}" title="{forumrow.ALTT_LINK_NAME}">{forumrow.ALTT_LINK_NAME_SHORT}</a></p><!-- ENDIF -->
DIY Instructions
These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.


in meinem style
aber es tut sich nicht
ich hab die cache geleert
hab im adm /mod index auf ja gestellt und zeige themen 5 gesetzt
und noch mal den cache geleert aber nix passiert

Verfasst: 09.09.2008 15:00
von Metzle
mastro hat geschrieben: hab im adm /mod index auf ja gestellt und zeige themen 5 gesetzt
und noch mal den cache geleert aber nix passiert
Diese Einstellungen kann man bei dieser Mod gar nicht vornehmen, meiner Meinung nach. Diese Einstellungen gehören zu einer anderen Mod, nämlich zur Recent Topics Mod von nickvergessen.
Advanced last topic titles hat andere Einstellungen im ACP.