View Full Version : 2 column changes I'd like to implement.
Stormer
07-01-2008, 03:39 PM
Firstly, the forum display. I want it to look exactly like this with the last post column displaying only the last post time and who posted with one on top of the other.
http://img353.imageshack.us/img353/2363/forumdisplayhc1.png
I also want to edit the thread list so it looks exactly like this with the thread starter in its own column and the last post showing only the last post time and who by sitting next to each other. This way all information regarding the thread can sit along one line and reduce the forum height.
http://img61.imageshack.us/img61/6295/threaddisplayzq6.png
Would be very grateful for any help :)
PaulSonny
07-02-2008, 12:45 PM
Hello Stormer,
I've only had time to sort out your first request which is for the forum display. Replace your entire forumhome_lastpostby template which this below. But please first back up your own template incase this is not what you want.
Thanks, Paul.
<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]">
<div>
<span style="white-space:nowrap">
<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
<if condition="$lastpostinfo['prefix']">
$lastpostinfo[prefix]
</span><if condition="is_browser('safari')"><!--bug#24775--> </if>
<span style="white-space:nowrap">
</if>
</span>
</div>
<div align="center" style="white-space:nowrap">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
<div align="center" style="white-space:nowrap<if condition="is_browser('ie', 6)">; float:$stylevar[middle]</if>">
<phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
</div>
</div>
<else />
<div class="smallfont" align="$stylevar[right]">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
</div>
</if>
Stormer
07-02-2008, 12:57 PM
Thanks, that's almost what I wanted. The thread title disappeared but it still shows the post icon. I'd like to remove that too please :)
EDIT - figured out how to remove the icon too now. Had to remove the following code aswell.
<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
Still need a bit of help with the second edit :)
Stormer
07-07-2008, 02:00 PM
Anyone :)
Stormer
07-11-2008, 08:04 PM
Double bump :cool:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.