• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Show only month and year for date joined

#1
How can I edit $user.register_date to show month and year only? I only want this change enabled in the postbit, so I'm only editing one template.
 
#4
Ah, but that kills the feature that shows the date as "Friday" etc, if the member joined less than a few days ago. Any way to keep both features?
 

Brogan

XenForo moderator
Staff member
#7
There is no additional query involved in that code - the data is already exposed to the template, it is just being manipulated based on a condition.