PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : "Letzer Beitrag" Spalte nach hinten verschieben


neo2001
04.09.2004, 14:26
Hallo!

Ich würde gerne die Spalte "Letzter Beitrag" sowohl in der Foren-, als auch in der Themenübersicht ganz nach hinten verschieben, so dass die Anzahl der Themen/Beiträge bzw. Antworten zwischen Titel und eben dem "Letzten Beitrag" steht, da ich das für übersichtlicher und logischer halte.

Ist sowas ohne all zu großen Aufwand möglich - oder sind da schon tiefgreifendere Eingriffe nötig?

Ich Danke schon jetzt für Eure Antworten! :)

Mystics
04.09.2004, 21:08
Bearbeite das Template FORUMHOME:

Suche: <td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>Ersetze es mit: <td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>Bearbeite das Template FORUMDISPLAY:

Suche: <td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>Ersetze es mit: <td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
Bearbeite das Template forumhome_forumbit_level1_post:

Suche: <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>Ersetze es mit: <td class="alt2">$forum[threadcount]</td>
<td class="alt1">$forum[replycount]</td>
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
Bearbeite das Template forumhome_forumbit_level2_post:

Suche: <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>Ersetze es mit: <td class="alt2">$forum[threadcount]</td>
<td class="alt1">$forum[replycount]</td>
<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>

neo2001
04.09.2004, 23:44
Vielen Dank für die schnelle Hilfe! :)

Hat soweit wunderbar funktioniert (hab noch die Farben/classes entsprechend angepasst, damit sich die Farben abwechseln).

Das Gleiche würde ich nun auch gern für die Themenübersicht machen. Ich schätze mal, dass das das FORUMDISPLAY Template ist(?). Ich hab es selbst versucht, bin aber leider nicht wirklich weitergekommen... :(

Mystics
05.09.2004, 12:53
Bearbeite das Template FORUMDISPLAY:

Suche: <td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]</span></td>Ersetze es mit: <td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]</span></td>
<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
Bearbeite das Template threadbit:

Suche: <if condition="$show['threadmoved']">
<td class="alt2" align="center">-</td>
<else />
<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">
$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</td>
</if>

<if condition="$show['notificationtype']">
<td class="alt1"><div class="smallfont">
<label for="sub$subscribethread[$threadid]">$thread[notification]</label>
<input type="hidden" name="oldemailupdate[$subscribethread[$threadid]]" id="oe_$subscribethread[$threadid]" value="$emailupdate[$threadid]" />
</div></td>
<td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
<else />
<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="#" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
<td class="alt2" align="center">$thread[views]</td>

<if condition="$show['forumlink']">
<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
</if>
</if>Ersetze es mit: <if condition="$show['notificationtype']">
<td class="alt1"><div class="smallfont">
<label for="sub$subscribethread[$threadid]">$thread[notification]</label>
<input type="hidden" name="oldemailupdate[$subscribethread[$threadid]]" id="oe_$subscribethread[$threadid]" value="$emailupdate[$threadid]" />
</div></td>
<td class="alt2"><input type="checkbox" name="deletebox[$subscribethread[$threadid]]" id="sub$subscribethread[$threadid]" value="yes" /></td>
<else />
<td class="alt1" align="center"><if condition="$show['threadmoved']">-<else /><a href="#" onclick="who($thread[threadid]); return false;">$thread[replycount]</a></if></td>
<td class="alt2" align="center">$thread[views]</td>

<if condition="$show['forumlink']">
<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a></td>
</if>
</if>

<if condition="$show['threadmoved']">
<td class="alt2" align="center">-</td>
<else />
<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">
$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</td>
</if>(Meinen zweiten Beitrag habe ich auch nochmal bearbeitet, dort findest du noch eine Änderung für das FORUMDISPLAY Template, die du machen musst.)

neo2001
05.09.2004, 14:34
Super. Hat einwandfrei funktioniert! :)

Danke nochmals!

wheatus
05.09.2004, 15:39
da hab ich noch eine Frage:
ich würde gerne den Authoren eines Themas wieder in einer spalte angezeigt bekommen. wie mach ich das genau?