lorseau
Joined 15 years ago
Joined 15 years ago
Not sure if it's possible with API V1, but with v2 is simple as selecting the avatar object:
SELECT avatar FROM nodes/categories/boards...
OR
SELECT avatar.tiny_href/small_href/medium_href/large_href FROM...
Hi Laurent,
A few of our customers have customizations to show information about the "parent" message. You can see one example on the Autodesk Community:
http://forums.autodesk.com/t5/AutoCAD-Express-Tools/PDF-to-DWG-converter/td-p/2658285/page/2
For a custom component like this, you would add it to the "Forum Message" page. Inside the component, you would take advantage of the "env" custom context object. On the "Forum Message" page, this custom context object can give you details about the individual message that you're displaying. For example, to get the unique id of the message, you can use:
env.context.message.uniqueId
With this information, you can make a REST API call to get the details of the parent message. For example:
/messages/id/${env.context.message.uniqueId?c}/parent
Once you have the details of the parent message, you can output any of the information you'd like. Autodesk, for example, outputs "in reply to: <author>"; however, you could add a link to the parent message or other details as you'd like.
I hope this helps!
-Adam