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

How does XenForo select the right usernames?

Jaxel

Well-known member
#1
I noticed that XenForo's built in queries dont have anything along the lines of:
Code:
IF(NOT ISNULL(xf_user.user_id), xf_user.username, EWRmedio_media.username) AS username
The idea is, if the user exist, use their username... otherwise use the username they submitted the item with (this happens if a user submitted an item when they had an account, but then their account gets deleted). Since I haven't seen anything like the above, I have to assume that XenForo has something automated for this?