XF 1.5 Template Conditional / Question

NukeZero

Member
So i need some help, i don't even know if this is even possible with a template conditional.

I'm editing: message_user_info

I'm trying to convert this to XF1:
Code:
<if $post['regdate']+(60*60*24*31) <= TIME_NOW then><span style="color: gray;">One Month of Service</span></if>

So far i have done:
Code:
<xen:if is="{$user.register_date} AND {$var.datetime} <= 60*60*24*31">

Is this the correct way to do it? If not, anyone know a better way and is there a plugin for XF1 that already does something like this?

Thanks in advance,
- Nuke Zero
 
Last edited:
Top Bottom