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

Getting the current year in the extra_copyright text field

#1
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.
 

DL6

Well-known member
#2
This should work
upload_2017-7-28_16-25-2.png
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.png