KW802
09-15-2004, 01:50 PM
Either I'm thinking incorrectly or an </if> is in the wrong spot in adv_portal_latesttopicbits. :p
I was doing some experiments with turning off the "Show Last Post Info" flag but no matter what flags I turned off or on a date kept appearing under the thread title in the Last Threads listing.
From looking at the code....
<if condition="$show['lastpost']">
<div class="smallfont" style="margin-top:4px"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=lastpost&t=$thread[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" /></a> $vbphrase[last_post_by] <a href="$vboptions[bburl]/member.php?find=lastposter&t=$thread[threadid]">$thread[lastposter]</a></div>
</if>
<div class="smallfont">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>
I'm thinking that the </if> should be the last thing as in....
<div class="smallfont">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>
</if>
(PS: If this is a known issue/report, I searched for "adv_portal_latesttopicbits" and didn't find it).
I was doing some experiments with turning off the "Show Last Post Info" flag but no matter what flags I turned off or on a date kept appearing under the thread title in the Last Threads listing.
From looking at the code....
<if condition="$show['lastpost']">
<div class="smallfont" style="margin-top:4px"><a href="$vboptions[bburl]/showthread.php?$session[sessionurl]goto=lastpost&t=$thread[threadid]"><img alt="" border="0" src="$stylevar[imgdir_button]/lastpost.gif" title="$vbphrase[go_to_last_post]" /></a> $vbphrase[last_post_by] <a href="$vboptions[bburl]/member.php?find=lastposter&t=$thread[threadid]">$thread[lastposter]</a></div>
</if>
<div class="smallfont">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>
I'm thinking that the </if> should be the last thing as in....
<div class="smallfont">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>
</if>
(PS: If this is a known issue/report, I searched for "adv_portal_latesttopicbits" and didn't find it).