xfrocks
Well-known member
Can you guys please consider dropping the tag username for good? The tag simply calls XenForo_Template_Helper_Core::userNameHtml and provide no additional features. Okie, it supports additional tags like "class" but that can achieve by using helper anyway.
My suggestion is: dropping the tag completely and use {xen:helper username} or {xen:helper richusername} instead. I did a search for "<xen:username" in the templates and only a few templates made use of it. The replacement shouldn't be too complicated. By doing this, we can:
My suggestion is: dropping the tag completely and use {xen:helper username} or {xen:helper richusername} instead. I did a search for "<xen:username" in the templates and only a few templates made use of it. The replacement shouldn't be too complicated. By doing this, we can:
- Make the template system 1 tag easier to learn
- Allow customization to username by overriding XenForo_Template_Helper_Core::$helperCallbacks['username'] with something else. There will be no limit! A simple example: people can configure to display real name in posts instead of username (with the support of profile fields in XenForo 1.1.). And many other things!
Upvote
0