Getting the current year in the extra_copyright text field

BoardBoss

New member
Hi - I saw some discussion about getting the current year into the extra_copyright field from 2012 or 2013. Is there a way to do this in the latest version of Xenforo, currently 1.5.14? Even though I purchased the product recently, I apparently do not have sufficient privileges to post in what I thought would be the proper forum.

An example for my implementation would be "All forum content © 2001-2017 somedomainname.com." So I would like to get the current year as dynamic.
 
This should work
upload_2017-7-28_16-25-2.webp
in the footer template find {xen:phrase extra_copyright} and replace with {xen:phrase extra_copyright, 'current_year={xen:time $serverTime, 'Y'}'}
upload_2017-7-28_16-30-50.webp
 
Top Bottom