Recent Discussions
REST API. Getting error during posting new message
Hello guys, I get the following error when I'm try to post new message on a board via Lithium REST API: message.body: Your post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and submit the message when you are satisfied. My orginal text is the following: <p><p class="bold">Text of description.</p></p><p>Text of description.</p><p><p class="italic">Text of description.</p></p><p>Text of description.</p><p><p class="underline">Text of description.</p></p><p>Text of description.</p><p><p>Text of description.</p></p> As far as I remember Lithium has the following constraints on using HTML code: basicHTMLTags = br,p:class,a:href|target|rel|title,div,li-video:vid|align|size|width|height|originalwidth|originalheight|thumbnail|uploading|external|cid|pid|unm,li-spoiler simpleHTMLTags = a:href|target|rel|title,b,i,p:align|class,u,br,em,hr,ol,li,ul,pre,div:align|class,img:src|width|height|alt|title|border|align,font:face|size|color,span:class,span:style,center,strike,strong,blockquote:dir,li-video:vid|align|size|width|height|originalwidth|originalheight|thumbnail|uploading|external|cid|pid|unm,table:cellspacing|cellpadding|border,tr,td,li-spoiler superSimpleHTMLTags = a:href|target|rel|title,b,i,p:align|class,u,br,em,hr,ol,li,ul,pre,div:align|class,font:face|size|color,span:class,center,strike,strong,blockquote:dir,li-video:vid|align|size|width|height|originalwidth|originalheight|thumbnail|uploading|external|cid|pid|unm,li-spoiler As you can see my original text is fully matched basicHTMLTags. So I don't understand why this wired error is occurred. Could anyone can explain me?Solvediahiqosolutions13 years agoAdvisor4.3KViews3likes4CommentsWhat is the component for blog contributors?
We have a custom blog quilt and I need to add the contributors widget to it now that co-authors can be added to a blog post. https://community.khoros.com/t5/Tribal-Knowledge-Base/Manage-knowledge-base-links-and-contributors/ta-p/109283 What is the component for that on a blog page?SolvedInactive User4 years ago4KViews0likes2CommentsUpload verification code for Google disavow
Hello, my question may seem silly as i am not a developer but need this information to get our community site verified through Google. I want to upload a list of toxic backlinks to Google Disavow and when i try to do that, Google needs me to place the verification code in the root folder of our website, so that it can verify. I am not sure how to do that. Can anyone give me the instructions how to upload that verification code and where?SolvedParvez_AL4 years agoAdvisor3.9KViews0likes2CommentsHow do you query for user-defined labels used in a given board (not the current one)?
Looking at the developer documentation for labels, it seems the only constraint allowed is a specific message ID. There doesn't appear to be a way to query a given board for the labels in use. Is it possible to do this? I'm asking this because the built-in Labels component does NOT work on things that aren't boards (Group Hub page, for instance) and is only scoped for the current board and not, say, a different board than you're currently on.Solvedphoneboy4 years agoDirector3.8KViews0likes2CommentsGetting a list of recent messages via API
I am having some difficulty in getting a list of recent messages via the API. I located a post in these forums that showed me the following URL: http://lithosphere.lithium.com/lithium/restapi/vc/posts/recent That URL works on the lithosphere forums, but not here: http://community.sagesaleslogix.com/slsl/restapi/vc/threads/recent I am not sure why it isn't working on my community site. 1) Does anyone know why this works on this site but not on mine? 2) Does anyone know other ways to get the list of recent messages? Strangely enough, the URL to get the list of recent threads does work on my community: http://community.sagesaleslogix.com/slsl/restapi/vc/threads/recent Thanks!RyanFarley15 years agoContributor3.7KViews0likes10CommentsUnable to create group hub using API
Hi, I am trying to create a group hub using this document (https://developer.khoros.com/khoroscommunitydevdocs/docs/create-a-group-hub?_ga=2.117082309.2123355538.1619410972-1050991493.1615871887)I have given all the required fields but getting 500 status after API call. Post call :[COMMUNITY-DOMAIN]/api/2.0/grouphubs Requested body : { "grouphub":{ "id":"shutterbugs", "title":"Shutterbugs", "description" : "test", "parent":{ "type":"node", "id":"category:groupHubs", "href":"/nodes/category:testGroups" }, "membership_type":"open", "conversation_styles":[ "forum", "blog" ], "parent_category":{ "id":"testGroups" } } } Response : <html> <head> <title>null</title> <style> <!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;} --> </style> </head> <body> <h1>HTTP Status 500 – </h1> <HR size="1" noshade="noshade"> <p><b>type</b> Status Report</p> <p><b>Description</b> <u>http.500</u></p> </body> </html> Any help with this would be greatly appreciated. Thank you.Solvedsaikumarn4 years agoAdvisor3.3KViews0likes3CommentsCommunity REST-API: Get all tags available
Hi everyone, I am currently trying to search for all available tags within the community per REST-API. I am doing this with the "search"-command. Currently, I search for all messages and get the corresponding tags based on the respective message-ID and merge them. Isn't there a faster way to retrieve all available tags using a REST command (e.g. SELECT * FROM tags)? REST APISolvedSam_Sick4 years agoContributor3.3KViews0likes1Comment- sprice16 years agoMentor3.2KViews0likes9Comments
Email templates - How to add API content
Hi everyone! I was thinking about the newsletters that we can modify the template. The ones inside the Text editor function in the Studio tab. Can we call the Community APIs? We would like to create a row at the bottom of the emails to give visibility to the latest post created with a cover photo and an excerpt or something similar. I don't think I could reach that through Context object so I was wondering if someone had this similar idea and how did you manage it. ThanksSolved3.2KViews0likes4CommentsActiveCast Question
I have an Active Cast questionI am hoping someone can answer for me. In the attached image, I would like to suppress items 1-3 but there does not seem to be an Active Cast module or parameter that can control these three elements. Is there a way to turn these three elements off or have I just missed that in the documentation? Thanks for your help.Solvedjgonzo16 years agoAdept3.1KViews1like4Comments