Community 7.0: unable to Comment on a Forum Post or Thread

Community 7.0: unable to Comment on a Forum Post or Thread

This question is answered

All,

Is it possible to Comment on a Forum Post or Thread? I saw that on our implementation this is not available and after checking the Widget code I saw that both vars return a [false]:

#set ($commentsSupported = false)

#set ($commentsSupported = $core_v2_comments.SupportsComments($story.ContentTypeId))

#set ($accessingUserCanComment = false)

#if ($commentsSupported)

   #set ($accessingUserCanComment = $core_v2_comments.CanCreateComment($story.ContentId, $story.ContentTypeId))

#end

and using it:

#if ($commentsSupported && $accessingUserCanComment)

<li class="navigation-item">

<a class="internal-link comment" href="#">

<span></span>$core_v2_language.GetResource('comment')

</a>

</li>

#end

Regards,

Steve

Verified Answer
  • ForumThreads and Replies do not support commenting as they do not use the commentable content type interfaces required for it
     
    Patrick Mason
    Development Lead- Extensibility
    o: 214.420.1329
    telligent.com
     
    From: RoketteS [mailto:bounce-RoketteS@communities.telligent.com]
    Sent: Thursday, January 24, 2013 4:54 AM
    To: discussion_evolution@communities.telligent.com
    Subject: [Telligent Evolution Platform Discussion] Community 7.0: unable to Comment on a Forum Post or Thread
     

    All,

    Is it possible to Comment on a Forum Post or Thread? I saw that on our implementation this is not available and after checking the Widget code I saw that both vars return a [false]:

    #set ($commentsSupported = false)

    #set ($commentsSupported = $core_v2_comments.SupportsComments($story.ContentTypeId))

    #set ($accessingUserCanComment = false)

    #if ($commentsSupported)

       #set ($accessingUserCanComment = $core_v2_comments.CanCreateComment($story.ContentId, $story.ContentTypeId))

    #end

    and using it:

    #if ($commentsSupported && $accessingUserCanComment)

    <li class="navigation-item">

    <a class="internal-link comment" href="#">

    <span></span>$core_v2_language.GetResource('comment')

    </a>

    </li>

    #end

    Regards,

    Steve

All Replies
  • ForumThreads and Replies do not support commenting as they do not use the commentable content type interfaces required for it
     
    Patrick Mason
    Development Lead- Extensibility
    o: 214.420.1329
    telligent.com
     
    From: RoketteS [mailto:bounce-RoketteS@communities.telligent.com]
    Sent: Thursday, January 24, 2013 4:54 AM
    To: discussion_evolution@communities.telligent.com
    Subject: [Telligent Evolution Platform Discussion] Community 7.0: unable to Comment on a Forum Post or Thread
     

    All,

    Is it possible to Comment on a Forum Post or Thread? I saw that on our implementation this is not available and after checking the Widget code I saw that both vars return a [false]:

    #set ($commentsSupported = false)

    #set ($commentsSupported = $core_v2_comments.SupportsComments($story.ContentTypeId))

    #set ($accessingUserCanComment = false)

    #if ($commentsSupported)

       #set ($accessingUserCanComment = $core_v2_comments.CanCreateComment($story.ContentId, $story.ContentTypeId))

    #end

    and using it:

    #if ($commentsSupported && $accessingUserCanComment)

    <li class="navigation-item">

    <a class="internal-link comment" href="#">

    <span></span>$core_v2_language.GetResource('comment')

    </a>

    </li>

    #end

    Regards,

    Steve

  • Patrick,

    How do I go by this restriction. How to solve?

    Regards,

    Steve

  • There is no work around for this, the ability for content to accept content is at the class/entitiy level.
     
    What is the use case for commenting on forum threads versus just participating?
     
    Patrick Mason
    Development Lead- Extensibility
    o: 214.420.1329
    telligent.com
     
    From: RoketteS [mailto:bounce-RoketteS@communities.telligent.com]
    Sent: Thursday, January 24, 2013 11:04 AM
    To: discussion_evolution@communities.telligent.com
    Subject: RE: [Telligent Evolution Platform Discussion] Community 7.0: unable to Comment on a Forum Post or Thread
     

    Patrick,

    How do I go by this restriction. How to solve?

    Regards,

    Steve