Protooler
Forum Replies Created
-
Forum: Plugins
In reply to: [WPBook] Error "headers already sent" when activating WPBookThanks esmi!!!
Now it’s okForum: Plugins
In reply to: [WPBook] [Plugin: WPBook] App navigation don't workany suggestions?
Forum: Plugins
In reply to: [WPBook] [Plugin: WPBook] Comments Facebook avatarSure! : )
Forum: Plugins
In reply to: [WPBook] [Plugin: WPBook] Comments Facebook avatarWOW this is great!!!
Thanks BandonRandon, perfect work!
I am happy to have given inspiration to this new feature!Forum: Plugins
In reply to: [WPBook] [Plugin: WPBook] Disable Comments in the wallah..ok..
The idea was to disable only the comments from the app, but if Facebook does not allow applications to do this I surrender! ??I have some problem to import the wall comments inside the app..
I have flag all in the in wordpress settings
Import comments from Facebook WallsAutomatically approve imported Wall comments
For how many days should WPBook look for comments on Facebook Walls?: 5
And I have set the email..
Why not working?
What am I doing wrong?Thanks!
ClaudioForum: Plugins
In reply to: [WPBook] [Plugin: WPBook] Comments Facebook avatarI retrive the id from the wordpress function get_comment_author_url();
here: $urlu = get_comment_author_url();The idea is to show the gravatar if there is an email associated otherwise if there is the word “facebook” in the comment author url it stamp the facebook avatar..
<?php $urlu = get_comment_author_url(); if ($use_gravatar == "true" && !ereg("facebook",$urlu)){ echo'<div class="gravatarr">'; $grav_url = "https://www.gravatar.com/avatar/" . md5(strtolower(get_comment_author_email())) . "?d=" . $gravatar_default . "&s=50&r=".$gravatar_rating; echo "<img src='$grav_url'/></div>"; echo '<div class="gravatarpadding">'; } elseif ($use_gravatar == "true" && ereg("facebook",$urlu)){ echo'<div class="gravatarr">'; $urlu = get_comment_author_url(); $parsed = parse_url($urlu, PHP_URL_QUERY); $parsed = parse_str($parsed); $idfb = $parsed['id']; echo "<img src='https://graph.facebook.com/"; echo "{$id}"; echo "/picture?type=square' />"; echo '</div><div class="gravatarpadding">'; } ?>
I show all the avatar from facebook and from gravatar..so it work! ??
The problem is when I try to post a comment in the form because
there is something in conflict with the custom avatar..
or with the query that retrive the variables in wpbook.php (i suppose)
because the browser stops with a blank page and the url https://www.mysite.com/index.php?fb_sig_in_iframe&wpbook=comment-handlerplease help me/us to integrate this new feature..
Thanx
Claudio