ContributionsMost RecentMost LikesSolutionsRe: Online users API V2 call brings back duplicates Hi jperk, that's interesting - what did you order by? Re: Online users API V2 call brings back duplicates The V1 api does not have all the information i need such as the rankname or avatar. In my previous version of my component it was performing a request on each item to get this information and and it would have too many requests and slow the pages down. V2 api has all the information i need without needing to do more requests within the loop. Online users API V2 call brings back duplicates I am trying to bring back a list of all online users using the V2 api but when trying it out on the live environment, it shows a lot of duplicates - possibly other browser sessions? Not sure. Is it possible to remove these duplicates in the API call? Here is my code: <#assign query = "SELECT id, login, avatar, view_href, rank.id, rank.name FROM users WHERE online_status = 'online' LIMIT 100" /> <#assign res = restadmin("2.0", "/search?q=${query?url}?").data.items /> Any help would be greatly appreciated! Thanks, Jack Re: Can I include external HTML files in my Community?Okay cool... was hoping to do it server side with Freemarker/Java to avoid the whole 'flash' of the HTML being loaded in. But if JS is the only way then I guess that would be the only way.Can I include external HTML files in my Community? Hi all, There is some parts of our community that we are trying to centralise (like the header and footer for example). On our other websites we have used PHP and JS to download a HTML file and include it in the page via ajax. Is there a way that this can be done on Lithium Communities? It would be great to move away from having to update the same code over and over again in multiple places for different websites. Has anyone done anything like this before? Many thanks, Jack Re: Notes - plain text body in email notification?Hi Tariq, good to see you! I will certainly give that a try :) Using regex seems like an elegant solution! I don't know why there wouldn't be a text only alternative to the body message as part of the system. I might need to raise a product idea about it.Notes - plain text body in email notification? On the notification emails for subscriptions, there is a variable called ${notification.plainTextBody} But the notes message only has this: ${note.getBody()} I can't seem to find any alternative version of this that removes all the HTML like the one used on general notification emails. Is there a way to get the plain text version of the content? currently, anyone with their email set to only see the text version will get all the HTML when they receive a private message and its unreadable to normal users. Any advice would be greatly appreciated. Thanks! Re: Why are attachments shown in a preview box now? Thanks TariqHussain and ChristineC for your replies. I can confirm that the location of the upload field is blank on all areas of our community but it doesn't make any difference, the 'preview' version of the file is hosted on a cloud service that I cannot view and user are finding that the preview file is stuck in a redirect loop sometimes. I have gone ahead and disabled the preview mode as it is not working properly from my office (due to IT blocking the cloud service) and also regular users encountering issues with it. Hopefully the preview mode will be improved upon in a software update in the future, I thought it was fine as it was before. Re: Why are attachments shown in a preview box now? I created a new message with an attachment but when clicking to view its still being uploaded to lithium.app.box.com The field is blank in the attachment settings so not sure why it would do that... Re: Why are attachments shown in a preview box now?Hi TariqHussain, good to see you! The field is blank but attachments still load in a modal box and they are hosted on lithium.box.com (or similar?).