• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

I can't see a Comment window

Status
Not open for further replies.

ersergei1

Chevereto Member
Hello

I need a help.

I have got the Facebook comment code and then tried to insert it via Admin dashboard > Settings > External services

No any result. I can see it.

This code which i tried:

<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/ru_RU/sdk.js#xfbml=1&version=v2.5";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
 
Try this one. Change APP_ID in line 6 with your own.
This setup will also split comments from showing the same comments on all pictures.

Code:
<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&version=v2.4&appId=APP_ID";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
document.write("<fb:comments data-href='" + window.location.href.split('/?')[0] + "' num-posts='5' colorscheme='light'></fb:comments>");
</script>
 
Most likely your server is blocking the comment code in the form. You will need to manually add it in chv_settings table, search for setting_name="comment_code" and in setting_value put the right code.
 
Status
Not open for further replies.
Back
Top