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

XF 1.5 Increase allowed length of Location field

So I just converted my forum from MyBB 1.8 to XenForo, and some users are finding the max length of the Location field a bit too short. I know it's hardcoded but I can't figure out where. If someone could point me in the right direction, that'd be great.


XenForo developer
Staff member
You'd need to look in the xf_user database table and the library/XenForo/DataWriter/User.php file.
I'd already modified the length of the varchar location field in the database, but just needed to know which DataWriter contained the Location field. Thanks, Mike!