Custom Pages
Hi Team, We have different instance in the Community and in one of the instance we can able to see all the custom pages pay layout in the content tab in the admin and in the other instance we are only able be see only two custom page layouts only. Is there any admin setting to map all the environment sync. Attaching the screenshot for your reference. Kindly let me know if you need any more information. Regards, Abhishek Illindra143Views0likes5CommentsGet user details using v2 call order by last visit time
Hi All, I want users sorted by there last activity. I have tried V2 call : SELECT * FROM users WHERE roles.name="Administrator" It have a last_visit_time as one parameter.Can we use this for getting result of users order by this parameter? I have tried bellow call but it gives error. SELECT * FROM users WHERE roles.name="Administrator" ORDER BY last_visit_time' Please help me if you know any better approach or any thing that sorts users by last_visit_time. Regards, Mahesh Revanwar140Views0likes2CommentsBoard List component for individual category?
Hi, Is there any way we can make Lithium core component '<component id="forums.widget.board-browser-list"/>' to display specific category board list in the community page (not in individual category page)? Any help would be highly appreciated! Thanks & Regards, Phaniphani8 years agoAdvisor101Views0likes2CommentsHow to display Notification feeds on home page?
Hi, I want to display user notification feeds on community home page. Right now all notification feeds are displaying in notification feed page (/t5/notificationfeed/page). I placed same component <component id="notification-feed"/> on community home quilt but this lithium component is not showing any feeds. Any thoughts on how to do this? Thanks & Regards, Phaniphani8 years agoAdvisor171Views0likes4Commentsspecific user error on custom component
We created a custom component for the users settings which was working fine for a long time. But for some weeks now some users are complaining about that thewidgets aren't loading on this specific page. We had a deeper look into it but we are not able to reproduce this issue either on stage nor on production. So wecreated a test output foronly admin users on production to call the users profile which have these issue. And for some reason weget an FreeMarker template error for these users, if we try a different user id everything is working as expected. We also compared the results from the restapi call butstill have no clue what is causing the issue. All we’re trying to do is the following: <#assign userProfiles=restadmin("/users/id/45993/profiles?restapi.response_style=json") /> <#assign profiles><@xmltohash xml=userProfiles.profiles.profile /></#assign> <#assign profiles=profiles?eval /> The issue occurs on the third line: FreeMarker template error (HTML_DEBUG mode; use RETHROW in production!) Failed to "?eval" string with this error: ---begin-message--- Syntax error in ?eval-ed string in line 3, column 54: Encountered "Kunden", but was expecting one of: ".." <DOT_DOT_LESS> "..*" "," "}" "." "[" "(" "?" "!" <TERMINATING_EXCLAM> "??" "+" "-" "*" "/" "%" "!=" "=" "==" ">=" <ESCAPED_GTE> ">" <ESCAPED_GT> <LESS_THAN_EQUALS> <LESS_THAN> <AND> <OR> ---end-message--- The failing expression: ==> profiles?eval [in template "custom.cb.settings-page" at line 248, column 21] ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign profiles = profiles?eval [in template "custom.cb.settings-page" at line 248, column 3] ---- Anyone an idea whats going on here? Thanks in advance Christianmicha808 years agoExpert167Views0likes3Comments503 - Service unavailable back-end server is at capacity
Hi, I am constantly getting "503 Service Unvailable Back-end server is at Capacity" for "SELECT subject, id FROM messages WHERE conversation.last_post_time > 2017-02-02T10:04:30-08:00 AND conversation.last_post_time < 2017-03-03T10:04:30-08:00 AND depth=0 ORDER BY conversation.last_post_time DESC" Sometimes "Select * from Messages", "Select * from Boards" are working. I am not firing queries too quick though --> Once call per 15 mins. 1. Are there any rate limits applied on the calls 2. How do I get messages based on the post_time --> This is not working when I used it with messages LiQL 3. How can I do paging (fetch multiple pages) with subsequent calls Any advise ? Thanks RajSolvedrajpi8 years agoAdept185Views0likes4CommentsAPI call from stage to production environment
Hi, is it possible to make an API call from stage environment to production environment, e.g. to get specific settings from a user, who only exists in the production environment? <#assign userProfiles=restadmin("/users/id/45993/profiles?restapi.response_style=json") /> If I changethe 'url' to thespecific url from production environment e.g.: http://www.example-domain.../users/id/45993...it fails because itautomatically usesthe domain of the current (stage) environment.Solvedk_auerbach8 years agoHelper174Views0likes2CommentsGet all replies along with their kudos count
Hi, I am new to using lithium and I want to get data like [author, reply, kudos] related to a particular board id. I don't want the parent threads but only replies. Currently using /restapi/vc/boards/id/##/posts/recent?restapi.format_detail=full_list_element&page=2&page_size=250. But this doesn't provide all the replies. Please helptripathysa8 years agoContributor78Views0likes1CommentResponsive version of forums.widget.message-list-panel component?
Hi, I'm refactoring some old custom pages/components that were originally designed for pre-Responsive community. To make things easy, I'm hoping there is a new responsive equivalent of the "forums.widget.message-list-panel" component described in this thread: https://community.lithium.com/t5/Developers-Discussion/Is-there-a-way-to-use-forums-widget-message-list-panel-with-API/m-p/205124#M9233 To be clear, this component still works on Responsive communities but it doesn't match with the new default message/thread lists. Anybody know? Would be great to have an OOB responsive component that can take a rest call as a parameter. Thanks, FranzFranzG8 years agoGenius71Views0likes0CommentsOption menu inside custom component loop
Hi there!! We developed a custom component to replace the default "ContestSubmissionPage" but we are missing the options menu (where we can edit, delete...) for each comment. Is there a way to send the message id as parameter to “<@component id="menu-bar" />” so we can have this option inside our comments loop with the menu options for each message. If not what can we do? Thanks83Views0likes0CommentsSingle query/call that would fetch only comments/replies from a TKB
Hello, We are looking to understand if there is a way to retrieve comments /replies from a TKB.Is there a REST API V1 or V2 call to fetch the details with a single call. Basically we are thinking of having a report on comments like when the comment was posted and when it was actioned ( if there was an action out of the comment). Thanks for your assistance. Regards Shankarshanks17088 years agoContributor88Views0likes1CommentPagination through array
Hi, I am trying to create ranking page which is based on user points. For now I have around 5000 users who are counted and added to freemarker array. I am sortingarray by points and I have problem with pagination. I have proper pages count but every page sorts array based on offset and I get sorted elements which is fine but instead of sort 5000 elements it sorts 10 or 20 depends on offset. Is there a way to create one array and paginate through sorted results? <@component id="common.widget.pager" pageableItem=pageable_item /> I would like to achieve something like this: kudos/leaderboardpage/timerange/one_month/page/1/tab/authors There is a pagination but results are sorted globally.omygoodness8 years agoMentor101Views0likes1CommentClient Id for OAuth
Hi All, I am working on OAuth Grant flow integration . Currently ,our forum works in this way .My application tries to post to API by following Url. https://test.community.com/messages/id/1/reply?para1='test'¶2='test1'. Inorder to replyto a thread from my app, I need tomake a request with above URL withAuthroization Token. But I guess, API also expectsClient ID which I am not sure how to get it. Till now we worked on GET calls which require no Client ID. This ClientID must be the configuration which was set during community setup. Anyways I can know about that and pass that ClientID along with Token for posting a reply ? Thanks.vbandi8 years agoContributor263Views0likes2CommentsHow to detect search context (forums vs tkb) on SearchPage
On the SearchPage, I would like to change the styling based on if users are searching the forums or knowledge base, or users. I see that within the url, this information exists. t5/forums/searchpage/tab/tkb?location=community%3Azjzhh79394 Is there a way to access this via freemarker?Solveddustin8 years agoExpert122Views0likes2CommentsAnonymous user publish a contest
Anonymous user tried to publish a new entry in the Contest then what will be the scenarios Is it going directly to the Login page or it will show any alert message. We are observing two scenario's while publish it can any one guide us with the right approach.63Views0likes1CommentKnowledge base options in the Community
Hi All, We didn't have any knowledge base in the Community and even we can able to see in the Community Structure if we expanded it. We can still able to see KB icon in the Structure. Attaching the screenshot for your reference. Is there any admin setting changes need to perform to resolve this issue.Solved191Views0likes7CommentsREST call for context object ${env.context.message.id} ?
Can anyone please tell me the REST call to or alternative way to get${env.context.message.id} ? I am getting freemarker error when I try to access${env.context.message.id}, so I need some alternative way such as REST call or any other so that I could get the same value as I am getting by${env.context.message.id} .Solved417Views0likes4Commentslithium api auto recognition of labels?
Hi all, I'm pulling product documentation into our community. We have a script ready that we have used to display other content in the community. Just wondering if the Lithium API will be able to automatically recognize content and generate labels and tags? Has anyone done this before? Thanks, EmmaEmmaFurtado8 years agoMentor84Views0likes1CommentEvent subscription : reply message not triggering the event
When we create new Message "CreateMessage" event occurs , but whenever we post a reply to parent post "CreateMessage" event is not triggered. Same happens with "MessageUpdate" : editing parent post triggers the event but , editing the reply dosn't. Why is this happening ?78Views0likes1CommentHow to retrieve meta tag picture in Twitter?
So we launched a community instance and want to start twittering about it.https://twitter.com/blizz_meeting What is needed to retrieve the meta tag picture? I tried adding the code as described here/t5/Developers-Discussion/code-snippet-for-social-meta-tags-open-graph-and-twitter/m-p/207009/thread-id/9370 ...but no luck. https://cards-dev.twitter.com/validator helps to test whether this works for any URL. We are on responsive. Any idea?Benjamin8 years agoMentor127Views0likes1CommentRetrieving the message/user in event subscription
<#assign userNode = http.request.parameters.name.get("user","") /> Want to get all details of userNode for UserCreate, UserSignOn, UserSignOff, UserUpdate ,UpdateMessage, DeleteMessage.. Like in documentation we have a complete "message" xml format for CreateMessage , want to retrieve xml body for "user" as well as "message" xml for It would be helpful if there is some documentation link which specifies the xml format .127Views0likes2Commentsuser-sso-registration-form in a modal
We are trying to open the Create username component on the community in a popup. From the documentation, we have created following: <@modal id="user-sso-registration-form" label="custom.username.modal" /> The popup does open but the user-sso-registration-form is not rendering inside that. There is no error. Can we not use this module in the modal? Or are we missing some steps?140Views4likes2CommentsHow to implement country bans
For compliance reasons, we want to ban users or at least raise a flag for our staff as soon as a user from a country under embargo wants to interact with us. Given the fact that IP ranges can vary and the lists are huge, what would be the best way to go about implementing this?SolvedBenjamin8 years agoMentor229Views2likes3CommentsAbout Lithium Communities deployment
Hi everybody, I was having a look to the "Lithium communities" platform but I haven't been able to figure out if the platform can be deployed just in the cloud or if it is possible to have the platform deployed in my own servers. Regards, Pablo.PabloFNK8 years agoContributor98Views0likes1CommentWidget/page with multiple paging items
I have created a freemarker widget for my users so they can see all of their content on the profile page. It works great, the content is put into 3 categories, top-level content, replies or blogs. The only issue I have is that I would like to make the size of the whole component similar (5 posts at a time) and would like to use paging to help with that. I got paging to work, only to find out that I would only be able to page 1 type of post, and I wouldn't be able to do it to the others on that page (since it changed the URL). Is there any way I can have multiple pageable items on one page?kfox228 years agoContributor96Views0likes1CommentWorkaround for pulling all image comments by a user
Is there a way to see all of the comments a user has posted on an image? We recently had a spammer post spam topics, comments on ideas, and comments on images. It seems the "mark all content as spam" function doesn't mark image comments as spam, and this information isn't included in a user's private stats. We want to find these comments so we can manually delete them. Lithium Support said there aren't any outright calls in the API to get this sort of information, but that perhaps someone knew of a workaround. Any help is appreciated! Thanks!lilim8 years agoBoss84Views0likes1CommentMissing Styling on a Category's boards
Hey guys I'm trying to figure out why this Board doesn't pull in the class "board-header hubspot-partners-board-header" in Stage or Production https://community.hubspot.com/t5/HubSpot-Agency-Partner-Kickoff/bd-p/partner_kickoff_2017 https://community-stage.hubspot.com/t5/HubSpot-Agency-Partner-Kickoff/bd-p/partner_kickoff_2017 Unlike all the other boards e.g.: https://community-stage.hubspot.com/t5/Marketing-Product-Support/bd-p/marketing_support https://community.hubspot.com/t5/Marketing-Product-Support/bd-p/marketing_support One thing I did do, probably incorrectly, is create the board in PRODUCTION first then I recreated using same ID in STAGE. Now for some reason all boards in this category don't pull the header that's been set in the stylesheet.roisinkirby8 years agoExpert90Views0likes2CommentsIs it possible to have parent/child Idea labels
Our company has three distinct products, but some of them share apps/functions. Is it possible to create dependent labels / parent and child label groups? For example if somebody has a feature request for 'Dashboards' or 'Account & Settings' we want to know which product category they are referring to. Our community structure is broken down into categories by product, but we are against the idea of having three separate ideas forums for each category.roisinkirby8 years agoExpert87Views0likes1CommentCan you add or remove a single subscription for auser?
The v1 REST API lets you removeallof a specified user's subscriptions with one call, but I'm looking to remove a specific individual one. Failing that, I'd be happy to remove all then add specific subscriptions back, but I don't see that documented either. Is either option a possibility?ryanplant-au8 years agoHelper118Views0likes1CommentV2 API: How do I get author's kudo count for past month?
In the following code, I can retrieve the list of users who have kudos in the last month, then for each user I get their details to display them. I wish to get the kudo count for each author, however the API doesn't seem to allow a comparison with the KUDO table's TIME attribute. Any ideas? <#assign lastMonth = dateToday - (30 * 24 * 60 * 60 * 1000) /> <#assign oneMonthAgo = lastMonth?number_to_datetime?iso_local /> <#assign top_users = rest("/kudos/authors/leaderboard?max_age=one_month").users /> <#list top_users.user as user> <div>User ID: ${user.id}</div> <#assign userAvatar = rest("/users/id/${user.id}/profiles/avatar/url").value /> <#assign userKudos = rest("2.0","/search?q=" + "SELECT * FROM kudos WHERE time > ${oneMonthAgo} AND message.author.id = '${user.id}'"?url).data.size /> <#assign userInfo = rest("2.0","/search?q=" + "SELECT * FROM users WHERE id = '${user.id}'"?url).data.items /> <a id="user_${user.id}" class="dk-component-item member" href="${userInfo[0].view_href}"> <div class="member-icon" style="background-image: url('${userAvatar}');"></div> <div class="member-name">${userInfo[0].login}</div> <div class="member-badge">[badge]</div> <div class="member-kudos">${userKudos} <span class="label">kudo<#if userKudos gt 1>s</#if></span></div> <div class="member-rank">${userInfo[0].rank.name}</div> </a> </#list>Solveddustin8 years agoExpert218Views0likes1CommentReturning all results from LiQL query
I am passing a query but the maximum number of results that is being returned is 1000. I understand there is an OFFSET option, but when I pass this query: 'SELECT distinct title,parent_category FROM boards LIMIT 1000 OFFSET 1000', nothing is returned. What I am looking for is returning the next 1000 results and so on until I can access all the results.Vedraj8 years agoContributor164Views0likes3CommentsUser Count
Hi All, We are working on Total number of users count in the Community. We tried with different approach to know the user count.The Values are showing differently. If we try with rest call it is prompting different values and same thing if we checked with Metrics option in the Admin.85Views0likes1CommentHiding option in search granularity with CSS, but it still displays on IE
Hi everyone, I've run into a little issue and am hoping someone can provide some insight. Our community has the TKB feature enabled, however we are not using it at the moment (nor have we set it up). I was able to hide the "Knowledge Base" option from the search drop down list with the following CSS, which hides it when using Google Chrome, however the option still appears when using IE11 & Firefox v51.0.1. #lia-body .lia-content select.lia-search-form-granularity.search-granularity option[title="Knowledge Base"] { display: none; } Any information or suggestions would be greatly appreciated! Thanks, StephenStephenB8 years agoExecutive175Views0likes3CommentsReporting on Tags
Hello, I'm curious if anyone has had luck in the past and/or knows how to get some specific reporting metrics on tags or custom tags. We're specifically looking for the time stamp that specific tags were used as well as which conversations they were used on. Example: Tag A was added to Topic X on 3/1/2017@ 12:00 PM. Tag B was added to Topic Xon 3/1/2017@ 12:05 PM. I'm interested in both standard and custom tags. Possibly something that can be done via API? I've searched the Lithium Community and found info on retrieving the tag name and message, but don't see anything about the tag time stamp. /t5/Developers-Knowledge-Base/Retrieving-messages-from-a-forum-by-tag-or-author-using/ta-p/6629 Thanks in advance!Solvedadsk_cmgrs8 years agoDirector194Views0likes1CommentIs there a Recent Blog Posts page like there is for forums? If so, where. If not, how to create one?
I createda component that displays recent blog posts by a given author to include in their profile. However, it only shows the LIMIT I set or all. I want to be able to go to an archive page / recent blog posts page i.e., VIEW ALL when there are more than, say 10 or 20 posts. Can I create an archive page similar to the forums recent post page, i.e., /t5/forums/recentpostspage/post-type/message/user-id/62383 I'd think the link would be something like /t5/Blogs/recentpostspage/post-type/message/user-id/62383 I do notice there is a BlogArchivesPage w/ quilt, but no idea where to find it on the site. Am I missing something obvious? On Lithium, I'm not a blogger, but on our site there are about 30 bloggers, and I'd like to be able to have this. Thoughts? SuzieHgot any magic bullets? PS: I did get the information that there's this,/t5/blogs/blogarchivespage/blog-id/[your blog name here]/ but I'm looking more for a paginated tabular listing of an individual blogger's posts. Does that exist? If not, what's the best way to go about it?SolvedInactive User8 years ago307Views0likes8Comments