Viewing 9 replies - 1 through 9 (of 9 total)
  • B.

    (@bandonrandon)

    Humm… the profile box should update when a new post is made. Will the box update eventually without you going to the app? Also what is your php version are you using 4 or 5?

    Thread Starter jonolan

    (@jonolan)

    I have not seen it update automatically yet, but I’m in the app itself now then during the day and going to it always updates the box. So I’m unsure.

    I’m using PHP 5, explicitly called through the .htaccess file:

    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php

    How does the plugin pull the headlines? If it’s via the rss feed,that might be the issue since mine redirects to feedburner.

    Thread Starter jonolan

    (@jonolan)

    On interesting follow-up:

    It appears that if anyone using the application goes to the app itself, the profile box updates for all users. Weird.

    With some help I tested that yesterday. I logged into my FB profile and the box had not updated in over a day. A friend, whose profile box had also not updated, went to the app. At which point both profile boxes updates though I had not gone to the app.

    B.

    (@bandonrandon)

    To be honest this is really Johns area (the other developer he wrote the code for the profile boxes.) However, I did look at the code last night and now with your follow-up I think I may know what’s happening.

    WPBook has added hooks to call a function to update the profile box when a post is published or updated. Apparently that part of the plugin isn’t working for you. However, when someone visits your app it seems to be grabbing the hooks and updating the box. I’m not sure why this is happening just that it is.

    Are you running any cache plugins? What happens if you post a new post then clear your cache and look at the profile box? I just tested your issue with my blog and I posted a new blog then visited my profile inside Facebook (with the profile box on it) and it showed the new post.

    Anyway, I hope we can continue to troubleshoot and find out if this is an isolated issue or if it’s a common problem.

    Thread Starter jonolan

    (@jonolan)

    I use no caching software on the blog and clearing the browser cache has no apparent effect, nor does shutting down the browser and reopening it.

    I’m more than willing to help out troubleshooting for as long as it takes.

    B.

    (@bandonrandon)

    humm… I’m trying to figure out why the update function isn’t being called when you make a new post.

    I just tested again with another different test blog and it worked for me. Your blog looks fairly standard. Are you using any plugins that update anything on post? Possible any other interesting plugins that may be helpful?

    Thread Starter jonolan

    (@jonolan)

    Facebook Connect and the Feedburner plugins are the only “interesting” ones, but I’ve tried disabling them

    WPBook sets a ‘reference handle’ to a bunch of html including the recent posts – then whenever that ‘reference handle’ gets updated it gets updated for all folks who have the profile box.

    That reference handle gets updated when people visit the app AND should get updated whenever you post a new post.

    Seems like in this case one is working (whenever people visit the app) but not the other (when you write a new post).

    Not sure why, since both use the same code.

    I did put some code in 1.4.x to check to see if the Facebook Key and Secret are present, to avoid the error thrown when someone installs the plugin but doesn’t fill those out, then tries to post.

    Perhaps there’s an error in that code? I will check into it.

    Are others having this problem?

    Thread Starter jonolan

    (@jonolan)

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: WPBook] Profile Box Not Updating with New Posts’ is closed to new replies.