PDA

View Full Version : Spacing problem on [LAST POST]


Jujimufu
05-10-2004, 03:53 PM
The last post display on my forums is always crunched up. I've gone through a few templates and changed the width of some of the variables, none seem to be working. How can I make this wider?

http://www.trickstutorials.com/temporary/badbad.gif


Also, if you got time - how did Vbulletintemplates get their logo to stretch across the top / perfectly?

THANKS!

Zachery
05-10-2004, 04:24 PM
We coded it that way ;)

Youll need to increase the width of the last post collum

Kairo
05-20-2004, 04:04 PM
That's what i need to! How can i change that? Where?

defi
05-20-2004, 06:36 PM
Well, with the post and threads display, that will always keep it small; I recommend just getting rid of this post and thread count which will make the last post table much larger.

A working demo is here: http://www.communityforums.net/forum/index.php?styleid=28


This explaination will get rid of the thread and post count tables in the forum home page (index.php)

Get rid of the thread count and reply count by doing this:

1.Open the admin CP and go to the template editor of which style is having the problem

2.open forumhome and find this

<!-- / guest welcome message -->
<br>
</if>
<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>
</thead>


replace with this code

<!-- / guest welcome message -->
<br>
</if>
<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>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
</thead>


Now, open forumhome_forumbit_level1_post and find


<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>


delete this

open forumhome_forumbit_level2_post and find this code

<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>

delete this code

You're now done!

Hope this helped.