Seite 1 von 1

Kleine Änderung bei subSilver

Verfasst: 23.10.2003 21:48
von randomwalk
Hallo!

Mit gefällt der Boardstyle subSilver sehr gut, nur eine Kleinigkeit möchte ich ändern:

Die Moderatoren sollen in einer eigenen Spalte ganz rechts erscheinen, wie z. B. bei den Board-Styles MissionImpossible oder LastCrusade.

Wie kriegt man denn so etwas hin? Habe schon ein bißchen in den .tpl-Dateien herumgesucht, blicke aber noch nicht durch, denn phpBB ist neu für mich.

Weiß jemand wie man das macht? :-?

Viele Grüße
randomwalk

Verfasst: 23.10.2003 23:00
von Leuchte
index_body.tpl ist dein freund.. sollte ungefähr so aussehen...
Suche

Code: Alles auswählen

<br />
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
Lösche

Code: Alles auswählen

<span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span>
sowie das <br /> an der stelle
Suche

Code: Alles auswählen

<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
Ersetze durch

Code: Alles auswählen

<th class="thTop" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
<th class="thCornerR" nowrap="nowrap">&nbsp;Moderatoren&nbsp;</th>
Suche

Code: Alles auswählen

colspan="3"
Ersetze "3" durch "4"
Suche

Code: Alles auswählen

<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
Füge danach ein

Code: Alles auswählen

<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.MODERATORS}</span></td>
das müsste es im grossen und ganzen sein

Verfasst: 23.10.2003 23:09
von randomwalk
Dankeschön, das war super. In dem Moment, als ich mit der Lösung fertig war habe ich Deine Antwort gesehen.

Insgesamt müsste es also so aussehen:

Code: Alles auswählen

<table width="100%" cellpadding="2" cellspacing="1" border="0" 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 class="thTop" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_MODERATOR}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr> 
	<td class="catLeft" colspan="3" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
	<td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </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">{catrow.forumrow.FORUM_NAME}</a><br /></span>
	    <span class="genmed">{catrow.forumrow.FORUM_DESC}<br /></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>
	<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.MODERATORS}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>
Oder ist noch was falsch?

Nochmal dankeschön, Leuchte, das macht jetzt richtig Spaß mit dem phpBB. :grin:

Gruß
randomwalk

Verfasst: 23.10.2003 23:13
von Leuchte

Code: Alles auswählen

<td class="catLeft" colspan="3" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td> 
   <td class="rowpic" colspan="3" align="right">&nbsp;</td>
du hast den ersten rowspan erhöht. wenn es dir optisch gefällt
Oder ist noch was falsch?
dann nein ;)