Fixed [USER] BB-Code -> negative User-ID


Active member
Look what happens when I do this:


Shouldn't there be an other error message ("invalid User ID")?

Chris D

XenForo developer
Staff member
Are you referring to the message:
This was posted by a guest who does not have a profile to view.
I think the user ID is being cast to an unsigned integer, 0, therefore assuming we're dealing with a guest user.

It's really quite an unexpected thing to happen; usually the user bb code would be generated via a user mention where there's no chance of this happening, but clearly it could be confusing.