PDA

View Full Version : remove hour:minute from last activity in member profile


X-or
09-12-2014, 09:49 AM
Hello,

I think it's too intrusive to have hour & minute of last activity in member profile.
It was quite easy to edit out in vb3 but in vb4 it's not so obvious anymore.
Anybody knows how to do this? Thank you. :)

ozzy47
09-12-2014, 10:16 AM
In the template memberinfo_block_ministats, find:
<dd> {vb:raw prepared.lastactivitydate}<vb:if condition="!$show['detailedtime']"> <span class="time">{vb:raw prepared.lastactivitytime}</span></vb:if></dd>

And change it to this:
<dd> {vb:raw prepared.lastactivitydate}<vb:if condition="!$show['detailedtime']"> <span class="time"><vb:comment>{vb:raw prepared.lastactivitytime}</vb:comment></span></vb:if></dd>

X-or
09-12-2014, 10:38 AM
perfect! thank you so much Sir ;)

ozzy47
09-12-2014, 10:41 AM
Not a problem, glad to help. :)