Topic-icon Can i hide comments of other people in my facebook channel soc.stream?

Active Subscriptions:

None
11 years 5 months ago - 11 years 5 months ago #49768 by bianchi
Hi!
i will like to hide the comments that other people write under my post , showed in my social strea facebook channel module.
it is possible?

by
Enrico
Last edit: 11 years 5 months ago by bianchi.
The topic has been locked.
Support Specialist
Enrico,

Unfortunately, we don't have an easy option to do this right now. In /media/themes/scsocialstream/default/facebook.php, remove or comment out the following lines around line 57
if (is_array($this->comments))
{
    echo '<div class="row-fluid">
      <div class="comments preview span12">
      <div class="text-center">Comments</div>';

    foreach ($this->comments['data'] as $comment)
    {
        $date = $this->getTimestamp($comment['created_time'], $dateTimeFormat);

        echo '<div class="row-fluid">
          <div class="span12 comment">
              <div>
                <span class="from text-left"><img src="https://graph.facebook.com/' . $comment['from']['id'] . '/picture" width="25" /> ' . $comment['from']['name'] . '</span>
                <span class="date text-right">' . $date . '</span>
              </div>
              <div class="message">' . $comment['message'] . '</div>
        </div>
        </div>';
    }
    echo '</div>
    </div>';
}

Let me know if this fixes your problem. I've added an issue to our tracker to make this an easier option for the next release.

-Melissa
The topic has been locked.
Active Subscriptions:

None
Perfect! works!

thank you so much!

Enrico
The topic has been locked.
Support Specialist
Great! It should be simple to add an option for this, so I fully anticipate it being in the next release.
The topic has been locked.