PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [3.0.7] category spacing Problem



od3m
28.06.2005, 09:14
Hi all ..

Ich habe versucht diese Anleitung zum category spacing zu verwenden, dazu sei gesagt dass ich von PHP so gut wie keine Ahnung habe:

http://www.vbhackers.com/forum/showthread.php?p=10922#post10922

Nun habe ich dort aber Fehler festgestellt. Die category beschreibung war unter der category. und die spalten breiten waren / sind auch irgendwie falsch

Nun habe ich das ganze nach oben gestellt. Jetzt kommt aber das bottom image nicht mehr, also da fehlt in jedem fall das was unter der category kommen soll.

Hier mein aktueller code (forumhome_forumbit_level1_nopost):


<!-- top -->
<table cellpadding="0" cellspacing="0" border="0" width="$stylevar[outertablewidth]" align="center">
<tr>
<td width="100%" class="tcat" style="background-image: url(); text-align: center;"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
</td>
</tr>
</table>
<!-- /top -->

<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
</td>
</tr>
</thead>

<if condition="$childforumbits">

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="$stylevar[outertablewidth]" align="center">

<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="15">&nbsp;</td>
<td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="250">$vbphrase[last_post]</td>
<td class="thead" width="40">$vbphrase[threads]</td>
<td class="thead" width="40">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</if>
</tbody>

</table>

<div style="padding: 5px 5px 5px 5px;"></div>

hier könnt ihr sehen wie´s aussieht:
http://www.freakstyles.net/forum/

.. bin ja froh dass ide category bezeichnugn nun oben ist...

Wenn Ihr ne Lösung habt, oder ne ordentliche Anleitung für category spacing mit vbb 3.0.7 dann hab ich nix dagegen wenn ihr mir nen Tipp geben könntet :D :eek:

Ach so.. hier nochmal nen screenshot

http://www.freakstyles.net/screen.JPG

EDIT:

Ich habe die Änderungen vorerst rückgängig gemacht. Vielleicht habt Ihr ja ne Idee..

thx

Vega
28.06.2005, 15:51
Mit PHP hat das weniger zu tun. Dennoch, schau 'mal auf vbulletin.com. Dort gibt es ne gute Anleitung.

od3m
28.06.2005, 16:33
Danke !

Hätt ich ja auch mal drauf kommen können dort zu gucken ^^

Funktioniert nun.