PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Kategorie mit Spaltenbeschreibung Tauschen


Florian
20.04.2004, 00:56
Hi ich hoffe ihr wisst was ich meine nas Bild sollte eigendlich alles sagen !

Wer kann mir da weiter helfen ?

h75
20.04.2004, 02:05
soweit ich weis geht das nur mit dem Kategorie-trennen hack. hier mal der Link.

http://www.vbulletin-germany.com/forum/showthread.php?t=9451

und das hier ist der code

/*

[HowTo] Category in a Box


# version
vBulletin 3.0.0 Release Candidate 2

# author
floris (http://www.vBulletin.nl/)

# you can
use this for your own web site
(if you are a licensed vbulletin user)

# you can not
distribute or translate this
(or use it if you are not a licensed vbulletin user)

# credits
ME ME ME

# description
This template modification will learn you how to
split the categories from eachother (as if they were
each in their own box) and also cleans up the forumhome.

# original release thread
http://www.vbulletin.nl/community/showthread.php?t=1745

*/


// Open the forumhome_forumbit_level1_nopost template and find this code:

<tbody>


// Above this, on a new line, add this code:

</table><div style="padding:5px 0px 5px 0px;"></div><table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">


// Now find this code:

$childforumbits


// And replace it with this code:

<tr align="center">
<td class="thead" width="30">&nbsp;</td>
<td class="thead" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="240">$vbphrase[last_post]</td>
<td class="thead" width="55">$vbphrase[threads]</td>
<td class="thead" width="55">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead" width="100">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
<tr><td class="thead" style="line-height: 0; padding: 0; margin: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="12" /></td></tr>


// Save the template


// Open the forumhome template and delete this code:

<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" width="175">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>


// Find this code:

<!-- / guest welcome message -->
</if>
</thead>
$forumbits


// Replace that with this code:

<!-- / guest welcome message -->
</if>
</thead>
</table><br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
$forumbits


// Find this code:

<tbody>
<tr>
<td class="tfoot" align="center" colspan="6"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
&nbsp; &nbsp;
<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
</strong></div></td>
</tr>
</tbody>


// And delete it


// Find this code:

</table>
<br />
<!-- end what's going on box -->


// Above this, on a new line, add this code:

<tbody>
<tr>
<td class="tfoot" align="center" colspan="6"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
&nbsp; &nbsp;
<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
</strong></div></td>
</tr>
</tbody>


// Save the forumhome template


/*
DONE!
*/