Disable Views count option is not working in the message list page (ForumPage)
Hi All, We aretrying to disable "Display number of new posts in a topic" in Admin Settings. Even after Disabling in the settings still it is displaying in the forum page and we checked all the css nothing is hide. Thanks, Ravindra.121Views0likes1Comment[SDK] Error while uploading plugin
[gulp] Error in plugin 'submit-plugin': Error: [UPLOAD_FAIL] Server side plugin validation failure. Failure Code: COMPONENT_PARSE_FAILURE Failure Rule: CUSTOM_RULE Failure Message: A component file in the plugin has a possible issue. Failure Details: Detailed error is: No object of type lithium.web.javascript.tapestry.services.LithiumJavaScriptSupport is available from the Environment.. [16:28:30] Plugin upload failed Anyone any ideas what this means?darrenSP7 years agoMentor197Views0likes5CommentsFully qualified view_href not coming through in HTTPS endpoint
I'm creating an Endpoint that simulates an RSS feed forfeatured topics in certain board/categories. Using the v2 API, I'm using the message.view_href property to populate the <link> field. That works perfect when the endpoint is called using HTTP. But when using HTTPS, the view_href field is missing the site address, and returning just the relative URL. For now, I've kluged it so that I append the base site URL when using https. But...why? What am I missing? Here's my code. <?xml version="1.0" encoding="UTF-8"?> <#-- Endpoint to serve the most recent featured topics --> <#-- Specify either category= OR board= on URL --> <#assign category = http.request.parameters.name.get("category", "sas_programming")/> <#assign board = http.request.parameters.name.get("board", "")/> <#assign size= http.request.parameters.name.get("size", "5")/> <#assign root=""/> <#if (http.request.ssl == true)> <#assign root="https://communities.sas.com"/> </#if> <#if (board)?has_content> <#assign messages = rest("2.0", "/search?q=" + "SELECT * FROM messages WHERE depth=0 AND board.id = '${board}' and conversation.featured=true ORDER BY post_time DESC LIMIT ${size}"?url )/> <#else> <#assign messages = rest("2.0", "/search?q=" + "SELECT * FROM messages WHERE depth=0 AND category.id = '${category}' and conversation.featured=true ORDER BY post_time DESC LIMIT ${size}"?url )/> </#if> <rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0"> <channel> <title>Featured content from SAS Support Communities</title> <link>https://communities.sas.com</link> <description>These featured topics are the most recent from SAS Support Communities</description> <#if messages.data.items?has_content> <#list messages.data.items as message> <item> <title>${message.subject}</title> <link>${root}${message.view_href}</link> <description>${message.body?html}</description> <guid>${root}${message.view_href}</guid> <pubDate>${message.post_time?datetime?string["EEE, MMM dd yyyy HH:mm:ss +0000"]}</pubDate> </item> </#list> </#if> </channel> </rss> Example endpoint call: https://communities.sas.com/kntur85557/plugins/custom/sasinstitute/sasinstitute/featured-rss?board=sas_eg Thanks for any tips, ChrisSolvedcjdinger7 years agoLeader254Views0likes3CommentsHow to Make REST API V1 Call using OAuth Access Token.
Hello, I need help to perform REST API V1 call using OAuth Access Token. I referredhttps://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv1&page=apicall#constructingTheUrl andhttps://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=oauth2, but unable to find the solution. I followed the example given in Community API V1 DocumentationURL format with OAuthand got an error. Please let me know. Thanks, SuchithSolved328Views1like4CommentsLabel filter on the Search results page is not displayed
On the search results page in our community, we have the following filters, but no Labels filter: Here's the same filter onLithium's community. Note the addition of the Labels filter: Looking at the Search Page Thread Filters page (a subset of the Message Search page), it has the following XML which appears to include a reference to the search.widget.label-filter. I believe this is what builds the search filters at the top of that page. <quilt layout="single-row-full" nestable="false" disableTopCssClass="false"> <add to="main-content"> <component id="search.widget.location-filter" isDropDown="true"/> <component id="search.widget.label-filter" isDropDown="true"/> <component id="search.widget.author-filter" isDropDown="true"/> <component id="search.widget.post-date-filter" isDropDown="true"/> <component id="search.widget.bling-filter" isDropDown="true"/> <component id="search.widget.type-filter" isDropDown="true"/> <component id="search.widget.content-filter" isDropDown="true"/> </add> </quilt> Are there other options I'm missing to get that Labels filter to show up in our community?Solvedrobertcavanna7 years agoMentor258Views1like2CommentsSocial Publishing Webhooks
Hi, I am investigating Lithium Social Publishing for a client. My client would like to create and schedule posts in Lithium and then have the scheduled posts checked programmatically for appropriateness, accuracy, etc. before creating a response to either approve or reject the post. We've done this type of integration with other publishing clients where webhooks are sent from the publisher, our system analyzes the content, and then sends an approve/reject response back to the publisher. Is this possible with Lithium? I couldn't find anything in the API or product documentation that would confirm. Thanks!nallenanderson7 years agoContributor73Views1like0CommentsCustomize the attachments preview appearance/behavior
Hi, We're on the non-responsive skin, and the default appearance for message attachments is confusing to some of our users: We would like to customize this to make it clearer what each action does, and maybe even add a third action: "preview as text". (That one might be a stretch -- I know that Lithium is using the Box.com viewer to do the lightbox rendering.) Imagine something that looks like: ------------------- Attachments: filename1.ext [Preview] [Download] [Preview as text] filename2.ext[Preview] [Download] [Preview as text] ------------------ I'm not afraid of a little Freemarker to make this happen, but I'm not sure where to begin. If I could get close with just CSS, I'm happy to do that as a start. Elements include lia-attachment, lia-attachment-row-element, lia-attachment-link-row-element and a few others. Thanks for any ideas, Chriscjdinger7 years agoLeader92Views1like1CommentOauth 2.0 : facing issue to get authorization code
Hi, I am trying to implementOauth 2.0 authorization. I am not familier with it. I have referred below link on lithosphere : http://community.lithium.com/t5/Community-API-v2/OAuth-2-0-authorization-grant-flow/ta-p/138402 Done POST call through 'poster'(add on) on Firefox using following details : URL :https://<community_url>/auth/oauth2/authorize client_id=<client_ID_of_community> response_type=code redirect_uri=https://<community_url>/getaccesstoken But facing issue to get authorization code, which is very first step ofOAuth 2.0 authorization grant flow. Am I going in right way ? I have confusion about 'redirect_uri' parameter. What it should be ? Let me know if you have any suggetion for the same. Thank you in advance. Regards, Vishwajeet.1.1KViews0likes24CommentsOauth Access Confirmation Page
Under Studio > Page, one of the available pages to edit (under the Authentication page group) is OAuth Access Confirmation Page. Is there a standard URL for this page? I'm hitting a wall ("An Unexpected Error has occurred.") trying to get my initial OAuth authorization code for my community. Wondering if my redirect URI for my client needs to point to this page, or something else.Solvedrobertcavanna7 years agoMentor138Views0likes1CommentBest way to create a Featured Threads/Posts page?
Right now I'm creating a section for customers we have a "private support" relationship with; i.e., they have their own Category page that contains a TKB, a Forum, and Ideas. Ideally, I'd like to create or use an existingView All Featured Posts URL for Featured Threads or Articles, just like t5/forums/recentpostspage/post-type/message/board-id/BOARDNAME but instead t5/forums/featuredpostspage/post-type/message/category-id/CATEGORYNAME Does this already exist? If not, what are the best practices to create one? How can I have this be in the correct place in the hierarchy for both the breadcrumbs and other ancestor queries, just as the recentposts URL above resolves in the proper hierarchy SO FAR: Created a custom page ViewAllCategoryItems.quilt.xml, which uses a custom component (below), which just calls those and lists them: In the custom componentViewAllFeatured.ftl, using LiQL 2, I pull all featured conversations within that category, whether a discussion or TKB article (SELECT conversation.featured, subject FROM messages WHERE category.id = 'mycategory' AND conversation.featured = true AND depth = 0) BUT, because it's a custom page, it's at/t5/custom/page/page-id/JMPViewAllCategoryItems?category=mycategory Thanks!Inactive User7 years ago305Views0likes11CommentsWhy are attachments shown in a preview box now?
This has been of a bug bear for a little while for me but attachments are now shown within a preview modal and the content is served up from a cloud service somewhere. Annoyingly, IT security actively blocks ALL cloud services on our network so none of our agents can view these previews of the uploaded attachments, we get the generic 'cannot connect' within the modal that is shown on all browsers when they cannot connect to a website... but they can still download the file directly. Is there a way go revert attachments back to how they were before? I am not seeing any options in the features in Studio to change attachments. Thanks!Solvedjaread837 years agoChampion279Views0likes8CommentsBulk Kudos by Kudo Given Date Range and Message ID
Hi everyone, Does anyone know how to use API or admin reports to pull a list of all kudos given by Message ID over a date range? Using the API documentation I can only find this info for a certain Message ID, but what I would ideally like is a list of all messages that received kudos (and their associated kudo info) over a date range so that I can import it into my on-premise BI solution. Thanks in advance for your help as always! KateSolvedkhill7 years agoMentor233Views0likes5CommentsPossible to lock a TKB down to only closed group membership?
Hey all, I'm far from a dev but been pretending to be one while we are hiring ours, so mostly surviving off the advice/hints I can find on here. Question if anyone knows if this is possible and/or could help me out with how I could use freemarker to maybe accomplish this? Ultimately we want to have a closed group, but also have a TKB that only the same closed group members should have access for. As I understand it, group membership roles only exist at the node level though, so doing anything unique/interesting such as assigning a badge/role when they join said group, and thus granting permission that way doesn't seem possible. Is it possible in any way to still be able to lock down the TKB so only those members who belong to XYZ closed group can access TKB ZYX, maybe using freemarker? Structure of this category: - Category (public) -TKB (Public) - Group (Closed) - TKB (That I want to be closed to above group) I was able to use the following code I found on here to do something similar for user roles, but after looking through the API doc, I haven't found a good way to accomplish this for a specific closed group (but again, not a developer, but enough to get by... until now!). Tremendously appreciate any advice. <#attempt> <#assign user_has_role = false /> <#if user.registered > <#list restadmin("/users/id/${user.id?c}/roles").roles.role as role> <#if role.name?? && (role.name == "Partner" || role.name == "Employee" || role.name == "Administrator")> <#assign user_has_role = true /> </#if> </#list> </#if> <#if user_has_role > <@component id="accesstest_yes" /> <#else> <@component id="accesstest_no" /> </#if> <#recover> <!-- Something bad happened --> </#attempt>106Views0likes1CommentHow and were do I updating the messages.column.message-replies-count.label
Hi there, Am a UX and down on developer for now and I been askby lithium to make a change and I have no idea how and where. Any clues any one?:) "As a workaround for the time being you can try updating the messages.column.message-replies-count.label text key to the following: " messages.column.message-replies-count.label@component:message-list = <span class="lia-message-stats-count"> {0} </span> {0,choice,0#Replies|1#Reply|1<Replies}Marianne807 years agoMentor182Views0likes4CommentsBadge Hove Function
Hey again everyone, I have hit another thing I would love help with. I have an example of what I want here https://www.workshop.com.au/t5/badges/userbadgespage/user-id/865/page/1 I would like to know how they were able to get a hover option in the view all badge area. This is something I have been working on that I have been able to recreate the view all page, but no revoke button due to this being a component not being able to replicate unless anyone has any ideas? I saw a post that says that this is not something that can happen but I am hopefully regardless. How would I get the revoke button to show and stop the click function from occurring and get the hover function implemented instead. I know the code that executed the click function but I am unable to override this. I tried with a bunch of JS and jQuery to no avail.SolvedJake_N7 years agoMentor217Views0likes4CommentsHTTP PUT for email_excluded
Hi, I've been trying to change the "Do not Email" setting of an userprofile by setting email_excluded to true/false. I already asked Lithium Support for help, they told me to do an HTTP PUT to /api/2.0/users/ with a JSON payload that includes the "email_excluded" like: { "data": { "type": "user", "email_excluded": false } } I've triedan http.client.request like: <#assign http_client_request = http.client.request.body("https", "myurl", "/api/2.0/users/366").body("{'data':{'type': 'user','email_excluded':false}}", "application/json").put() /> But Igotthis error: An error has occurred when reading existing sub-variable "client"; see cause exception! The type of the containing value was: extended_hash+string (lithium.coreapi.webui.template.models.HttpTemplateModel wrapped into f.e.b.StringModel) I would appreciate any help, Thanks!k_auerbach7 years agoHelper160Views0likes3CommentsList all posts where a user is mentioned
Hi, Is it possible to get a list of community posts where a specific user is mentioned? Possibly your own user as part of the API call? I am looking into creating a new component on the profile page to show the last five posts where a user mentioned and then a new page to show a list of all posts where they are also mentioned (possibly with paging but I doubt that could be done). Not sure if there is anything OOTB with this but willing to look into creating something if its possible to get the object out of the API to manipulate. Thanksjaread837 years agoChampion156Views1like4CommentsMessage-list component not working in Blog Page
The message listing component is being used in discussion and tkb Pages. While I try to use the same component for a Blog Page it does not give the list of blogs in that blog board. How to get the default listing for BlogPage ?kavithams7 years agoGuide170Views0likes5CommentsStrange choices in search result
Anyone has an idea how to fix this pls? A community manager did a search on the front page and ended up on the following search page: https://community.visma.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&q=Visma%20Severa When they clicked on "Plats" they got a strange list where Sweden is not included, see image below: How come? In staging it is available, see below. On the other hand, Finland is missing in Staging How do you switch them on and off? So Finland and Sweden are shown both on live and staging pls? Would be gratefulfor any tips. MarianneSolvedMarianne807 years agoMentor131Views0likes2CommentsCan't get notes creator id when on single note view
Hey everyone, I am trying to get the id of the person who created the note that I am viewing in single mode through a context object. However I am currently not able to as everything I try is failing. I would post an example of the code but since I keep changing it I think that would be useless. Anyone got any thought about what context object(s) would contain the id of the user who created the note? Note: I am viewing it after clicking on the subject line from the inbox tab. Cheers, JakeSolvedJake_N7 years agoMentor202Views0likes6Commentshow to display 'Go to Solution' link in original post?
Hi, We have an instance which has all the responsive OOB components. There is 'solved' icon in subject but 'Go to solution' link is not visible at bottom of the post. reference URL :http://comity.stage.lithium.com/t5/AutoCAD-2010-2011-2012/test-post-notifications/m-p/925 Any idea why this OOB functionality is changed and how to show the link? Thanks, VaishnaviSolvedvaishnavi7 years agoExpert488Views0likes15CommentsHow to get a role UID?
Hello, I would like to add roles using api v1 but for this operation I need role UID. I am trying to use post query which is here: https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv1&leaf-id=Role.users.add#Role.users.add It looks like this: http://community.lithium.com/community-name/restapi/vc/roles/id/[id]/users/add For now I have "normal" ID of role but it is not working. I get error:No role with the specified uid. Is it possible to get UID of a role?omygoodness7 years agoMentor158Views0likes3CommentsAPI v2 featured posts bug
Hi Lithium, I have tried to add WHERE board.id = 'Blog'AND depth = 0 and conversation.featured = trueOrder By conversation.featured ASC It throws me an error message conversation.featured sort can only be combined with depth = 0 and conversation.featured = true in the WHERE clause It is saying that I cannot add board.id = 'Blog' in where clause I think this is a LITHIUM API core bug. We only want features posts from 1 particular board, but not the whole community Lithium Doc says conversation.featured Sort by order defined for Featured Threads as defined in Community Admin > Content > Featured Threads > Ordering. 17.9 SELECT topic.subject, kudos FROM messages WHERE conversation.featured = true AND depth=0 Order By conversation.featured ASC Peterpeterlu7 years agoChampion102Views0likes2CommentsEdit their own post
Hi, I am looking on to have the edit post option, for mobile user. I have enabled the "Edit own posts"permission, but still the option not available in the mobile version. So please suggest me on, how to get the Edit own post option for mobile users.jaikumar17 years agoMentor164Views0likes5CommentsWay to turn off kudos for all images within media experience
Tried searching through admin settings but couldn't find anything that would let me turn off kudos globally for images within the image viewer. I know that you can turn off kudos for each image, but I'm just looking to turn them off completely as we don't need them for a community we're working on.zhurst7 years agoContributor101Views0likes2CommentsLIQL: using query result as in condition for another
is there any way to use result from first query as condition in second query. e.g. select id from boards where parent_category.id ='xxxxx' this query return id list : aaa ,bbb ,ccc i want to get all message in the 3 board select * FROM messages WHERE board.id in ( id list from first query ) instead of select * FROM messages WHERE board.id in ( 'aaa' ,'bbb' ,'ccc' ) I plan to loop the query 1 and query 2 for different parent category.Solved177Views1like2CommentsAccepted solutions via REST API V2 sorted by acceptance time
I'm trying to get the last 6-8 accepted solutions from a specific category via REST API V2 and sort them by acceptance time. Custom component aka build-in 'Accepted Solutions', showing post title, board, acceptance time, etc. I've coded a testing piece, 1st step... <div class="disc-grid"> <#attempt> <#assign solutions = restadmin("2.0","/search?q=" + "SELECT solution_data, is_solution, post_time FROM messages WHERE is_solution = true AND category.id = '${catID}' ORDER BY post_time DESC LIMIT 6"?url) /> <#recover> <p>Woops...</p> </#attempt> <#if solutions.data.items ?? > <#list solutions.data.items as solution > <#assign solution_id = solution.solution_data.message_id /> <div class="item-content"> ${solution_id} </div> </#list> </#if> <#if solutions.data.items?size <= 0> <p class="errorMsg">No solutions</p> </#if> </div> so far what I've got, the result is different from what I've seen in build-in component. The ids are not the same. Questions is how to sort by recent solution aka time acceptance? and how to (I guess run another api call) to get each solution post topic subject, etc like in default component. Any help is great!Solvedirach157 years agoMaven213Views1like2CommentsAPI Error 301
We are using below API https://www.myCommunity.com/api/2.0/search?q=SELECT%20*%20FROM%20labels%20WHERE%20messages.id%20=%20%2757802%27 but it respondswith 301 {"status":"error","message":"An unexpected error occurred.","data":{"type":"error_data","code":301,"developer_message":"","more_info":""},"metadata":{}} Any help, please.Solved176Views0likes3CommentsAPI Call to Change a Member's Password
Does anyone knowif there is a way to change a member's password via API call?ac_smx7 years agoContributor104Views0likes1CommentUsing a session key to start a web session
We're exploring a use case to start a web session using a session key that is generated from /restapi/vc/authentication/sessions/loginAPI. The flow is similar to an SSO flow. However, we'd like toinitiate a web session (ie. LiSESSIONID cookie-based) with session_key, rather than an SSO token. A call like this failed with a 302 error returned: https://<communityl>/restapi/vc/authentication/sessions/login?restapi.session_key=U7164GpkQdhmAOMEAkQDkXtDe1olPXMDnz2Y6TIYQ34. Thanks. kc109Views0likes1CommentRemove lihtium search interface, only search in the area or in or members
Hi there, Am a UX and I am not a developer, we got over 90 products ( meaning over 90 community across 4 different countries using lithium). Currently, when they are in discussionin one product, they got the lithium drop-down option to search " the whole community, this area, TKB all community, Blog all community and member search. We dont want the drop with all these options, it is confusing customers and getting hits on items on other products which do not give value. However, we would like to be able to keep " search members" for employees. Is this possible or not? if so, how ?Would be super grateful for any help or tips. ) Thank you :)Marianne807 years agoMentor102Views0likes1CommentResetting Top Level node to community level
I have a corner use case to allow our moderators the ability to view profile pages and other pages without a top level category being set for their session. That way they can see if a user has jumped between different categories. I've beenable to use: ${nodes.top.setCategoryDisplayId("CATEGORY ID")} described here:https://freemarker-docs-portal.lithium.com/refer/contextObjects#nodes I have no problem using this to set a different top level node. But I have been unable to find a way to completely remove the top level setting so that itswitches to the community node. I tried passing in the community id as the argument but no luck. The only way to get it to do this is to clear all cookies and directly access a page that is not associated with a top level category like the View Profile page. Question: Is there a way to unset the Top Level category or is this not supported? Any ideas? Edit: Also forgot to mention that when the community is set to the default node when I haven't visited a page within one of the top level categories, usingnodes.top.categoryDisplayId returns the id for the community. It just won't let me set it. Also I know I could solve this with a custom component to load all the posts by API but I'm hoping to avoid that. It makes sense that we should be able to unset the top level category if we can set it. Thanks, FranzFranzG7 years agoGenius121Views0likes0CommentsCreating different types of boards via REST API
Hi, We are trying to create different types of boards using Rest API v1. Below mentioned API call creates onlyFORUM boards and there is no parameter for other board types. https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv1&leaf-id=Category.boards.add#Category.boards.add In below API call there are no parameters for node title, node id etc. https://community.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=commv1&leaf-id=Category.nodes.type.key.node_type_key.add#Category.nodes.type.key.node_type_key.add Am I missing out something?SolvednehaSharma7 years agoExpert223Views1like2CommentsReturn six solutions for a given category or board, for the last 30 days, ordered by number of views
Hi, I wantsix solutions for a given category or board, for the last 30 days, ordered by number of views. I found one rest API V1 call : http://<community>/restapi/vc/categories/id/<category_id>/solutions/recent?date_start=2015-03-16&date_end=2015-07-16 But to sort it bynumber of views, again I have to loop them using list. Can we do it using rest API V2call else we can go for V1. Thank you. Regards, Vishwajeet.271Views0likes6CommentsEndpoint / method to post a reply to a message
New users to our community often post questions that are incomplete -- not enough detail for our expert users to post a meaningful reply. I would like to implement a "Needs more info" button that our Super Users can click on the topic root message that will create a boilerplate reply, perhaps from a generic moderator account, so that our Super Users don't feel the need to coax/cajole more details out of the OP. I think the way to implement this is via an endpoint. Am I on the right track? I've figured out how to add an action button to just the root message. What I'd like is: an example of an endpoint that posts/replies or otherwise modifies an existing message an example of the action script that I would add to the button to call that endpoint...and ideally refresh the message so that the person who clicked it would see the change applied. Thanks, ChrisSolvedcjdinger7 years agoLeader150Views1like3CommentsHow to change the date format only for the messages of registered authors?
Hi, I am trying to make our community custom author component to change the date format only for registered authors messages, not for the anonymous. Got the following FreeMarker error: Freemarker template 'author_custom' processing failed: _MiscTemplateException:Can't compare values of these types. Allowed comparisons are between two numbers, two strings, two dates, or two booleans. Left hand operand is an extended node+sequence+hash+string (org.apache.xerces.dom.ElementImpl wrapped into f.e.dom.ElementModel). Right hand operand is a number (wrapper: f.t.SimpleNumber). The blamed expression: ==> messageAuthorId gt 0 [in template "author_custom" at line 15, column 6] ---- FTL stack trace ("~" means nesting-related): - Failed at: #if messageAuthorId gt 0 [in template "author_custom" at line 15, column 1] ---- The main part of the custom author component code is the folowing: <#if env.context.message.uniqueId gt 0> <#assign messageAuthorId = rest("/messages/id/${env.context.message.uniqueId}/author").user.id /> <#assign messageAuthorLogin = rest("/messages/id/${env.context.message.uniqueId}/author").user.login /> <#assign badges = rest("/users/id/${messageAuthorId}/badges") /> <#assign badgesCount = badges.user_badges.user_badge?size /> <#assign avatarUrl = rest("/users/id/${messageAuthorId}/profiles/avatar/url").value /> <#assign kudosCount = rest("/users/id/${messageAuthorId}/kudos/received/count").value /> <#assign postCount = rest("/users/id/${messageAuthorId}/posts/count").value /> <#assign blogCount = rest("/users/id/${messageAuthorId}/posts/style/blog/count").value /> <#assign solutionCount = rest("/users/id/${messageAuthorId}/solutions/received/count").value /> <#assign rankingName = rest("users/id/${messageAuthorId}/ranking/name").value /> <#assign profileUrl = "/t5/user/viewprofilepage/user-id/${messageAuthorId}" /> <#assign profileLocation = restadmin("/users/id/${messageAuthorId}/profiles/name/location").value /> <#assign profileIP = restadmin("/users/id/${messageAuthorId}/settings/name/user.last_visit_ipaddress").value /> <#if messageAuthorId.user.id gt 0> <#assign regDate = restadmin("/users/id/${messageAuthorId}/registration_time?restapi.response_style=view").value?datetime("yyyy-MM-dd'T'hh:mm:ss")?string("dd.MM.yyyy") /> <#else> </#if> It looks like I am trying to compare incomparable data types. :robotembarrassed: But what exactly am I doing wrong? Thank you!SolvedMyko_P7 years agoExpert164Views0likes1Comment