Модуль Free Messenger chat for PS 1.6


2 Май 2017
Hi to all,

I found a module which i need for a new website, it is working on install but i have a problem on front end with facebook. still can't resolve it but i believe someone will help here. It is free to all on github but i decide it will be better to have it here for archiving and increasing the forum richness. I saw so many comments on other places that this is working for them. i assume that i am missing something very easy step. I also tried to add this manually into the header.tpl file in my theme folder(PS 1.6) but i received the very same error. i'll be waiting for your replies.


i kind reminder : i have also tried to change version with 2.11 or 3.3 but still the same. also setup the correct page id and whitelisted the domain with both versions such as http and https from fb page.

thanks and regards to all.


  • phfbchat.zip
    329,4 KB · Просмотры: 10
You dont need fbchat module!

Для просмотра ссылки Войди или Зарегистрируйся

I know that, i meantioned in my first post that already tried manually adding the javascript and html into the header.tpl file (in my theme folder) right after the body tag but the result was the same. i have no cache on my config and cleared
again and also recompile template files. Also tried with {literal}<script></script>{/literal} method. :(
you have set up your domain in the white list in the settings on facebook dev? Otherwise it will not work.

App Domains in settings - basic

oh.... there is no need to paste the code into the header, it will delay the page loading, paste it better in the footer ;)
Последнее редактирование модератором:
yes i setup the whitelisted both for http and https version of my site as i already mentioned in the first post, and yes i also tried in footer.tpl, problem still persist.
Please add this code to header.tpl in eg. {block name='header_desktop'} .... {/block}
remember to change your_id

  <!-- Load Facebook SDK for JavaScript -->
<div id="fb-root"></div>
  window.fbAsyncInit = function() {
  logged_in_greeting: 'Hello There!',
  logged_out_greeting: 'Log in to Chat with Us', 
  ref: 'coupon_15',
      xfbml            : true,
      version          : 'v3.2'

  (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 = 'https://connect.facebook.net/en_EN/sdk/xfbml.customerchat.js';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

<!-- Your customer chat code -->
<div class="fb-customerchat"
I tried this but both with {block name='header_desktop'} ..javacript and html.. {/block} and without and i am getting the same error: "invalid version specified"

Hi, i resolved my problem and wanted to share it here with purpose of preventing the same faulty steps and explain to others what should cause it. I had another plugin for facebook login and it was loading javascript of fb with older version on same page, i have entered to plugins hook which was footer.tpl and used the same version as the chat module uses(v3.3), that fixed my problem. also it will be good to remind to other which they will use the plugin it work whiout any problem if you are using default bootsrap theme but if you need to integrate to another theme (in my case panda 1.4.4) you need to add custom css in theme editor module to see the facebook chat balloon on your page. that's all.

#fb-root {
display: initial;
Последнее редактирование модератором: