📢 Moderators Needed 🚀

Moderators are needed with resources to post or have access to resources to post. Submit an application to be considered.
I

RSS help converting this xenForo 1.x syntax to xenForo 2.3 syntax

I

island

Guest
Guest or Bot
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...

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...
 
Similar content Most view View more
Back
Top