Simple Subforums: Subforen werden nicht immer angezeigt

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
Trumpfass
Mitglied
Beiträge: 5
Registriert: 05.10.2006 23:33
Wohnort: München
Kontaktdaten:

Simple Subforums: Subforen werden nicht immer angezeigt

Beitrag von Trumpfass »

Hallo,

ich habe ein Problem mit dem Simple Subforums Mod. Im Grunde funktioniert er wunderbar, allerdings werden die Subforen eines Forums nur dann in dem Forum angezeigt, wenn sich keine Postings in dem Forum befinden. Ich möchte allerdings, dass die Subforen - soweit vorhanden - immer angezeigt werden. Was könnte da schiefgelaufen sein?

Wenn ich das Subforum im Index anklicke wird es ganz normal aufgerufen. Darin posten ist auch ganz normal möglich. Wenn sich im "Mutterforum" keine Postings befinden wird es im Mutterforum auch ganz normal angezeigt. Nur eben nicht, wenn sich im Mutterforum Postings befinden.

Der Code an der Stelle sieht folgendermaßen aus:

Code: Alles auswählen

<tr> 
		<td align="center" colspan="3">
			<!-- BEGIN catrow -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr> 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{catrow.CAT_DESC}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN forumrow -->
  <tr> 
	<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink<!-- IF catrow.forumrow.UNREAD --> topic-new<!-- ENDIF -->">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
</table>
<br />
<!-- END catrow -->

<!-- IF NUM_TOPICS || ! HAS_SUBFORUMS -->
			<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline_nav">
  				<tr> 
					<th colspan="2" align="center" height="25" class="thCornerL" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	  				<th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_REPLIES}&nbsp;</th>
	  				<th width="100" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_AUTHOR}&nbsp;</th>
	  				<th width="50" align="center" class="thTop" nowrap="nowrap">&nbsp;{L_VIEWS}&nbsp;</th>
	  				<th align="center" class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  				</tr>
				<!-- BEGIN topicrow -->
				<tr> 
	  				<td class="row1" 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="row1" 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="row2" align="center" valign="middle"><span class="postdetails">{topicrow.REPLIES}</span></td>
	  				<td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}</span></td>
	  				<td class="row2" align="center" valign="middle"><span class="postdetails">{topicrow.VIEWS}</span></td>
	  				<td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="postdetails">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>
				</tr>
				<!-- END topicrow -->
				<!-- BEGIN switch_no_topics -->
				<tr> 
	  				<td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen">{L_NO_TOPICS}</span></td>
				</tr>
				<!-- END switch_no_topics -->
				<tr> 
	  				<td class="catBottom" align="center" valign="middle" colspan="6"><span class="genmed">{L_DISPLAY_TOPICS}:&nbsp;{S_SELECT_TOPIC_DAYS}&nbsp; 
					<input type="submit" class="mainoption" value="{L_GO}" name="submit" /></span></td>
				</tr>
		    </table>
	  		<table border="0" width="100%" cellspacing="0" cellpadding="0" height="30">
				<tr>
					<td><span class="nav">{PAGE_NUMBER}</span></td>
					<td align="right"><span class="nav">{PAGINATION}</span></td>
				</tr>
			</table>
		</td>
  	</tr>
Vielen Dank schon mal :)

Gruß,
Alex
SoLo1905

Beitrag von SoLo1905 »

wie meinst du des??

UNTEROFORUM POSTS 0 Therads 0
UNTER UNTERFORUM POST 1 Therads 1

so irgendwie???
Trumpfass
Mitglied
Beiträge: 5
Registriert: 05.10.2006 23:33
Wohnort: München
Kontaktdaten:

Beitrag von Trumpfass »

hat sich erledigt. mit den premodded files von http://phpbbstyles.com/files/ca/subforums/ ging es dann. lag wohl an der viewforums.php. obwohl die 100%ig so gemodded war wie es in der anleitung stand...

gruß,
alex
Antworten

Zurück zu „phpBB 2.0: Mod Support“