+ Reply to Thread
Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Facebook comment share tab

  1. #1

    Facebook comment share tab

    Dear Flynax developers,

    Is there anyway if I can remove the share tab as nobody nowaday share it through email, mostly through facebook and social media.
    Also is there anyway if I can allow facebook comment to the listing?

  2. #2
    Hello Wei,

    Do you want to remove only facebook share button?
    You can create new box in Admin Panel >> Content Boxes and set Box type as HTML and insert code there and set to show only on Listing Details page. And best position I think for the box - bottom.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Hi Viktor,

    I'm not familiar with this type of thing so I'm not sure. I just want to replace the standard comment of flynax with facebook comment.
    And remove the share tab in listing page, because this share feature is only for email, which not too many ppl use anymore.

  4. #4
    Hello Wei Hong,

    Please check this page: https://developers.facebook.com/docs/plugins/comments

    Copy this code and insert in new box through Admin panel.
    Viktor,
    Flynax technical department,
    Best wishes.

  5. #5
    Quote Originally Posted by Viktor View Post
    Hello Wei Hong,

    Please check this page: https://developers.facebook.com/docs/plugins/comments

    Copy this code and insert in new box through Admin panel.
    Thanks Viktor,

    I got the code1 as follow:

    <div id="fb-root"></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=xxxxxxxxxxxxxxxx&version=v2.0 ";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    And this code2, I think I should put this in the content box right?
    <div class="fb-comments" data-href="http://developers.facebook.com/docs/plugins/comments/" data-numposts="5" data-colorscheme="light"></div>
    What about code1, where should i put it?

  6. #6
    Hello Wei Hong,

    Put both codes in box. but before <script> add {literal} and after </script> add {/literal}
    Viktor,
    Flynax technical department,
    Best wishes.

  7. #7
    Hi Viktor,

    How do I make that for each page facebook comment is generate separately for that page only?
    I have change the code2 as follow but it doesn't work
    I changed from:

    <div class="fb-comments" data-href="http://developers.facebook.com/docs/plugins/comments/" data-numposts="5" data-colorscheme="light"></div>
    To:
    <div class="fb-comments" data-href="<?php echo get_permalink(); ?>" data-numposts="5" data-colorscheme="light"></div>

  8. #8
    Hello Wei Hong,

    Would you please send me link or what should be instead of: <?php echo get_permalink(); ?>
    Viktor,
    Flynax technical department,
    Best wishes.

  9. #9
    Hi Viktor, may be I was not clear enough. If I put this code 2 as follow:
    <div class="fb-comments" data-href="http://www.mywebsite.com" data-numposts="5" data-colorscheme="light"></div>
    Then the facebook comment will be the same for all pages and listings. For example if A, B, and C comments as 1,2, and 3. Then all pages and listings show the same comments of 1,2, and 3 from A,B, and C

    I want to set it up so each page has its own facebook comment page, not duplicated. In wordpress, I just need to change www.mywebsite.com to <?php echo get_permalink(); ?>. But in flynax, when I do so, it shows blank content box and when i check back, the code in box changed from <?php echo get_permalink(); ?> to &lt;?php echo get_permalink(); ?&gt;

    So I'm wondering if flynax software need different code other than <?php echo get_permalink(); ?>
    Last edited by Wei Hong; March 3, 2015 at 06:03 AM.

  10. #10
    Hello Wei,

    Of course it will not work because Flynax not WordPress,

    try to use this code:

    Code:
    Only registered members can view the code.
    Viktor,
    Flynax technical department,
    Best wishes.

+ Reply to Thread