Greg Rickaby
Member
Posted 1 year ago #
I was already running the Facebook SDK to generate "Like" buttons. Upon activation of your plug-in I saw this: http://i27.tinypic.com/5mlgxt.jpg
When I deactivate the error disappears. I see the new version of the plug-in already offers auto-insertion of the "Like" button, but I would like to see an option to enable or disable that feature.
Otherwise, thank you for the plug-in! The connect feature works great.
Greg Rickaby
Member
Posted 1 year ago #
Derrrrr
I deleted:
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '126059490749466', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
out of custom_functions.php and POOF the error disappeared.
The issue is now, people must be "Connected" to even see the "Like" button.
Greg Rickaby
Member
Posted 1 year ago #
Scratch that too...
I just placed: <?php echo fbc_render_like(); ?> into a hook and there is the like button for those who aren't connected.
Greg Rickaby
Member
Posted 1 year ago #
And one more... if you don't want the "Like" button to show up the same place as the connect button:
- Open fbconnect.php
- Scroll to line 525
- Erase:
echo fbc_render_like();
- Save & Upload