ContributionsMost RecentMost LikesSolutionsRe: Default bio widget doen't work for plain Users and can't parse it from DB for plain Users But with restadmin request I receive the same error exception in the console "This widget could not be displayed." Why it complains on Widget if I'm requesting data from DB, not the widget? So I wonder, is there a way to show that author bio in the Articles for Members, who are watching that Article without Author given permission for that? Sounds for me that we do need to request from DB the list of all users and set the setting flag to TRUE to show that bio for everybody. Default bio widget doen't work for plain Users and can't parse it from DB for plain Users Hi folks. Need the help of the community brain. Found out that the default user bio widget, which parse User description from the settings doesn't work for plain Users except of Admins. So I decided to write my own component to parse that info from DB. Here is the code: <#include "theme-lib.common-variables.ftl" /> <#if user.registered > <#assign qry = "SELECT biography FROM users WHERE id = '${user.id}'"?url /> <#assign res = rest('2.0', '/search?q=${qry}') /> </#if> <@liaAddScript> ;(function() { const messageElement = document.querySelector('.lia-component-article'); if (!messageElement) return; <#if user.registered> <#if ( res.status?matches('success') && (res.data.size > 0) )> <#assign output = res.data.items[0].biography?esc /> const selectors = { main: '.lia-quilt-row-main', wrapper: '.lia-quilt-column-alley-single', ref: '#labelsForMessage', bio: 'custom-widget-user-bios' }; const parent = messageElement.querySelector(selectors.main + ' ' + selectors.wrapper); const refEl = messageElement.querySelector(selectors.ref); let p = document.createElement('p'); p.classList.add(selectors.bio); p.textContent = '${output}'; console.log(messageElement, refEl) parent.insertBefore(p, refEl); </#if> </#if> }()); </@liaAddScript> It Does work with Admins, but again, does not work with plain Users somewhy. It throw an exception in the console: <div style="font-style: italic; font-weight: lighter; color: darkGrey; background-color: Beige; padding: 10px;" class="lia-widget-not-found"> This widget could not be displayed. </div> Help me pls, what's going wrong with that user bio widget and Data i wanna parse it to the view by myself. Also I didn't find any flag in the admin that could representatively control that feature and enable/disable it. Logout hook Is there any logout hook to manage user logout event? What i need: on our community we have custom language component with endpoint. SolvedAccess root path of SDK plugin folder Hello Looking a way how to request script that placed in folder out of /res folder of plugin. So i need to call script file from /res/components/custom.component.ftl like this: <script src="../../custom-app/build/index.js"></script> Is it possible? Right now it is not working form me. Thanks for advance Iframe integration to quilts Hi, i'm trying to add iframe as widget to the quilt (custom Blog page) and i do receive an exception in the console Refused to display 'url' in a frame because it set 'X-Frame-Options' to 'deny'. I tried to include url with secured http and it does not work for me. For example i used that one "https://developer.khoros.com/khoroscommunitydevdocs/changelog" But what i'm really looking for is to run application from the pages via iframe. For exampe: i do have app folder in sdk plugin contains SPA and i want to run it from iframe inside component like this: <iframe id="iframe-container" width="100%" src="../../app/build/index.html"></iframe> But when i do in that way it loads in iframe another community platform website with our skin with message that the requested Page not found. Could you help Events api docs Hi. Working on Custom events page from 20.10 release. Looking right now api docs to read and events endpoints. Can you share it?