Yeah, I'm thinking the same thing. 👍
Display fullname in topic
I try to display fullname instead of username inside post but it's not in the /api/topic endpoint and posts.user.fullname is always undefined even if the user have the fullname field set.
How can I add the fullname to the api ?
@baris Hey thanks for the quick answer !
I've tried your solution but it doesn't seem to change anything. Actually, isn't the "fullname" field already in the fields array ?
Despite this the fullname isn't returned on topic. Here for example : https://community.nodebb.org/api/topic/14115/display-fullname-in-topic/2
Did I miss something ?
That's weird, I will take a look and see what I can find.
@snahedis The fullname is tied to a user setting and a global setting.
I turned on
Show My Full Nameand you can see the fullname is returned in the api now.
Yes, now it works ! Thanks @baris