45 Results
Instructor-Led Training on Spam Management for Khoros Communities Classic
...&As from the recorded session are attached below. Wednesday, Oct-23-2024 12pm UTC and 8pm UTC You asked and we listened! As spammers become more tech and AI savvy, our customers are seeing a s...568Views
Sign in to react to this post0Comments
Khoros Cookies Datasheet (Community, Care, Marketing, Khoros Bot).
...n the cookie banner to store Type 2, Type 3 & Type 4 cookies. For Cookie Banner v1, this cookie stores: -'1' if the user has explicitly clicked "Accept" in the cookie banner. -'2' if user c...319KViews
Sign in to react to this post21Comments
Valid And Invalid Severity 1 Examples
To help determine what Khoros considers a valid Severity 1 scenario, we've put together the following examples for you. Please see the attached document.11KViews
Sign in to react to this post0Comments
About Aurora badge rules and supported criteria
...f a formula clause type, a keyword, an operator, and a value. When the calculation of a value in a formula returns a true result, the member achieves the badge. The badge achievement is then reflected i...1.5KViews
Sign in to react to this post9Comments
Unsolvable error trying to get tags for a message
...rooke", "author": { "@type": "Person", "name": "admin" }, "dateCreated": "Jan 30, 2019 4:22:26 PM", "keywords": "<!-- FREEMARKER ERROR MESSAGE STARTS HERE -->&l...Solved446Views
Sign in to react to this post4Comments
- luk7 years agoBoss
It would be helpful if you could post the actual freemarker error that you're getting, there is usually some information that can point in the direction of the problem. So I'm trying to "blindly" debug your issue =D...
let's see, for example this part of your code:
<#if var_usertags.data.items?has_content> <#list var_usertags.data.items as msgtag> <#assign utag = msgtag.text?string /> </#list> <#else> <#assign utag = "NONE" /> </#if>probably won't do what you are intending to, why? Because you're re-assigning the utag variable each time you #list over your tags, therefore even if you had multiple tags, your utag variable will always just contain one, the LAST one! The code can be written a bit more elegantly (and hopefully working as intended) like this:
<#assign utag = [] /> <#list var_usertags.data.items> <#items as msgtag> <#assign utag = utag + [msgtag.text] /> </#items> <#else> <#assign utag = ['NONE'] /> </#list>as you probably understood, the utag variable is now a sequence (think array...), when outputting it in your JS object, you'd simply do:
"keywords": "${utag?join(' ')?js_string}",notice the ?js_string, might be useful in that context, more info here.
you could also optimize your query a bit by just requesting the necessary information that you need, e.g. only the tag-text:
<#assign usertagQuery = "SELECT text FROM tags WHERE messages.id = '${msg_id}'" />but that's more a cosmetic thing, the query is correct as far as I can tell.
Sign in to react to this post
Launching on Khoros Communities: Session #1: Why Communities Aurora? | Instructor Led-Training
...ecording link above. If you do not yet have access to Khoros Academy, you may view the recording via this link. Q&As from the recorded session are attached below. Tuesday, Dec-17-2024 1pm UTC and 9...810Views
Sign in to react to this post0Comments