PDA

View Full Version : Help meh, see if you recognize the problem please...


Ian Winters
06-14-2004, 05:12 AM
Alright, so I searched for a hack to make the thread display look like it does on IPB. I found it. I followed the steps (on two separate occasions, mind you) and both times I've reached the same result, as you see in the attached image. Any idea where I went wrong? Did -I- even go wrong? Mind you I'm using 3.0.1, is it compatible with the code I used? Is there a variable that needs to be changed? If you need my code, I can attach it. Thanks for your help in advance.

Tony G
06-14-2004, 11:40 AM
This step:



Find:

</tr>

below (under), add:

<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
</div>
<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"> <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>


From what I see, that whole reply info box goes onto a new line because of a </tr> Try adding the code here BEFORE the </tr> to keep it on the same line as the rest of the stuff there.

Ian Winters
06-21-2004, 08:01 AM
Very nice, thank you, that fixed that problem. Now there's yet another, and I noticed it before, but I had hoped it would be fixed after fixed aforementioned problem: The "Last Post" shows the views and the "Views" shows last posted by. I'll try to fix this myself, but incase I am unable, help again? Thanks.

Well, I edited the Forumdisplay, and fixed it. Basically I swapped the code where it creates the Views column and the Last Post column (swapped the lastpost and view terms, that's all) and that took care of it ^_^ Thanks again.

Tony G
06-21-2004, 09:41 AM
Yep, that's all you had to do to fix that. And you're welcome. :)