ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 27,446
- Points
- 823
Reputation:
Hi there,
in the template of a page node, I'm using the following conditional to check, if a user is registered for less than 3 days:
HTML:
This works perfectly fine, except for a small number of users and I have no idea why. No matter how long they are registered, the conditional returns, that they are...
Read more
Continue reading...
in the template of a page node, I'm using the following conditional to check, if a user is registered for less than 3 days:
HTML:
Code:
<xf:if is="{{ number(($xf.time - $xf.visitor.register_date) / 86400) }} <= 3">
// registered for less than 3 days
<xf:else />
// registered for 3 days or more
<xf:if>
This works perfectly fine, except for a small number of users and I have no idea why. No matter how long they are registered, the conditional returns, that they are...
Read more
Continue reading...