Seite 1 von 2

[erledigt] zusätzliche Foren

Verfasst: 12.11.2005 17:12
von Eoleon
ich weiß nicht wie ich es genau beschreiben soll.

Auf meinem Board soll die Zeile, in der
"Forum" , "Beiträge" , "Antworten" , "letzter Beitrag" steht,
mehrfach erscheinen.

Als Beispiel habe ich das Forum von Reddog

Wie kann ich mein Forum so einstellen?

edit/
habe zwar diesen Topic gefunden - nur mein Board ist das Categories Hierarchy v 2.1.4 - Installed on phpBB 2.0.18 von clanmckeen..

Es passt nicht eine Zeile :(

Verfasst: 12.11.2005 21:59
von Markus67
Hi ...

geht es um das Forum in deiner Signatur?
Falls ja suche in der index_body.tpl

Code: Alles auswählen

<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="forumline">
  <tr> 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&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 width="50" class="thTop" nowrap="nowrap">&nbsp;Moderator&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr> 
	<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="soltitle">{catrow.CAT_DESC}</a></span></td>
	<td class="catLeft" colspan="3" align="right">&nbsp;</td>
	<td class="catLeft" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
  <!-- IF ! forumrow.PARENT -->
    <tr> 
	<td class="row4" 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="row4" width="100%" height="50"><span class="gen2"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span>
  <span class="gensmall">{catrow.forumrow.ACTIVE_TOTAL} {catrow.forumrow.ACTIVE} {catrow.forumrow.ACTIVE_INFO}</span><br />
	  <!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 --> <!-- ELSE --><span class="gen2">{L_SUBFORUMS}: <!-- ENDIF -->{catrow.forumrow.sub.LAST_POST_SUB} <a href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}">{catrow.forumrow.sub.FORUM_NAME}</a><!-- END sub -->
	  <!-- IF $HAS_SUB --></span><!-- UNDEFINE $HAS_SUB --><!-- ENDIF --></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_TOPICS}</span></td>
	<td class="row4" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_POSTS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><!-- IF catrow.forumrow.MODERATORS --><span class="gen_2">{catrow.forumrow.MODERATORS}</span><br /><!-- ENDIF --></td>
	<td class="row4" align="center" valign="middle" height="50" nowrap="nowrap"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- ENDIF -->
  <!-- END forumrow -->
  <!-- END catrow -->
</table>
ersetze mit:

Code: Alles auswählen

<!-- BEGIN catrow -->
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="forumline">
  <tr> 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&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 width="50" class="thTop" nowrap="nowrap">&nbsp;Moderator&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <tr> 
	<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="soltitle">{catrow.CAT_DESC}</a></span></td>
	<td class="catLeft" colspan="3" align="right">&nbsp;</td>
	<td class="catLeft" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
  <!-- IF ! forumrow.PARENT -->
    <tr> 
	<td class="row4" 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="row4" width="100%" height="50"><span class="gen2"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span>
  <span class="gensmall">{catrow.forumrow.ACTIVE_TOTAL} {catrow.forumrow.ACTIVE} {catrow.forumrow.ACTIVE_INFO}</span><br />
	  <!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 --> <!-- ELSE --><span class="gen2">{L_SUBFORUMS}: <!-- ENDIF -->{catrow.forumrow.sub.LAST_POST_SUB} <a href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}">{catrow.forumrow.sub.FORUM_NAME}</a><!-- END sub -->
	  <!-- IF $HAS_SUB --></span><!-- UNDEFINE $HAS_SUB --><!-- ENDIF --></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_TOPICS}</span></td>
	<td class="row4" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOTAL_POSTS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><!-- IF catrow.forumrow.MODERATORS --><span class="gen_2">{catrow.forumrow.MODERATORS}</span><br /><!-- ENDIF --></td>
	<td class="row4" align="center" valign="middle" height="50" nowrap="nowrap"><span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- ENDIF -->
  <!-- END forumrow -->
</table>
<br />
<!-- END catrow -->
Markus

Verfasst: 12.11.2005 23:26
von Eoleon
ups- besten Dank für den Code, Markus :)

Ich arbeite grad an einem neuen Forum - welches ich mir bei clanmckeen gezogen habe und mit diesem Forum gibbet Probleme ;)

Die index_body.tpl ist hier als .txt.
Unter IE kann es nötig sein einmal F5 zu drücken - der stellt mal wieder dar wie er will.

Verfasst: 13.11.2005 01:11
von bordum
Bei Categories Hierarchys musst du das in der index_box.tpl ändern.

Verfasst: 13.11.2005 01:39
von Eoleon
bordum hat geschrieben:Bei Categories Hierarchys musst du das in der index_box.tpl ändern.
bei Categories Hierarchys gibt es nur eine index_stats_box.tpl, und die ist ausschließlich für den Bereich ab "Who is online" zuständig ;)

Verfasst: 14.11.2005 15:49
von Eoleon
schieb, weil ich noch wahnsinnig mit Categories Hierarchys werde :roll:

Verfasst: 14.11.2005 17:58
von Markus67
Hi ...

welche Version vom CH MOD hast du denn eigebaut?

Markus

Verfasst: 14.11.2005 18:06
von Eoleon
es handelt sich um das Categories Hierarchy v 2.1.4 - Installed on phpBB 2.0.18 von clanmckeen.

Die .txt ist hier zu finden.

Da ich eh grad weges des anderes Fehler alls komplett deinstalliert habe, überlege ich, ob ich das Board überhaupt noch aufbauen möchte.
Irgendwie komme ich damit nicht zurecht :(

Verfasst: 15.11.2005 21:07
von Eoleon
schieb ...
alles was ich mache ergibt Fehlermeldungen :(

Verfasst: 15.11.2005 21:29
von Markus67
Hi ...

die index_body.tpl ist nicht vorhanden :wink:

Markus