ContributionsMost RecentMost LikesSolutionsLooking for ways to stay engaged with Khoros Development Hey everyone, I'm currently between roles after the recent changes at Upwork and looking for ways to stay sharp with Khoros development while figuring out my next steps. I've shared a lot of my work here before (also did StanGromer ), and I'd love to keep learning and contributing. If anyone has ideas on how to stay engaged with the platform or knows of projects where an extra set of hands could be helpful, I'd appreciate any suggestions! Re: How to retrieve "Internal reason for ban" field I don't think that there's an API that will return you all the banned users, only the ban details for a specific user. When you query the users, you can grab the "banned" and see if it's true. If it's true, you can use the API v1 to see the details. Something like this: <#assign banData = restadmin("/users/id/${item.id}/moderation/banned/details").bans.ban> <#list banData as ban> Banned by: <a href="/t5/user/viewprofilepage/user-id/${ban.banned_by}" target="_blank">${users.firstNameLastInitial(ban.banned_by)}</a><br> Ban reason: <#if ban.banned_reason == "">empty<#else>${ban.banned_reason}</#if><br> Public ban reason: <#if ban.public_banned_reason == "">empty<#else>${ban.public_banned_reason}</#if><br> Banned on: ${ban.date_start?number?number_to_datetime}<br> Banned until: <#if ban.date_end == "-1"><b>forever</b><#else>${ban.date_end?number?number_to_datetime}</#if> </#list> Re: restBuilder with search endpoint to return messages with admin privileges? Thanks for the help, Akenefick ! I created a ticket with support to check on the issue. I tried many different ways to make this work, but all efforts were unsuccessful. Having something wrong with the platform is probably what's causing it. restBuilder with search endpoint to return messages with admin privileges? Hi, When I call <#assign comments = restBuilder().method("POST").path("/search").body(query).admin(true).call()> where <#assign query = { "messages": { "fields": [ "id", "subject", "author.id", "author.first_name", "author.last_name" ], "sorts": [ "post_time DESC" ], "constraints": [ { "parent.id": '${messageId}', "board.id": "${nodeId}" } ], "limit": 20 } }> I'm not getting author.first and last name even while making the call as an admin. The first and last name are only visible if user is an admin or has elevated access, all other users will not see the names. Does anyone know why? Is the admin(boolean) method broken in general or just for the search endpoint? Thanks! Re: Emojis in email subject? Hi vamsiu ! Thanks for the tips! HTML entity works inside email body, but not in the subject. Copied emojis doesn't work anywhere, but I guess that's fine. Thanks again! 🙂 Re: Possible? Display 30-day FRT on a Board Component? Looks like you need this: ${restadmin("boards/id/${coreNode.id}/metrics/name/avg_thread_response_time?date_start=2023-01-01&date_end=2023-02-01").value} I might picked the wrong metric, but you can find the name of each by grabbing the value from url like /t5/bizapps/page/tab/community%3Aadmin%3Aanalytics-main%3Aadvanced-metrics?board_selection=freelancers&date_range=3-12-2023%2C4-12-2023&granularity=Daily&metrics=avg_thread_response_time&metrics_scope=board&user_selection=Empty Dates can get weird, but you should be able to use the datesupport method datesupport.addMonth(-1) Re: Wrap multiple component in a div with class in Quilt / page xml view Try with wrapper! <quilt layout="two-column.main-side" nestable="false"> <add to="main-content"> <component id="theme-lib.tiled-node-navigation" wrapper="my-class"/> <component id="custom_content_2" wrapper="my-class"/> <component id="theme-lib.community-activity"/> </add> </quilt> Re: BS Session: Architect a "Department" field (bonus: weekly batch update) My ideas: 1. Create a component to write to user profile, all data in json, make pagination out of it, connect with javascript, click "Begin", go on vacation. Or do daily batches. 2. Or, make JS when user opens a page, lets say a forum article page, to take all users from page and write to their profiles so you don't have to do it (doing it only when user logs in is very slow process). 3. No matter what route you go, you still need to have title update once user logs in. You can achieve that activity.results.name.UserSignedOn. Bonus: be careful making too many db calls otherwise Khoros will go into your production instance and comment out the code if in custom content xD Re: Lab / Idea / Unconference Meetup? The idea sounds just lovely! Count me in 😊 Re: http.client.request post() issue Hi AbhishekGu We went with protocol, host and url because that's how the help article is telling us we can do https://developer.khoros.com/khoroscommunitydevdocs/reference/httpclientrequestprotocol-host-url But we tried both ways, even removing variables and using hard coded values, didn't help. We spent so so many hours to make this work, but none seem to work. I am doubting post requests are even possible.