New Plugin Version: SEO Facebook Comments 1.4

By Fábio Zaffani PluginSEOWordpress at 22 de December de 2011

We are gladly anouncing the release of the newest version of the SEO Facebook Comments plugin, currently on 1.4. It doesn’t add new features for the front end however, the heavy work done for this version was in the backend for better integration with WordPress and to avoid possible conflicts with other plugins.

The Plulz Framework was also added to the plugin, this is a framework we have been working on for the last 2 months that allows easy integration with any part of the WordPress System and also to avoid conflict with other plugins or features.

The reason that was needed for this plugin was in order to avoid problems with other Plugins around that also uses the Facebook PHP SDK.

Here is a list of the main things that were changed for this version

  • More information are now added about the comments made on the Facebook comment form.
  • Change the position were the plugin menu appears, it should be positioned right bellow the Comments menu now.
  •  Added Plulz Framework in order to avoid conflict with other plugins using the Facebook PHP SDK
  • The configurations of the plugin like the APP ID and SECRET won’t be lost when the plugin is updated or deactivated.
  • Tested with WordPress 3.3 version

Let me know if you have any problems with it on the comment section bellow, you can find the new version for download in SEO Facebook Comments 1.4 on the Wordpres Plugins Section.

Update: I will release a version 1.4.1 today addressing all the related issues with the plugin

Update 2: Version 1.4.1 released

84 thoughts on “New Plugin Version: SEO Facebook Comments 1.4

  1. Hi.. i just updatet my version of SEO facebook comments. GREAT -> Now all is in spanish! It used to be in Danish. FIX error fast please!

    Reply December 22 at 21:20
    • Hi, did you checked if in the plugin options the language are correct to danish or it’s the default one en_US?

      The bug was because i had hard coded pt_BR in the code to do some debugging and forgot to put it back to the old code (it pulls the language from the database)

      Reply December 22 at 22:51
      • It has changed now.. Perhaps there is a latency with the facebook app. Thanks.

        Reply December 22 at 23:09
  2. Hi. Mine is in Spanish as well. It was English before the update.

    Thanks,

    Tommy

    Reply December 22 at 22:38
    • Try now the version 1.4.1, it should fix that specific bug and let me know if it worked

      Reply December 22 at 22:53
      • That fixed it! Thanks!

        Reply December 22 at 23:04
  3. Hi! Very nice plugin, I use it from many time. I Updated the new version but I have the problem with lenguage too. I used Italian lenguage or english. How I can fix it?
    Thank you for your work
    Stefano

    Reply December 22 at 22:40
  4. Ok! after the new update the proble is fixed! thank you.
    Stefano

    Reply December 22 at 22:45
  5. On activation:

    Fatal error: Class 'PlulzTools' not found in D:Sititestsitewp-contentpluginsseo-facebook-commentsplulzlibControllerPlulzAdminControllerAbstract.php on line 51

    And the plugin is not activated

    Reply December 23 at 10:38
    • I get the same error when updating, but the entire site crashes as well.

      Reply February 19 at 17:10
  6. don't see any documentation or way to add it to pages..

    Reply December 23 at 23:25
    • If the commens on the page are enabled it is suposed to appear automatically, the plugin appends itself to the default wordpress comment system hook

      Reply December 25 at 18:39
  7. how can i remove the facebook comments in mobile theme for wordpress ??

    http://d.pr/W4JD

    There is a problem in the comment box with the Mobile Theme

    Can you add an option to disable the box on Mobile Theme ??

    Reply December 24 at 0:36
  8. DrLightman

    Any idea about this? I’m getting this in the development environment under Windows, PHP 5.3.8 when I try to activate the plugin, and therefore it fails to activate:

    ‘S’, ‘š’=>’s', ‘Đ’=>’Dj’, ‘đ’=>’dj’, ‘Ž’=>’Z', ‘ž’=>’z', ‘Č’=>’C', ‘č’=>’c', ‘Ć’=>’C', ‘ć’=>’c', ‘À’=>’A', ‘Á’=>’A', ‘Â’=>’A', ‘Ã’=>’A', ‘Ä’=>’A', ‘Å’=>’A', ‘Æ’=>’A', ‘Ç’=>’C', ‘È’=>’E', ‘É’=>’E', ‘Ê’=>’E', ‘Ë’=>’E', ‘Ì’=>’I', ‘Í’=>’I', ‘Î’=>’I', ‘Ï’=>’I', ‘Ñ’=>’N', ‘Ò’=>’O', ‘Ó’=>’O', ‘Ô’=>’O', ‘Õ’=>’O', ‘Ö’=>’O', ‘Ø’=>’O', ‘Ù’=>’U', ‘Ú’=>’U', ‘Û’=>’U', ‘Ü’=>’U', ‘Ý’=>’Y', ‘Þ’=>’B', ‘ß’=>’Ss’, ‘à’=>’a', ‘á’=>’a', ‘â’=>’a', ‘ã’=>’a', ‘ä’=>’a', ‘å’=>’a', ‘æ’=>’a', ‘ç’=>’c', ‘è’=>’e', ‘é’=>’e', ‘ê’=>’e', ‘ë’=>’e', ‘ì’=>’i', ‘í’=>’i', ‘î’=>’i', ‘ï’=>’i', ‘ð’=>’o', ‘ñ’=>’n', ‘ò’=>’o', ‘ó’=>’o', ‘ô’=>’o', ‘õ’=>’o', ‘ö’=>’o', ‘ø’=>’o', ‘ù’=>’u', ‘ú’=>’u', ‘û’=>’u', ‘ý’=>’y', ‘ý’=>’y', ‘þ’=>’b', ‘ÿ’=>’y', ‘Ŕ’=>’R', ‘ŕ’=>’r', ‘/’ => ”, ‘\\’ => ”, ‘_’ => ‘-’, ‘?’ => ”, ‘!’ => ”, ‘$’ => ”, ‘|’ => ”, ‘*’ => ”, ‘ ”, ‘>’ => ”, ‘.’ => ‘-’, ‘,’ => ‘-’, ‘;’ => ‘-’, ‘:’ => ‘-’, ‘&’ => ”, ‘#’ => ”, ‘@’ => ”, ‘`’ => ”, ‘\” => ”, ‘ˆ’ => ”, ‘(‘ => ”, ‘)’ => ”, ‘˜’ => ”, ‘+’ => ”, ‘=’ => ” ); return strtr($string, $table); } /** * Dictionary of chars and their respective valid substitutes * @static * @param $string * @return string */ public static function NormalizeStringToFileName($string) { $string = self::NormalizeString($string); $table = array( ‘ ‘ => ‘-’ ); return strtr($string, $table); } public static function CutStringUsintLast($character, $string, $side, $keep_character=true) { $offset = ($keep_character ? 1 : 0); $whole_length = strlen($string); $right_length = (strlen(strrchr($string, $character)) – 1); $left_length = ($whole_length – $right_length – 1); switch($side) { case ‘left’: $piece = substr($string, 0, ($left_length + $offset)); break; case ‘right’: $start = (0 – ($right_length + $offset)); $piece = substr($string, $start); break; default: $piece = false; break; } return($piece); } /** * Get a value from $_POST / $_GET * if unavailable, take a default value * * @param string $key Value key * @param mixed $defaultValue (optional) * @return mixed Value */ public static function getValue($key, $defaultValue = false) { if (!isset($key) OR empty($key) OR !is_string($key)) return false; $ret = (isset($_POST[$key]) ? $_POST[$key] : (isset($_GET[$key]) ? $_GET[$key] : $defaultValue)); if (is_string($ret) === true) $ret = urldecode(preg_replace(‘/((\%5C0+)|(\%00+))/i’, ”, urlencode($ret))); return !is_string($ret)? $ret : stripslashes($ret); } /** * In array recursive function for searching multidimensional arrays * @static * @param $needle * @param $haystack * @return bool */ public static function inMultidimensionalArray($needle, $haystack) { foreach ($haystack as $item) { if ($item === $needle || (is_array($item) && self::inMultidimensionalArray($needle, $item))) return true; } return false; } /** * Search for a value in any multidimensional array * @static * @param $array * @param $key * @param $value * @internal param $parents * @internal param $searched * @return array */ public static function searchMultidimensionalArray( $array, $key, $value ) { $results = array(); if (is_array($array)) { if ($array[$key] == $value) $results[] = $array; foreach ($array as $subarray) $results = array_merge($results, self::searchMultidimensionalArray($subarray, $key, $value)); } return $results; } public static function isMultiDimensionalArrayEmpty( $array ) { if (is_array($array)) { foreach ($array as $value) { if (!self::isMultiDimensionalArrayEmpty($value)) { return false; } } } elseif (!empty($array)) { return false; } return true; } } }
    Fatal error: Class ‘PlulzTools’ not found in E:\Webroot\WP\wp-content\plugins\seo-facebook-comments\plulz\lib\Controller\PlulzAdminControllerAbstract.php on line 51

    Reply December 24 at 1:35
    • Could you do me a favor to test it? Try opening the file plulz/lib/model/PlulzTools.php and on line 41 remove the method NormalizeString, see if that fix this issue, if that’s the cause im going to release a new version fixing it, i believe that in windows system that method might be causing some issues

      Reply December 24 at 2:58
      • DrLightman

        Sorry for the delay. I did the test with 1.4.1 and still didn’t work. Did the upgrade to 1.4.2.1 and the fatal error upon activation is a bit different but always there:

        ‘-’ ); return strtr($string, $table); } public static function CutStringUsintLast($character, $string, $side, $keep_character=true) { $offset = ($keep_character ? 1 : 0); $whole_length = strlen($string); $right_length = (strlen(strrchr($string, $character)) – 1); $left_length = ($whole_length – $right_length – 1); switch($side) { case ‘left’: $piece = substr($string, 0, ($left_length + $offset)); break; case ‘right’: $start = (0 – ($right_length + $offset)); $piece = substr($string, $start); break; default: $piece = false; break; } return($piece); } /** * Get a value from $_POST / $_GET * if unavailable, take a default value * * @param string $key Value key * @param mixed $defaultValue (optional) * @return mixed Value */ public static function getValue($key, $defaultValue = false) { if (!isset($key) OR empty($key) OR !is_string($key)) return false; $ret = (isset($_POST[$key]) ? $_POST[$key] : (isset($_GET[$key]) ? $_GET[$key] : $defaultValue)); if (is_string($ret) === true) $ret = urldecode(preg_replace(‘/((\%5C0+)|(\%00+))/i’, ”, urlencode($ret))); return !is_string($ret)? $ret : stripslashes($ret); } /** * In array recursive function for searching multidimensional arrays * @static * @param $needle * @param $haystack * @return bool */ public static function inMultidimensionalArray($needle, $haystack) { foreach ($haystack as $item) { if ($item === $needle || (is_array($item) && self::inMultidimensionalArray($needle, $item))) return true; } return false; } /** * Search for a value in any multidimensional array * @static * @param $array * @param $key * @param $value * @internal param $parents * @internal param $searched * @return array */ public static function searchMultidimensionalArray( $array, $key, $value ) { $results = array(); if (is_array($array)) { if ($array[$key] == $value) $results[] = $array; foreach ($array as $subarray) $results = array_merge($results, self::searchMultidimensionalArray($subarray, $key, $value)); } return $results; } public static function isMultiDimensionalArrayEmpty( $array ) { if (is_array($array)) { foreach ($array as $value) { if (!self::isMultiDimensionalArrayEmpty($value)) { return false; } } } elseif (!empty($array)) { return false; } return true; } public static function getCurrentPageUrl() { $url = ‘http’; if ($_SERVER["HTTPS"] == “on”) $url .= “s”; $url .= “://”; if ($_SERVER["SERVER_PORT"] != “80″) $url .= $_SERVER["SERVER_NAME"].”:”.$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; else $url .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; return $url; } } }
        Fatal error: Class ‘PlulzTools’ not found in E:\Webroot\WP\wp-content\plugins\seo-facebook-comments\plulz\lib\Controller\PlulzAdminControllerAbstract.php on line 51

        Reply December 26 at 18:27
        • Im going to try to reproduce the Error in order to be able to fix it, could you give me some information about your server configuration? The main needed information are Server Host (Linux or Windows), PHP Version, WordPress Version and Installed Plugins.

          Reply December 26 at 23:23
          • DrLightman

            1.4.2.2 is working fine :) sorry for the delay to reply here but I forgot to check this. I’m using PHP 5.3.8 n Windows Vista SP1 and a lot of plugins to list.

            January 09 at 8:56
          • DrLightman

            Other issues after updating online. The error_log fills with a lot of these errors:

            [10-Jan-2012 07:54:45] PHP Fatal error: Uncaught CurlException: 7: couldn’t connect to host
            thrown in /home/sds777/domains/example.org/wp-content/plugins/seo-facebook-comments/plulz/lib/Model/PlulzFacebookAbstract.php on line 829

            January 10 at 8:11
  9. Hello Fabio. Thank you for the wonderful plugin! Please tell me……..how can I remake the color of the text (the names of people who liked the post) from white to what else? I have a light background and the name is not visible.

    Reply December 24 at 12:19
  10. hey there. LOVE YOUR PLUGIN! But the admin panel for the comment box does not appear. My main reason for selecting your plugin was because it successfully enter the comments into the wordpress database, but it appears that I lose admin priviledges to change the setting within the comment box, in addition to not being able to access the moderator view. Can you please give me things I should look for to correct. I have been working on fixing my commenting section for two months now!

    Thanks :)

    Quintin

    Reply December 24 at 23:22
    • Hi quintin, which version of wordpress are you using? The plugin menu should appear right bellow the Comments menu of WordPress, it may not appear only in two situations:

      A incompatibility with wordpress version or
      Other plugin is trying to append their menu in the same space

      Can you take a look at both this cases please and tell me please?

      Reply December 25 at 18:40
      • hey there! :)

        happy holidays btw!

        i have the latest wordpress version 3.3

        as for another plugin… I don’t have any other plugins for that space, other than a div tag that contains a most recent posts list, and a related posts list. the two are contained and successfully closed off in a div tag, and I even inserted another div tag below it so that this plugin would have its own unique space.

        Although its not working as it should, I don’t mind not having access to the admin and moderator options, but wanted to double check as I plan to relaunch my blog in january (and had access to those features with another plugin, that wasnt as great as yours). I’m wondering if manually inserting the plugin with a tag, instead of automatically might make a difference?

        Let me know if there might be other things I should check. I will make a donation for your help.

        Thank you!

        Q

        Reply December 25 at 18:57
        • Thanks, happy holidays to you too :)

          Ah you mean that the plugin is not showing in the Post page where it is suposed to be? I though that what was not showing was the Plugin Options Menu in the admin page.

          As for the moderation options, they suposed to show automatically when you are logged in in the page with a cookie of your facebook user stored in your computer and that user was the same one you used to Create the APP configured in the plugin, otherwhise you can get your ID here
          following hte instructions here http://www.plulz.com/how-to-get-my-facebook-user-id and insert it manually in the Plugin admin Configuration.

          Reply December 25 at 19:02
          • I entered the admin ID which is the facebook username I have. in addition to the application info. The plugin loads, however it doesn’t have the moderator or admin priveledges that it should. the top bar (where it says the comment count and ‘add comment’ link) doesnt exist.

            December 25 at 19:11
          • to clarify, it loads correctly and in the correct place on my posts, but does not have the top bar which includes, comment count, and ;add comment link… so the moderator panel is missing when it loads. which probably? means that my id qroper is not gaining admin access when it loads.

            December 25 at 19:13
          • I see, I think that probably the admin is incorrect, the ID that was being given in the post was wrong, I just updated it like 30 min ago to show the ID correctly, there is a new link in Facebook to do that (the older one was broken), try by this new method and see if that works ;)

            December 25 at 19:18
          • ah! The userid still doesnt provide access to the moderation panel (or the top bar).

            This is definitely the puzzle of the century. Everything seems correct, not sure why facebook isn’t recognizing me as the admin.

            December 25 at 20:04
          • OK! So I fixed it (with your help of course)

            1. I used the numerical ID instead of the login name I had, with the developer link you gave me.
            2. I changed my application secret, after inserting the web url into the settings for the app (which for some plugins wont work if its incorrect or doesnt exist)
            3. I logged out of facebook and logged back in.
            4. I turned off secure browsing, which was affecting my blogs interaction with facebook.

            viola, comment system is perfectly running! I couldn’t be happier. You should also note that the reason why this plugin is better than “Facebook Comments Plugin” (the first to pop up in a search is that it successfully inserts every comment into the wordpress database so that other plugins such as “most commented” and “recent comments” still work!

            December 25 at 20:18
          • sent a donation for your help today, thanks!!! :)

            December 25 at 20:40
        • spoke too soon… but will probably never find the issue. It shows the comments plugin successfully on some posts and not on others… So there is definitely a conflict already present in my theme and current plugins that is preventing the top bar from showing…. I just don’t get it lol.

          Reply December 25 at 21:23
          • Hi Quintin, maybe there is some other plugin causing problems on the wp_head hook ? That is the hook where the admin bar is normally appended to. Have you try disabling all plugins and enabling one by one to check which one is causing the bug?

            December 27 at 0:48
          • im going to try that later today and report back. the admin bar appears on some of my posts, but I can’t figure out what has been causing the admin bar to disappear on others.

            January 01 at 19:25
  11. I also dont get the comment count above

    Reply December 24 at 23:23
  12. Nossa cara.. nem tinha percebido que você é brasileiro, então.. estou usando seu plugin, mas não encontrei uma forma de fazer a área do facebook ficar em português, as vezes ele fica.. mas normalmente está em inglês. Pra mim seria importante que o mesmo ficasse na nossa língua brasileira. Abraço.

    Reply December 29 at 14:38
  13. Caliph Herald

    hey does this plugin retrieve the facebook users email address?

    Reply December 29 at 22:29
    • Caliph Herald

      Adam Balog i noticed that. hmmm the old format used to get email as well. are thier other ways of doing this? other comment facenbook plugins that pull email as well as fb profile?

      Reply December 30 at 15:14
  14. Great plugin! Unfortunately, dark “Colour Scheme” setting didn’t seem to work, so I did some investigation, and found a typo in the “plulz\app\Model\SEOFbCommentsComment.php” file on line 263. I changed “colorScheme” to “colorscheme” and now all is well! Thanks!

    Reply December 31 at 20:06
    • Hi Zoltan, in the new verison 1.4.3 this problem is fixed.

      Thanks for the feedback!

      Reply January 27 at 5:21
  15. Hi, I have tried the plugin and it's awesome! Thank you developers! But there is a problem – admin cannot delete unwanted fb comments on the website. :( Maybe you can work on it. :)

    Reply January 04 at 12:24
    • Eh, it's just a plugin, used on websites. Ha.

      Reply January 04 at 13:35
  16. Shayne Manne

    I can't get the comments box to show, is there any advice you can give?

    Reply January 04 at 20:25
  17. Stephen

    Hi, this plugin did exactly what I was looking for, except caused me some issues
    When first installed it worked fine for a few days, then caused some bad issues on my site. The database was overwhelmed by db calls and my site was brought to a halt for several hours. This happened sporadically at first then for 6 hours on consecutive days. Mysql showed (at one point) about 450 queries per second, which is way too many for my meager server. I disabled the plugin and I’m working fine now.
    When I looked into the comments table, some facebook comments were inserted into my database over 100 times. All were duplicated many times.

    Have you had any other issues like this?

    Reply January 06 at 16:46
    • Hi Stephen, which version of the plugin are you using? The pugin is suposed to create a table in the database to keep track of the comments that were already added, this is done precisely so the plugin won’t be adding duplicated comments.

      Reply January 06 at 17:00
  18. Hi I’ve used it on this blog – WP 3.31 and fb comments are not showing up. I’ve configured it for auto approval but comments are not showing. Any help would be greatly appreciated.

    Reply January 06 at 20:22
    • Did you configure the plugin correctly? The facebook App is also with the correct settings?

      Reply January 07 at 15:43
  19. Also, how do I remove the added links at the footer?

    Reply January 06 at 20:22
    • Hey, there is a option in the plugin page configuration, a checkbox, just uncheck it and the links will go away

      Reply January 07 at 15:43
      • Thanks – fixed both issues.

        Reply January 09 at 16:59
  20. thanks for the plugin… really works.
    but is it possible to change the color of the comment since my website is using a dark background.

    Reply January 11 at 14:51
  21. Very cool. I hope one day the feature is added to check "Post to Facebook" by default. (Like if you agree).

    Reply January 13 at 17:36
  22. HI, is it possible to delte the "Plugin from the creators of Brindes Personalizados :: More at Plulz WordPress Plugins" that appears at the bottom of my blog?

    Reply January 25 at 23:37
  23. What's the short code for this plugin?

    Reply February 06 at 5:57
  24. I have tried and tried to get this plugin on my site since it is the only one that I can tell is supposed to be picked up in the html. Hence, in line with Google's new "fresh" algorithm. I have spent days refetching the id #'s, recreating apps etc. Nothing shows up although I followed your instructions line by line. Help me?

    Reply February 12 at 18:20
  25. Thanks for putting a spam link at the bottom of my blog with your SEO comments plugin. Glad I saw it early.

    Reply March 19 at 6:03
  26. Great plugin
    Really useful for bloggers
    Thanks for sharing
    but i am looking for plugin in which user can upload image from wordpress website to facebook

    Reply April 12 at 10:07
  27. how i can delete a comment?

    Reply April 19 at 18:56
    • Hi, first you need to delete the comment on facebook, than delete it from WordPress, if you delete from WordPress first it will fetch the comment from facebook again.

      Reply April 19 at 20:33
  28. Flo

    Hi.. I would like to use the plugin, but i have a problem: when it is activated, everything works fine with the plain and the comments, but one thing appears: all links and actions inside my article were off, means I can’t click on any of the links on my normal site. If I switch the plugin off again, it is fine, but I would like to use the plugin. Did you already mentioned my problem?

    Reply April 22 at 14:15
    • Are you using other plugins? This issue could be related to that or the layout of the theme you are using. Can you send me a link so I can take a look?

      Reply April 23 at 16:11
  29. Hello there, is there a way to show this comments on homepage insade my loop?

    Reply April 23 at 11:05
  30. Cara, estou com um problema no uso do seu plugin. Ele não aparece nas postagens, só nas páginas. :(

    Tem alguma sugestão que possa me ajudar?
    Muito obrigado e parabéns pelo trabalho!

    Reply April 23 at 13:40
    • Eu acho que deve ser relacionado ao seu tema, ele deve utilizar alguma função diferente da que o Plugin utiliza para se chamar nos comentários, enquanto que as páginas foi mantido o action/hook padrão.

      Compara o page.php e o single.php, no local onde deve ser chamado os comentários se estão iguais.

      Reply April 23 at 16:10
      • Fábio, novamente, obrigado pela atenção.

        Os dois trechos estão iguais. O mais estranho que notei foi que as vezes aparece nos posts. Parece bem aleatório…

        Reply April 24 at 2:05
      • Fábio, acabei de desabilitar o plugin “Social Sharing Toolkit” e parece ter dado certo.

        Reply April 24 at 2:06
        • Principal problema que ocorre eh justamente isso, outros plugins conflitantes. Isso acotnece porque eles não fazem validações da classe que vem do Facebook SDK nego simplesmente inclui ela no ambiente e , quando outro plugin faz o mesmo, quebra tudo :(

          Para evitar isso eu além de validar a classe também mudei o nome dela, mas ainda assim alguns erros podem ocorrer.

          Reply April 26 at 19:23
  31. Kevin Hoover

    How does one get the Facebook comments on the WordPress blog to also appear on the Facebook page?

    Reply April 28 at 15:49

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>