Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • Alp Friend
    #759906

    Hi everyone,

    in order to use facebook.comment plugin in k2 I implemented

    <script type=”text/javascript”>
    (function(d){
    var js, id = ‘facebook-jssdk’, ref = d.getElementsByTagName(‘script’)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(‘script’); js.id = id; js.async = true;
    js.src = “//connect.facebook.net/en_US/all.js#xfbml=1”;
    ref.parentNode.insertBefore(js, ref);
    }(document));
    </script>

    <div class=”fb-comments” data-href=”<?php echo JURI::getInstance()->toString(array(‘scheme’, ‘host’, ‘port’)) . $this->item->readmore_link; ?>” data-num-posts=”2″ data-width=”576″></div>

    into following link php file:

    templates/ja_wall/html/com_k2/ja_wall/item.php

    It runs well, but how can I modorate it?

    How can I hide comment I dont’t want users to see on my homepage for. example?

    Best regards,

    Alp

    Ninja Lead Moderator
    #760170

    HI Alp,

    It’s very hard to suggest the solution for you if I could not see the URL of your site but you can try to use this way

    Open templates/ja_wall/css/template.css file

    .bd-home .fb-comments {
    display: none !important;
    }

    Regards

    Alp Friend
    #760289

    Tnx for reply.

    the URL I am talking about is http://www.mbdincaslan.com.

    But meanwhile I uninstalled the fb comment again, since I was not able to moderate the comments.

    I am looking for the possibility to approve the comments before everyone can see them on my page.
    If this is not possible then at least I want to be able to remove annoying comments later on.

    Tnx and regards

    Ninja Lead Moderator
    #760558

    Hope my explain below will help you clear.

    + Fb comment on your site only show and input the comment and you do not control the comment items in this case.

    + But you can go to FB of your site from facebook.com and manage the comment on that.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 8 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum