ContributionsMost RecentMost LikesSolutionsRe: Khoros Community Classic 23.10 Release We are a bit confused too... In our staging environment, we can see the changed textkey. In our production environment we can still see the old version. We haven't modified them, so the default is used. Both instances run on 23.10. Re: userInfo with Ranking Formula Hi guys, sorry for pushing this veeery old topic but I just stumbled upon it and have an addition for others like me: You can get all user settings with the following APIv2 Call: SELECT id, user.local FROM settings WHERE user.id = 'ANY_USER_ID' Unfortunately it is not possible to filter for settings starting with "user." or "profile." and there is a lot of unuseful settings in this context. But with a small script looping through the settings, you could filter these. I'm just to lazy to provide a full list now 😁 As far is I tested, every setting with "user." and "profile." can be used within the role-checks, even customfields created by khoros support: (userInfo("profile.devices") == "my_shiny_device") I haven't tested this with other settings outside the user/profile scope. Re: API & FreeMarker Issue Tracker This post is great and really helpful! Thank you mate! Re: Thread-based Unread / Read flag via APIv2 messages query Even if this is an older post, this problem still persists. There are so many possibilities nowadays to create custom message lists via api. But in case of read-tracking on thread level, we have just two possibilities: get read/unread threads by looking for their last post with horrible performance impact especially if you have lots of threads to show just do not use readtracking This means: if you create custom message lists via api, you loose the main feature of a forum/community. Re: Setting cookie attributes (expiration/domain) in page init Hi luk , thanks for this information. I was exactly looking for this and you saved my day! SuzieH There is still no info about how to set cookie metadata in the documentation. It would be awesome if somebody could add this part. I left a suggestion in the docs, while not beeing completely sure if this fits to addCookie or createCookie. Re: Read and write custom field Hi, is it somehow possible to do sent new customfield data via post inside the body? We also have custom user profile field here, so this would be the "normal" way to set it: <#assign update_json= restadmin("/users/id/${user.id}/profiles/name/field_1/set?value="+updated_json?url) /> But our data is from a textfield with 3000 characters and lots of special characters. I'm not sure if its a good way to send it this way... Also sending the textfield data this way seems to remove whitespaces. Sending something like this: Test1 Test2 Test3 Results in the following when returned via the endpoint: Test1 Test2 Test3 Re: Filter messages with APIv2 and exclude multiple boards Parshant Thanks for you reply. I think we can mark this as solution because it seems like the only way to achieve that currently. I also gave Kudos to this nice idea here: https://community.khoros.com/t5/Khoros-Community-Ideas/API-v2-boards-collection-Allow-conversation-style-constraint/idc-p/561433 Filter messages with APIv2 and exclude multiple boards Hi, I just try to get the latest messages in the whole community but exclude some specific boards. Is there a way to handle this via API? According to the Docs at https://devdocportal.lithium.com/t5/Community-API-v2-Reference/bd-p/restv2docs?section=commv2&collection=messages#constraints I had the following ideas: 1. exclude one or more whole categories = not possible on message object via api 2. exclude multiple boards with NOT IN (...) = not possible via api, it just supports IN, = and != 3. so i tried a chained 'and board.id !=...' with a querystring looking like this: SELECT * FROM messages WHERE board.id != 'a' AND board.id != 'b' AND board.id != 'c' AND board.id != 'd' ORDER BY post_time The result is, that just board.id 'a' is excluded, the others are just ignored in the query and the result contains them. The ultimate solution would be to move these boards outside and next to our community base node and filter just for the remaining community node. But this implies some more work. The question here is just if its possible via API for a faster temporary solution. Thanks in advance Marcus SolvedRe: How to Display Node Avatars? Thanks AmyS and StanGromer! I supposed that this is maybe related to group hubs but thanks for this component, it works! 🙂 Re: How to Display Node Avatars? I would also be very interested in a solution for this. Why is there an option in the admin backend to add such an image if we are not able to show it anywhere? As mentioned by steffenschoene , the approach with the API V1 call does not work. There is also no 'avatar' mentioned in docs (neither for categories nor boards or nodes): https://devdocportal.lithium.com/t5/Community-API-v1-Reference/bd-p/restv1docs?section=commv1&branch=Category https://devdocportal.lithium.com/t5/Community-API-v2-Reference/bd-p/restv2docs?section=commv2&collection=categories