Log in

View Full Version : last actvity on postbit


puertoblack2003
09-23-2014, 03:10 AM
I trying to add this code in postbit

default code: <vb:if condition="$prepared['lastactivitydate']">
<dl class="blockrow stats">
<dt>{vb:rawphrase last_activity}</dt>
<dd> {vb:raw prepared.lastactivitydate}<vb:if condition="!$show['detailedtime']"> <span class="time">{vb:raw prepared.lastactivitytime}</span></vb:if></dd>

to use this

<dt>{vb:rawphrase last_activity}</dt> <dd> {vb:raw prepared.lastactivitydate}</dd>


i can see the phrase but not the last activity time..need guidance

t.i.a

ozzy47
09-23-2014, 03:18 AM
Try
{vb:raw post.lastactivitydate}

puertoblack2003
09-23-2014, 03:24 AM
Try
{vb:raw post.lastactivitydate}


thanks ozzy.. i though that too, still no go. :(

ozzy47
09-23-2014, 03:29 AM
IIRC that variable might not be available, so you need this mod, https://vborg.vbsupport.ru/showthread.php?t=238621

puertoblack2003
09-23-2014, 03:32 AM
IIRC that variable might not be available, so you need this mod, https://vborg.vbsupport.ru/showthread.php?t=238621

thanks i'll look into it.

--------------- Added 1411448562 at 1411448562 ---------------

IIRC that variable might not be available, so you need this mod, https://vborg.vbsupport.ru/showthread.php?t=238621

thanks ozzy tweaked it to my style:up:

<dt>{vb:rawphrase last_activity}</dt> <dd>{vb:raw post.lastactivity_date}&nbsp;- {vb:raw post.lastactivity_time}</dd>

ozzy47
09-23-2014, 10:37 AM
Glad to hear it was what you were looking for. :)