New Plugin Version: SEO Facebook Comments 1.4
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
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!
Hi daniel, can you give me a link to your blog to see what code the plugin are inserting?
Hi there.. Sure. its http://www.danielxavier.dk/Mindleak i can see that you have updatet again, but now its in english. Better, but still not Danish
Hi there.. Sure. its http://www.danielxavier.dk/Mindleak i can see that you have updatet again, but now its in english. Better, but still not Danish
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)
It has changed now.. Perhaps there is a latency with the facebook app. Thanks.
Great, so far everything is working good now
Hi. Mine is in Spanish as well. It was English before the update.
Thanks,
Tommy
Try now the version 1.4.1, it should fix that specific bug and let me know if it worked
That fixed it! Thanks!
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
Ok! after the new update the proble is fixed! thank you.
Stefano
Testing
On activation:
Fatal error: Class 'PlulzTools' not found in D:Sititestsitewp-contentpluginsseo-facebook-commentsplulzlibControllerPlulzAdminControllerAbstract.php on line 51
And the plugin is not activated
I get the same error when updating, but the entire site crashes as well.
where I can download old one?
Hi, If you want you can check all versions of the plugin here http://wordpress.org/extend/plugins/seo-facebook-comments/download/
The old stable one was the version 1.3.2
Great. i'm using and love it @
don't see any documentation or way to add it to pages..
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
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 ??
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
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
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
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.
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.
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
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.
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
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?
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
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.
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.
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.
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
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.
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!
sent a donation for your help today, thanks!!!
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.
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?
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.
I also dont get the comment count above
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.
hey does this plugin retrieve the facebook users email address?
It pulls facebook links to the people who reply. ie https://www.facebook.com/caliph1
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?
I'm still having problems with removing comments section on my blog. http://www.kimplusadamblog.com I am using Pro Photo 4 plugin. http://www.prophotoblogs.com/
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!
Hi Zoltan, in the new verison 1.4.3 this problem is fixed.
Thanks for the feedback!
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.
what is that?
Eh, it's just a plugin, used on websites. Ha.
I can't get the comments box to show, is there any advice you can give?
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?
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.
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.
Did you configure the plugin correctly? The facebook App is also with the correct settings?
Also, how do I remove the added links at the footer?
Hey, there is a option in the plugin page configuration, a checkbox, just uncheck it and the links will go away
Thanks – fixed both issues.
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.
I have the same issue with dark background. Did you find a solution?
nope… i use another plugin since my site is dark.
Very cool. I hope one day the feature is added to check "Post to Facebook" by default. (Like if you agree).
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?
What's the short code for this plugin?
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?
Is ghiere a
Thanks for putting a spam link at the bottom of my blog with your SEO comments plugin. Glad I saw it early.
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
how do I get the FB COMMENTS in the post and not on the page i.e. the webpage is http://kaoarts.com/work/demarco-love-a-come-down/ I want to get it below or above the share icons.
how i can delete a comment?
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.
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?
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?
Hello there, is there a way to show this comments on homepage insade my loop?
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!
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.
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…
Fábio, acabei de desabilitar o plugin “Social Sharing Toolkit” e parece ter dado certo.
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.
How does one get the Facebook comments on the WordPress blog to also appear on the Facebook page?
I am getting this msg at my website Warning: http://./ is unreachable.
go to http://www.amitzdulniker.com and see pls some people say its about fb app but I think it isn't beacuse I didn't have problem with app before this new update of your plugin.
I have an error please help me.
FB.provide is not a function…tps://s-static.ak.fbcdn.net/","https_staticfb":"https://s-static.ak.faceboo…