What is the ID of the component that displays floated posts?
I replaced the default with a custom component, and now I can't find the default component in the list of defaults. If I get the ID, I should be able to add it manually via the XML. Any ideas? Is there a place that lists all of the default components that I haven't found? Thanks, -d-Solveddustin10 years agoExpert98Views0likes1CommentDo you ever add code to the Global Wrapper?
We are pulling out corporate header and some css - it was placed in the Global skin wrapper AND the Desktop skin wrapper - am I safe in removing it from the Global (top level) skin wrapper? does anything ever need to be there?SolvedLainieH10 years agoExpert98Views0likes1CommentCount of kudo givers to a particular post
Hi, Following is the REST API for getting the kudo given users list for a particular post: /boards/id//messages/id//kudos/givers I needthe total count of kudo givers to a particular post. Is there any REST API call forthe same? Regards, Madhukandulmadhu10 years agoAdvisor152Views0likes2CommentsUsing ActiveCast from external site: requires anonymous API Read access?
Hi, I'm experimenting with using ActiveCast content from our support site (not Lithium hosted). I find that the content renders only if I grant "Make REST API calls with read access" in the Default role. I guess I thought that ActiveCast had a special incantation that wouldn't need this. Can someone confirm that Yes, indeed -- we must grant this privilege in the Default (anonymous) role in order to use ActiveCast on another site? Thanks, ChrisSolvedcjdinger10 years agoLeader153Views0likes3CommentsArchive boards should not get listed in search engine results
Hi , I have a separate category "Archive" for some boards which are not supported(and archived) now. The archive boards seem to have strong SEO attached to them, so users are still arriving at these boards, even though they are no longer supported. Could anyone guide me on how to hide some boards from SEO crawlers? Any pointers? Thanks, VaishnaviSolvedvaishnavi10 years agoExpert381Views0likes8Comments1 way SSL authentication support process
Hi , Could you please let me know detailed information about 1-way SSL authentication process supported by Lithium ? Our lithium community sites are configured with SSL certificates. We are planning to pull the content from our lithium community sites and display it on other internal sites usingthe authorization grant flow via a back-end API call & subsequent request for data retrieval. We will be using REST API calls to pull the data and we will be using HTTPS for the requests. Lithium confirmed that platform supports 1-way SSL authentication only. Here are my queries : We will be calling lithium using back end jobs (using REST API , not from browser) for pulling the data. So when this call triggered , how the authentication process (SSL hand shake) happens ? As per 1-way SSL authentication process ,clientshould be (our application) storing the trust store to validate certificate from server (lithium in this case), so who will be providing this trust store? your earliest response on this willbe highlyappriciated. Thanks, HariHari32910 years agoAdept86Views0likes0CommentsRaw Post Export, Specific Manual Tags
Hi all, I'm hoping to use the API to simplify a reporting element we currently use via CSV export, which is the identification of posts/conversations and their content from the raw post export report that contain specific manually-applied tags. Is there a way to use the API to call the raw post export report with condition of tag matching? Thanks! ScottyJSolvedHeyScottyJ10 years agoDirector174Views0likes2CommentsPosts count discrepancy for users on Recent Post Page
Hello All, This is regarding posts count discrepancy for users on two different pages. On one page we are fetching user's overall posts count by making rest API call to get metrics of users. /users/id/${user_id}/metrics Then post count is calculates by following logic: <#assign posts_count = overall_posts?number - deleted_overall_posts?number /> When we visit same user'srecentpostspage then it shows lesser posts (less count). Is there any specific reason for this behavior? Regards, Dhiraj75Views0likes1CommentRestrict posts created in board to display in "Recent Posts" widget
Hi, Is there any way we can configure that theposts created in specific board not to displayin "Recent Posts" widget? E.X.: We have a board with name "XYZ". We want to restrict posts created in this board not to display in "Recent Posts". Your help could be highly appreciated. Thanks & Regards, Phaniphani10 years agoAdvisor112Views0likes3CommentsForum Topic Page: Message quilt view all link for tags
Hi All, View all link of tags on forum topic page shows view count even if there is an singletag count. Can we manage this view all link text along with tag count to be generated once the tag count exceeds 4. Is there any configuration change so that we can follow this approach to display view all link after tag count is 4? Thank you. Regards, Mahesh153Views0likes3CommentsGetting different tag count.
Hi, I am getting different count for tag_count_1 and tag_count_2 ? Input : <#assign tagsArr = rest("/tagging/tags/top?page_size=5").tags /> <#list tagsArr.tag as tagList> <#assign tag_count_1 = tagList.mixin.cloud.weight/> <#assign tag_name = "${tagList.text}" /> <#assign tag_count_2 =rest( "/search/messages/count?f=tags&q=${tag_name?url}&collapse_discussion=false").value /> ${tag_count_1} ${tag_count_2}<br> </#list> Ouput: 1169 1171 786 786 679 680 563 668 468 469 Why tag count is different ? Please let me knowthe reason behind this. Thanks, Vishwajeet84Views0likes1CommentHow to find settings in Admin console based on its name?
Hi, As per the requirement, we haveadd the following config to the site config.disable_anonymous_access = true, httpclient.allowed_html_elements = a,p,div We are trying to findout the above settings in Admin console but in vain. Can anyone tell us how can i get/search the setting based on its name in Admin console. Is there any documentation available? Your help could be highly appreciated. Thanks & Regards, Phaniphani10 years agoAdvisor76Views0likes1CommentAPI to get all SKOS Concept added to the community
Hi, Is there any API available to get allSKOS Concepts added in community? The community API only providing the details of individual concepts by using following REST call http://community.lithium.com/community-name/restapi/vc/skos/concepts/uid/[uid] Is there any way we can get all concepts using API something likehttp://community.lithium.com/community-name/restapi/vc/skos/concepts Your help could be highly appreciated. Thanks & Regards, Phaniphani10 years agoAdvisor108Views1like2CommentsNotification email for product idea
Hello! Is there a way for me to get realtime notification email whenever an idea passes the 10 vote threshold in real time? Send a notification email to a specific email. How can I set this up? Thank you in advance for your help.Solvedskylinegtr10 years agoMentor100Views0likes2CommentsHow to build a custom thread list for display in message-list-panel
I've been trying to build a custom component that will display only unanswered threads authored by paying customers. Our paying customers have a role assigned to them "customer", so I'm querying the REST API for a list of unanswered posts, then identifying the author of each post, querying the roles of said author, then if they have the correct role, I want to append that thread to my sequence variable, which I will feed to the "forums.widget.message-list-panel" component for display. Here's my code snippet: <#list rest("/search/messages?openresponse=true&sort_by=-topicPostDate&page_size=" + results_list_size).messages.message as message> <#assign author = message.author.login> <#assign authorID = restadmin("/users/login/${author}/id").value> <#list restadmin("/users/id/${authorID}/roles").roles.role.name as authorRole> <#if authorRole?? && (authorRole == "customer")> <#assign messagelist = messagelist + message> When I save this code, Studio throws this exception: FreeMarker template error Only elements with no child elements can be processed as text. This element with name "message" has a child element named: thread The failing instruction (FTL stack trace): ---------- ==> #assign messagelist = messagelist + m... [in template "preview" at line 27, column 7] ---------- But if I change my message variable to drill down to the "thread" node level, by changing this line: <#assign messagelist = messagelist + message> to this: <#assign messagelist = messagelist + [message.thread]> it complains that my right-hand operand is not convertible to a string: For "+" right-hand operand: Expected a string or something automatically convertible to string (number, date or boolean), but this evaluated to a sequence (wrapper: f.t.SimpleSequence): ==> [message.thread] [in template "preview" at line 27, column 44] The failing instruction (FTL stack trace): ---------- ==> #assign messagelist = messagelist + [... [in template "preview" at line 27, column 7] ---------- What am I doing wrong? In other languages, this is just an array that I'm trying to append to, but Freemarker doesn't seem to like that. Ultimately, I just want to display this custom-built list of unanswered threads with this code: <div class="lia-panel lia-panel-standard top-five-threads-with-no-replies-wrapper"> <@component id="forums.widget.message-list-panel" title="${message_list_title}" messages="rest_v1:"+messagelist style="wide" numMessages="conv:"+results_list_size /> </div>clint10 years agoAdvisor315Views0likes5CommentsUpdate CSS for Accepted Solution info header
Hi everyone, I'm working on implementing the new accepted solutions info header, and I have to update the CSS for it to remove the background color and change the text color. Before: After: Updated CSS below: /* Accepted Solution info header */ #lia-body .lia-content .lia-component-solution-info:after { clear:both; content:"."; display:block; font-size:0; height:0; line-height:0; visibility:hidden; } #lia-body .lia-content .lia-component-solution-info { color:#333333; margin-bottom:10px; padding:10px; } #lia-body .lia-content .lia-component-solution-info .solution-header-left { float:left; font-size:14px; font-weight:bold; color:#397739; text-transform:uppercase; } #lia-body .lia-content .lia-component-solution-info .solution-header-left .solution-icon { padding:5px; } #lia-body .lia-content .lia-component-solution-info .solution-accepter { float:right; font-size:11px; } #lia-body .lia-content .lia-component-solution-info .solution-accepter a { font-weight:bold; } However, I'm having trouble with where to update the CSS in Studio. I already tried the following locations, but it did not work when I pasted the above into the editor. Community Style > CSS > Our Current Skin > Skin CSS and Community Style > CSS > Our Skin > desktop > Skin CSS Any help is appreciated. Thank you! :cathappy:Solved226Views0likes5CommentsAPI - Does a thread have new content?
Hello, I'm trying to use the API to determine if a thread has new content for me, since the last time I viewed it. E.g. did someone reply after I viewed a thread last. I tried comparing total replies and read replies, but this does not work if I haven't viewed all the pages in a thread. (If I view page 1/3 and page 3/3 of a thread, the API tells me I have unread replies. Technically true, because I didn't view page 2/3, but not helpful in this case.) Has anyone figured this out?96Views0likes2CommentsInject custom badges by rest-api?
Hi, I have a bunch of badge-related questions: Is it possible to add a badge to a user by a rest-api call?Like, adding badges on external activites the user does external to Lithium. Is it possible to combine external api injected badges with more traditional Lithium achivement based badges? May they co-exist? Is it possible to host the badge images outside of Lithium? Thanks // TorbenSolvedgnilron10 years agoContributor182Views0likes1CommentGet URL of user avatar, but get default image if user's account has been closed
We have a custom component that generates the author block of each topic/reply. The custom component pulls the avatar URL for the message author via the API. However, when the user has closed their account, this API call does not successfully return the default anonymous user image from the settings. Instead, it returns a mysterious default image from deep in the depths of Lithium (see attached). Lithium support told us that to fix this, we need to update the logic in our custom author component. This is the solution I came up with, and it works, but I wanted to post here both tosee if it's a good solution, and to potentially assist future seekers. The solution checks to see if the user id of the message author is -1, since that is the user ID that Lithium seems to be assigning to closed user accounts. Is this a solid solution? <#if messageAuthorId == -1 > <#assign avatarUrl = "/html/assets/icon_anonymous_message.png" /> <#else> <#assign avatarUrl = rest("/users/id/${messageAuthorId}/profiles/avatar/url").value /> </#if>Solved293Views0likes2CommentsSSL certificate setup
Hi, We are going touse OAuth 2.0 (using back end API call) to pull the data from our lithium community site. Could you please help me to understand the SSL set up process ? 1. We will be using HTTPS for the authentication token (OAuth 2) & pulling the data 2. Does Lithium supports 2 way SSL authentication? 3. Who will be providing the certificate to install at our end and also could you please point to documentation for the same ? Thanks, HariHari32910 years agoAdept140Views0likes1Comment"Read more" link CSS
Forgive me if this sounds like a dumb quesiton, I am the middle man for our developer :) OOB, there is a "Read More" link on the /bg-p/ on I think the articles component when you use the article teaser. As far as I know there is not any other component that uses this, but I wanted to ask the experts. So can any one tell me if this class is used anywhere else OOB? <a class="lia-link-navigation read-more-link">Solvedallisonn10 years agoGenius151Views0likes4CommentsBadge Mail Notification
Hi all, I want to modifyone of the badge rules we are using. Actually there are a numberofusers whoalready earned the badge. So I want to delete the badge, modify the rule and recreate the badge. The question I have is: Can I create a badge withoutmail notification about the created and instandly earned badge? For the users there will be no difference and we don't want to confuse them. Thanks for the help! Regards, MichaelSolvedmicha8010 years agoExpert226Views0likes4CommentsStart Article option in Discussions
Hi, In discussion Board there is option to start Article, when we select the option it will redirect to TKB Article page and we can able to see only discussion subject in the Article subject line. Is it the default functionality? If Discussion has replies in it wheather it will add to TKB.72Views2likes0CommentsFavicon issue for IE on View profile page
Hi All, I have added a favicon for community in header wrapper. <link href="/html/assets/favicon.png" rel="shortcut icon" type="image/ico" /> It gives issue with View profie page on IE and Chrome. It shows user avatar icon as favicon on View profile page. This is in IE and Chromenot consistent to all browsers. Please help me on this how to make consistent. Thanks & Regards, Mahesh R117Views0likes3CommentsHow do I find a Tag in the XML
Hello, I am using this end point restapi/vc/threads/id/121427 I get everything I need out of the XML that is returned, except for the tag that is associated with the post. Does anyone know how to access tags associated with a thread? AndrewSolvedaheffernan10 years agoContributor108Views0likes2CommentsHow do I get the detailed description for a board?
In the Community Admin, you can create a title, short title, description, detailed description, etc... The API documentation shows that you can display the title, description, etc... but doesn't say anything about the detailed description. Is it possible to do this, or is this a missing piece in the API? Here is the code that works to display the description. <#assign page_info = rest("2.0","/search?q=" + "SELECT id, title, description FROM boards WHERE id = '${coreNode.id}'"?url).data.items /> ${page_info[0].description}Solveddustin10 years agoExpert203Views0likes1CommentLithium SSO
Where can I find documentation on the "Lithium SSO". I'm looking into how to implement a delegated authentication. So, a login to the community should be delegated authentication'wise to our end simplest way possible. Initially we don't need a real sso, rather just a delegated authentication call to our side meaning our customers will not need to register manually with the community. Any docs explaining this information flow / options available? Thx // TorbenSolvedgnilron10 years agoContributor416Views0likes1CommentRemoving components from templates
We have a component on almost every page type we would like to remove. Is the only way to do this to go page type by page type and manually x it off the page? At this point we don't want to delete the component, we may want to utilize it later. Does anyone else have any suggestions on how to remove it in a more bulk way? Worst case scenerio, we could copy the code into a new component and delete it out of this one so it's essentually blank and repopulate if we decide to use it again, but that is really a last resort right?allisonn10 years agoGenius223Views0likes8CommentsConfiguring/Customizing the Ask a Question Component
Hi all, Building on the Knowledge Base Article for the Ask a Question Widget, does anyone have any guidance for how to customize the component to also include results from a TKB? Not sure if that is configurable, or if that needs to be a custom component, and if so, how to best apporach either. Thanks! ScottyJHeyScottyJ10 years agoDirector61Views1like0CommentsActiveCast widget not working
Hello, For some reason the ActiveCast widget not displaying anything. I've followed the instructions.Copy and past the content of theCodefield in the exact location where Iwant it to appear on mywebsite but nothing is displaying. Am I missing something here? What am I doing wrong? Thanks!skylinegtr10 years agoMentor221Views0likes7Comments- 158Views0likes3Comments
Multiple Skins / Theme Questions
A long long time ago we were working on a Lithium Community that used multiple skins. At the time we noted a behaviour where the skin was "sticky" meaning that if you navigate to a page such as Leaderboards, Profile page etc the skin followed you around. Only once you navigatedto the Home page or the specific node for that skin it switched themes around. We know this was the case because it was noted as a caveats in our original SOW.We've noted this is no longer the case and the "other" skin only applies when you are under the specific node its applied to. Is this behaviour still a setting? Any idea if pageinitialisation can override the skin? Next question on this, what are peoples experiences using rank icons and badges across Communities with multiple skins? If we wanted to award badges specific to that skin what are our options? peterluzhurst96Views2likes0CommentsFire javascript/jquery event after search is completed
Hi, I have 'search-encapsulation' on a page. Whe I go to 'SearchPage', search result is displayed with pagination. I want to do :- 1. capture when the rearch results are loaded 2. DOM manipulation of the search result DOM My assumption is, search results are getting loaded through an AJAX request. Thus I am trying to capture/use GLOBAL ajaxComplete event as below :- $(document).ajaxComplete(function(event,request, settings) { console.log('ajaxComplete handler start'); console.log(event); console.log(request); console.log(settings); console.log('ajaxComplete handler end'); }); I have added above handler in skin wrapper 'Page Head Bottom Content' section. 'ajaxComplete' event is getting triggered on page refresh. But when I click on pagination links to load next search results, 'ajaxComplete' event is not getting triggered. Can anyone help me in this? Thanks, Vaishnavivaishnavi10 years agoExpert136Views0likes1CommentDifference between components users.widget.my-friends-by-request and users.widget.my-friends?
By fiddeling around with@override I discovered, that there seem to be two studio components for displaying the list of friends/followers (one "normal" one and one non-contract): <#-- non-contract --> <component id="users.widget.my-friends"/> <#-- normal --> <component id="users.widget.my-friends-by-request"/> From placing the non-contract component on the profile page (where the normal component is found by default) it doesn't seem to output anything different, the only difference seems to be, that the non-contract component can be used anywhere while the normal component doesn't show anything for example on a CommunityPage, can somebody confirm that? In the end the question is: Can I safely use@override on both components to change them both to one custom component made be me?luk10 years agoBoss67Views0likes0CommentsNot able to find label quilt on post page.
Hi All, I am not able to find predefine label quilt on post page when we navigate directly from the category page. But it do appear when we navigate from board pages. Is it context specific as quilt is not able to find the predefine labels? Please let me know if it is possible to bring label quilt on post page. Thank you. Regards, VishwajitSolved92Views0likes1CommentLithium Avatar API Pulls
We have another department that would like to sync customers' community avatars with their profile page. I believe the api field is here: https://community.lithium.com/t5/Community-API/bd-p/developers-rest-api?branch=AvatarImage Currently users have a profile page (not hosted in Lithium). They would like add the Lithium Avatar feature to their page. They would like to pull the same avatar that they are using on the community and display it on our client profile page. What is the proper API calls to pull the avatars from the community to the profile page? Can this be done if the profile page is not hosted on Lithium?SolvedJasonMi10 years agoLithium Alumni (Retired)512Views0likes17CommentsUsers Online Count Explosion!
We are seeing 1000's of anon sessions for a single ip address.http://whatismyipaddress.com/ip/178.34.160.200 . Most usersonline rows are blank but it appears it is someone in Russia (or proxying through a Russia ip) searching through our TKB's and Forums. He might also be someone looking for vulnerabilites in the search form. A few urls resemble .../t5/forums/searchpage/tab/tkb_< Which get inserted into some hidden form fields without escaping the characters. <input value="SearchPage:tab/tkb_<:searchauthorfilter.form:" name="liaFormContentKey" type="hidden"> http://community.ubnt.com/t5/forums/usersonlinepage/show-anon/true/show-dup-users/true Is there anything that we can/should do to de-dupe the anon sessions? Or, is there anything we can do to get a more accurate metric for users online? I don't really want to ban the IP address because it would not be hard for someone to open a new proxy and resume where they left off. FaisalKNot sure if this is a security concern, but figured I would let you know. Ubnt has a Hacker One account setup so we will notify youif anything get submitted.272Views0likes6CommentsAmbiguity in Lithium API V1 vs V2 Best Usage
Hi, I have a requirement where i need to pull information about the user comments like boards, messages and threads everyday once. So which one is best API v1 or API v2 ?? Kindly provide suggestion. Thanks in advance. Thanks, BhargavSolvedBhargav110 years agoGuide189Views0likes3CommentsREST API for count of unread posts
Hi, The following is the call for getting count of unread messages in a thread: http://community.lithium.com/community-name/restapi/vc/threads/id/[id]/messages/unread/count Similarly, is there any REST API call for getting count of unread posts in a particular category/board w.r.t. logged in user? Thanks and regards, MadhuSolvedkandulmadhu10 years agoAdvisor352Views0likes3CommentsUsing the authorization grant flow via a back-end API call
Hi , We are planning to use "authorization grant flow via a back-end API call ". Could you please let me know the process to get the access token and refresh token after we create API-only user with appropriate permissions ? This is to pull data from lithium community sites and display on some of our other sites. An earliest response will help a lot ! Thanks, HariHari32910 years agoAdept505Views0likes14CommentsHow tell the difference between OOB HTML table and quilt components
Hi everyone, We are working on some redesign of our community was advised to post my question here. We have been told that OOB components that utilize Lithium's quilt architecture are much more flexibile with styling than components utilizing HTML tables. Is there a way to tell which type of architecture a component uses? e.g. through inspect element or something like that?allisonn10 years agoGenius167Views1like3CommentsBranded Email Templates & Custom Content
Hey, Quick question... So im in the process of updating and branding all my system emails from the community and I got thinking "What if..." you could pull content from the communities customer content fields which you're able to control in admin, this may end up as an idea if not possible but I just wanted to check if there was somethinglike; ${customer.content1} I could use in the email template to pull content into the templates? Usecase... I'm currentlyfeaturing promo information in my email templates to drive engagements and for now its no major bother for me to edit in studio and push but i'd like others who have admin access to be able to update this content via a customer content which isthen pulled into an email.. Possible today?103Views1like2CommentsNeed to create custom component like message list OOB component
HI All, Can anyone suggest me how will i able to bring the forum images by the topic current status. As we see them in the message list OOB component used on board page. The Images differ by the status of the topic in the message list and i want to implement in the custom component. Thank you, regards, Vishwajit Shinde.154Views0likes4Comments