PDA

View Full Version : Error in adv_portal_latesttopicbits template + fix


minichip
07-05-2004, 03:26 PM
Hi,

I downloaded the vBadvanced today and first of all I must say it is an absolute wonderful hack for vBulletin.

While I was playing around in my testsystem I noticed that in the Last Threads Module the Date & Time couldn't be turned of, even thow I switched the right setting in the control panel.
Since I want to turn it off I snooped around in the templates and tracked the error down.

In the "adv_portal_latesttopicbits" template the coresponding part is not checked with an <if condition>.
To fix this error, search for


<div class="smallfont">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>


and replace it with


<if condition="$vba_options['portal_threads_showdate']">
<div class="smallfont">$thread[lastpostdate] <span class="time">$thread[lastposttime]</span></div>
</if>



Cheers,
Holger

Polo
07-23-2004, 03:48 PM
was this fixed on VBacmps 1.0.1? I think it was.