The plugin is activated on that site?
Just loading this page:
http://testes.proximaviagem.com/?signed_request=1
Should trigger wpbook but is not.
What version of WordPress are you running?
Have you tried with other plugins disabled, and/or with the default theme? Something is preventing WPBook for activating and changing the theme via the hook.
Hi John
Yes, the plugin is activated otherwise I guess that I’m not able to change any configuration, right ? 🙂
I’m running wordpress version 3.0.3 and WPbook version 2.1.4
With default theme if I run http://testes.proximaviagem.com/?signed_request=1 it just show the usual homepage. What I should expect to see if this url works?
For testing proposals I have disabled all plugins except WPbook and I don’t see any change.
Many thanks.
When you load http://testes.proximaviagem.com/?signed_request=1 it should actually trigger a redirect into Facebook to get OAuth permissions.
Is anything showing up in your PHP error logs or Apache error logs?
You’ve set the application ID and secret in the WPBook settings?
When I load the Facebook application, and look at the info for the iFrame, it doesn’t including any of what I’m used to seeing – can you share what your settings are for Facebook Integration in your Facebook application?
Have you done this with total cache disabled?
Essentially WPBook works by sensing that it is being called from inside Facebook (based on the “signed_request” paramater Facebook passes in calling the iframe) and substitutes it’s own theme for your theme for that request.
For whatever reason that’s just not happening here – until this bit works nothing else will!
I’ve turned off my cache plugin and browser cache is also clear.
Looking the apache log I guess that we have a problem. Error 500.
[25/Mar/2011:16:34:36 +0000] “GET /?signed_request=1 HTTP/1.1” 500 143725 “-” “Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13”
Anyone has reported issue related with this?
Given that you’re on one of the WordPress 3.0.x versions, it may be the issue other users reported, discussed in other threads.
Basically what you need to do is prevent the get_themes() call from happening at or around line 905:
$installed_themes= get_themes();
Easiest might be to just make the whole wpbook_check_custom_theme function return false – like this (note the lines starting with two slashes are commented out, and one new line added):
function wpbook_check_custom_theme($theme) {
//$installed_themes= array();
//$installed_themes= get_themes();
//$wpbook_theme_check = (!empty($installed_themes[$theme])) ? TRUE : FALSE;
//return $wpbook_theme_check;
return FALSE;
}
Now is working like a charm. Many, many thanks for all your support.
Great plugin, great support, … what I can ask more.
Regards.