2.017 -> style: chunkstyle will lasttopicinforum einbauen

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
JuniorSatan
Mitglied
Beiträge: 48
Registriert: 23.01.2005 19:00
Wohnort: Berlin

2.017 -> style: chunkstyle will lasttopicinforum einbauen

Beitrag von JuniorSatan »

ich hab nen prob beim einbauen vom lasttopicinforum mod von AWSW glaub ich...

natürlich muss wie bei fast jedem mod die vieforum_body.tpl bearbeitet werden, beim subsilver hat das natrülich auch alles geklappt, aber beim chunkstyle funzt es nicht :(

hier ist die anleitung für susbilver...

Öffne

Code: Alles auswählen

templates/subSilver/viewforum_body.tpl

Finde

Code: Alles auswählen

<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
davor hinzufügen

Code: Alles auswählen

<!-- BEGIN fetchpost_row -->
<table border="0" cellpadding="4" cellspacing="1" width="100%" class="forumline">
<tr>
	<td class="catHead" height="25" width="100%"><span class="genmed"><b>{L_LAST_POST_TEXT}:</b> {fetchpost_row.TITLE}</span></td>
</tr>
<tr>
	<td class="row2" align="left" height="24"><span class="gensmall">{L_POSTED}: <b>{fetchpost_row.POSTER}</b> @ {fetchpost_row.TIME}</span></td>
</tr>
<tr>
	<td class="row1" align="left"><span class="gensmall" style="line-height:150%">{fetchpost_row.TEXT}<br /><br />{fetchpost_row.OPEN}<a href="{fetchpost_row.U_READ_FULL}">{fetchpost_row.L_READ_FULL}</a>{fetchpost_row.CLOSE}</span></td>
</tr>
<tr>
	<td class="row3" align="left" height="24"><span class="gensmall">{L_COMMENTS}: {fetchpost_row.REPLIES} :: <a href="{fetchpost_row.U_VIEW_COMMENTS}">{L_VIEW_COMMENTS}</a> (<a href="{fetchpost_row.U_POST_COMMENT}">{L_POST_COMMENT}</a>)</span></td>
</tr>
</table><br>
<!-- END fetch_post_row -->
das hat wie geagt geklappt doch ich find es nich im chunkstyle bzw find och keine ähnlichkeiten mit dem code beim subislver, hier die viewforum_body.tpl vom chunkstyle...

Code: Alles auswählen

<table class="forumborder" width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
	<tr>
  		<td colspan="2" class="title2" style="border-top:0px;" width="100%">
		Go to </td>
	</tr>
	<tr>
		<td class="colour1" align="left"><a class="nav" href="{U_INDEX}">{L_INDEX}</a> -> <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
	</tr>
</table>
<br />
<form method="post" action="{S_POST_DAYS_ACTION}">
  <table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
	<tr> 
	  <td align="left" valign="bottom"><a class="bigtitletext" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><br /><span class="smalltitletext"><b>{L_MODERATOR}: {MODERATORS}<br />{LOGGED_IN_USER_LIST}</b><br /><br /></span></td>
	  <td width="216" align="right" valign="bottom" nowrap="nowrap"><b>{PAGINATION}</b></td>
	</tr>
	<tr> 
	  <td align="left" valign="middle" width="594"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
	  <td align="right" valign="bottom" class="nav" nowrap="nowrap"><span class="gensmall"><a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a></span></td>
	</tr>
  </table>
<br />
  <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumborder">
	<tr> 
	  <th colspan="2" align="center" height="25" class="title1wbot" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	  <th width="50" align="center" class="title1wbot" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
	  <th width="100" align="center" class="title1wbot" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
	  <th width="50" align="center" class="title1wbot" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
	  <th align="center" class="title1wbot" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
	</tr>
	<!-- BEGIN topicrow -->
	<tr> 
	  <td class="colour1" align="center" valign="middle" width="20"><img src="{topicrow.TOPIC_FOLDER_IMG}" width="19" height="18" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /></td>
	  <td class="colour1" width="100%"><span class="topictitle">{topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="gensmall"><br />
		{topicrow.GOTO_PAGE}</span></td>
	  <td class="colour2" align="center" valign="middle" style="border-left:1px solid #656B78">{topicrow.REPLIES}</td>
	  <td class="colour2" align="center" valign="middle">{topicrow.TOPIC_AUTHOR}</td>
	  <td class="colour2" align="center" valign="middle">{topicrow.VIEWS}</td>
	  <td class="colour2" align="center" valign="middle" nowrap="nowrap">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</td>
	</tr>
	<!-- END topicrow -->
	<!-- BEGIN switch_no_topics -->
	<tr> 
	  <td class="colour1" colspan="6" height="30" align="center" valign="middle">{L_NO_TOPICS}</td>
	</tr>
	<!-- END switch_no_topics -->
	<tr> 
	  <td class="titlebottomwtop" align="center" valign="middle" colspan="6">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 
		<input type="submit" class="button" value="{L_GO}" name="submit" />
		</td>
	</tr>
  </table>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
	<tr> 
	  <td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
	  <td align="left" valign="middle" width="100%">&nbsp;&nbsp;&nbsp;<a href="{U_INDEX}">{L_INDEX}</a> -> <a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></td>
	  <td align="right" valign="middle" nowrap="nowrap">{S_TIMEZONE}<br />{PAGINATION}
		</td>
	</tr>
	<tr>
	  <td align="left" colspan="3">{PAGE_NUMBER}</td>
	</tr>
  </table>
</form>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
	<td align="right">{JUMPBOX}</td>
  </tr>
</table>

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="0">
	<tr>
		<td align="left" valign="top"><table cellspacing="3" cellpadding="0" border="0">
			<tr>
				<td width="20" align="left"><img src="{FOLDER_NEW_IMG}" alt="{L_NEW_POSTS}" width="19" height="18" /></td>
				<td>{L_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_IMG}" alt="{L_NO_NEW_POSTS}" width="19" height="18" /></td>
				<td>{L_NO_NEW_POSTS}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_ANNOUNCE_IMG}" alt="{L_ANNOUNCEMENT}" width="19" height="18" /></td>
				<td>{L_ANNOUNCEMENT}</td>
			</tr>
			<tr> 
				<td width="20" align="center"><img src="{FOLDER_HOT_NEW_IMG}" alt="{L_NEW_POSTS_HOT}" width="19" height="18" /></td>
				<td>{L_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_HOT_IMG}" alt="{L_NO_NEW_POSTS_HOT}" width="19" height="18" /></td>
				<td>{L_NO_NEW_POSTS_HOT}</td>
				<td>&nbsp;&nbsp;</td>
				<td width="20" align="center"><img src="{FOLDER_STICKY_IMG}" alt="{L_STICKY}" width="19" height="18" /></td>
				<td>{L_STICKY}</td>
			</tr>
			<tr>
				<td><img src="{FOLDER_LOCKED_NEW_IMG}" alt="{L_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
				<td>{L_NEW_POSTS_LOCKED}</td>
				<td>&nbsp;&nbsp;</td>
				<td><img src="{FOLDER_LOCKED_IMG}" alt="{L_NO_NEW_POSTS_LOCKED}" width="19" height="18" /></td>
				<td>{L_NO_NEW_POSTS_LOCKED}</td>
			</tr>
		</table></td>
		<td align="right">{S_AUTH_LIST}</td>
	</tr>
</table>

also wenn mir jemand sagen könnte was ich vor welchem code hinzufügen müsste, wär ich sehr sehr dankabr :)

mfG JS :)
Benutzeravatar
Markus67
Ehrenadmin
Beiträge: 28346
Registriert: 12.01.2004 16:02
Wohnort: Neuss
Kontaktdaten:

Beitrag von Markus67 »

Hi...

suche:

Code: Alles auswählen

  <table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumborder"> 
   <tr> 
     <th colspan="2" align="center" height="25" class="title1wbot" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th> 
     <th width="50" align="center" class="title1wbot" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th> 
     <th width="100" align="center" class="title1wbot" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th> 
davor einfügen:

Code: Alles auswählen

<!-- BEGIN fetchpost_row --> 
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="forumborder"> 
<tr> 
   <th class="title1wbot" height="25" width="100%"><span class="genmed"><b>{L_LAST_POST_TEXT}:</b> {fetchpost_row.TITLE}</span></th> 
</tr> 
<tr> 
   <td class="colour2" align="left" height="24"><span class="gensmall">{L_POSTED}: <b>{fetchpost_row.POSTER}</b> @ {fetchpost_row.TIME}</span></td> 
</tr> 
<tr> 
   <td class="colour1" align="left"><span class="gensmall" style="line-height:150%">{fetchpost_row.TEXT}<br /><br />{fetchpost_row.OPEN}<a href="{fetchpost_row.U_READ_FULL}">{fetchpost_row.L_READ_FULL}</a>{fetchpost_row.CLOSE}</span></td> 
</tr> 
<tr> 
   <td class="colour3" align="left" height="24"><span class="gensmall">{L_COMMENTS}: {fetchpost_row.REPLIES} :: <a href="{fetchpost_row.U_VIEW_COMMENTS}">{L_VIEW_COMMENTS}</a> (<a href="{fetchpost_row.U_POST_COMMENT}">{L_POST_COMMENT}</a>)</span></td> 
</tr> 
</table><br> 
<!-- END fetch_post_row --> 
<br />
Markus
JuniorSatan
Mitglied
Beiträge: 48
Registriert: 23.01.2005 19:00
Wohnort: Berlin

Beitrag von JuniorSatan »

danke schön :)
Antworten

Zurück zu „phpBB 2.0: Mod Support“