Just checked in and tagged version 2.0.13 of WPBook. Thanks to BandonRandon for her patches!
A few quick updates in this release, but fairly minor:
- Moved and Unhid the infinite_session_key in admin WPBook setting screen. Lots of folks were confused by where that option was located.
- Fixed attribution line function which prevented %author% from working
- Added global gravatar setting – otherwise we only filter gravatars inside facebook. (This prevents wpbook from interfering with othee gravatars in themes outside fb).
- Added DONOTCACHEPAGE constant when pages are viewed inside facebook –
this should enable WPBook to better coordinate with wp-super-cache, though you will still need to use the “Use PHP to serve cached files” rather than “Use mod_rewrite to serve cache files” for this to work.
In addition, I started to experiment a bit with Facebook’s new iFrame based “tabs” for adding to profile pages. (They still call them tabs even though the new Profile Page layout doesn’t have tabs proper anymore). Unfortunately the auto-resize function which sizes the iframe to the right height for its content seems to be broken, or deprecated, or otherwise non-functional.
What does this mean for WPBook users? For now, it means keep using the FBML tabs model to add your page tabs. I will keep working on getting the iFrame-based tabs working, which will enable better support for videos and such on the profile page.
Your settings for your Facebook application, in the “Facebook Integration” section, should look more or less like this:
This means having the “Canvas Page Type” set to iFrame, with auto-resize, but leaving the “Page Tab Type” set to FBML, and using the ?app_tab=true&fb_force_mode=fbml
as the tab url.
If you’d like to experiment with iFrame-based tabs, you can try the setting, using just index.php
as the url but I think for now you will be unhappy with the results.
The real, long-term solution to page tabs will have to come in 2.1 along with the transition to OAuth-based authentication, the Graph-based API, and the latest Facebook SDK – not sure yet when that will be.