Skip to main content
NICE CXone Expert
Expert Success Center

Social discussion

Applies to:
All MindTouch Versions
Role required:
Admin
Social discussion can be added by leveraging a social tool to add to your Expert site.

Contact support to enable social discussion on your site.

Considerations

  • External commenting vendors will not honor the permissions set in Expert. It is best to only use social commenting on sites where all of the content is public.
  • External commenting can be configured to authenticate against SSO providers but is not configured to authenticate with Expert out of the box.
  • Notifications will not be triggered in Expert when a comment is added, but you can subscribe to notifications through Disqus.

How to set up Disqus

  1. Set up a Disqus account and get the embed code. It will look like the following:
    < div id = "disqus_thread" > < /div> <script> 
    / * * * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR 
    PLATFORM OR CMS.*LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: 
    https: //disqus.com/admin/universalcode/#configuration-variables
     */ /* var disqus_config = function () { this.page.url = PAGE_URL; // 
     Replace PAGE_URL with your page's canonical URL variable this.page.identifier = PAGE_IDENTIFIER; 
     // Replace PAGE_IDENTIFIER with your page's unique identifier variable }; 
     */ (function() { // DON'T EDIT BELOW THIS LINE var d = document, s = d.createElement('script'); 
     s.src = '//averytestsite.disqus.com/embed.js'; s.setAttribute('data-timestamp', +new Date()); 
     (d.head || d.body).appendChild(s); })(); </script> 
     <noscript>Please enable JavaScript to view the <a href=
     "https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>        
    
  2. From this embed code and add the following line  to a DekiScript block<div id="disqus_thread"></div>
  3. Add the rest of the code into a JavaSript (JEM) block.
  4. In the Javascript (JEM), delete the comments and assign values to variables: 
    this.page.url = PAGE_URL;

    and
    this.page.identifier = {{page.id}}; 
  5. After the comments are removed and variables are assigned the Javascript (JEM) Block should look like this:
    /* var disqus_config = function () { this.page.url = https://averyd.mindtouch.us; this.page.identifier = {{page.id}}; }; 
    */ (function() {  var d = document, s = d.createElement('script'); s.src = '//averytestsite.disqus.com/embed.js'; 
    s.setAttribute('data-timestamp', +new Date()); (d.head || d.body).appendChild(s); })(); /*

    This ensures that the conversation is associated with the Page ID as opposed to the URL. Since the URL can change, you want to make sure that that the conversation is anchored with the ID (which will not change, regardless of how many times you move it or rename it.)
  6. After you add the code, click save and then navigate to an article to see the social integration.
  • Was this article helpful?