S sajal Active member Licensed customer Dec 13, 2016 #1 I want to display username by user-id. So I'm trying to find helper or something similar to load user by user-id in xen template. Is there anything for that?
I want to display username by user-id. So I'm trying to find helper or something similar to load user by user-id in xen template. Is there anything for that?
Chris D XenForo developer Staff member Licensed customer Dec 13, 2016 #2 Unfortunately there's no helpers for that kind of thing. You would have to either write your own helper in PHP, or ideally query for the information you need in and pass it to the template that requires it. I'll move this to Development Discussions.
Unfortunately there's no helpers for that kind of thing. You would have to either write your own helper in PHP, or ideally query for the information you need in and pass it to the template that requires it. I'll move this to Development Discussions.
S sajal Active member Licensed customer Dec 13, 2016 #3 Ah, Ok, I'll try to build a new one for this one!