RSS Feed/News help converting this xenForo 1.x syntax to xenForo 2.3 syntax

Status
Not open for further replies.

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
30,925
Points
823

Reputation:

Can someone help convert the following excellent xf 1.4/1.5 code to work in the xf 2.3.10 message macros template:

Valhalla said:
Code:

{xen:if '{$user.register_date} < {xen:calc '{$serverTime} - 86400 * 7'}', '{xen:date $user.register_date, 'M Y'}', '{xen:date $user.register_date}'}
Click to expand...
Valhalla
The purpose is to display Join Date as Month Year instead of Month Day Year, while maintaining Today and Yesterday for those join dates in the postbit only

Continue reading...
 
Status
Not open for further replies.
Top