Skip to:
Content
Pages
Categories
Search
Top
Bottom

Error with the “Recent Blog Posts” widget?

  • @seppolaatle112

    Participant

    I really do not know if this is some kind of error, or what to call it, but here is the deal.:

    As many of us do, we activate the “Recent Blog Posts widget” in the original left sidebar. I did that as well, but wanted to check how that widget would look like in the original center sidebar.

    I went into the widget-administration, changed the “Recent Blog Posts” widget over to the center sidebar. Now, the results are, that the left sidebar can not show any content at all anymore, but the Recent Blog Posts are visible in the center sidebar.

    I tried to activate about 30 widgets in the left sidebar, while the Recent Blog Posts widget still was activated in the center sidebar, and still there is no content in the left sidebar.

    I did absolutely no changes to any code at all after installation of Buddypress..!

    Anyone else have a problem like this one?

Viewing 12 replies - 1 through 12 (of 12 total)
  • @gogoplata

    Participant

    Haven’t run into this but are you using the latest trunk, what version of WPMU are you using, did you make any changes to the theme? Again, I haven’t encountered this but the more details you can provide the easier it’ll be to find a solution.

    @seppolaatle112

    Participant

    Hi again. :)

    First, one important thing. In the first post I said that the left sidebar does not show anything at all. That is wrong. It shows “Who’s Online,” even if I have just 1 or 30 different widgets enabled in the administration-area.

    When I remove the “Recent Blog Posts” widget from the center sidebar, then everything apperas as it should in the left sidebar.

    I am using the latest versjon of WPMU, witch would be 2.6.3, and I am using the latest versjon of trunk.

    The only changes I made to the theme, was chaning the site logo, witch originally say Buddypress.

    I did install Buddypress a couple of days after WPMU was installed, but I can’t seem to understand that that would have anything to do with this Widget.

    The problem occurs only when I am using the “Recent Blog Posts” widget in the center sidebar. You can see it all live on this test-site.:

    http://nettby.us

    If anyone har the opportunity to check if this is happening in your Buddypress-installation as well, that would be great.

    @seppolaatle112

    Participant

    Hi again. :)

    First, one important thing. In the first post I said that the left sidebar does not show anything at all. That is wrong. It shows “Who’s Online,” even if I have just 1 or 30 different widgets enabled in the administration-area.

    When I remove the “Recent Blog Posts” widget from the center sidebar, then everything apperas as it should in the left sidebar.

    I am using the latest versjon of WPMU, witch would be 2.6.3, and I am using the latest versjon of trunk.

    The only changes I made to the theme, was chaning the site logo, witch originally say Buddypress.

    I did install Buddypress a couple of days after WPMU was installed, but I can’t seem to understand that that would have anything to do with this Widget.

    The problem occurs only when I am using the “Recent Blog Posts” widget in the center sidebar. You can see it all live on this test-site.:

    http://nettby.us

    If anyone har the opportunity to check if this is happening in your Buddypress-installation as well, that would be great.

    @seppolaatle112

    Participant

    Hi again. :)

    First, one important thing. In the first post I said that the left sidebar does not show anything at all. That is wrong. It shows “Who’s Online,” even if I have just 1 or 30 different widgets enabled in the administration-area.

    When I remove the “Recent Blog Posts” widget from the center sidebar, then everything apperas as it should in the left sidebar.

    I am using the latest versjon of WPMU, witch would be 2.6.3, and I am using the latest versjon of trunk.

    The only changes I made to the theme, was chaning the site logo, witch originally say Buddypress.

    I did install Buddypress a couple of days after WPMU was installed, but I can’t seem to understand that that would have anything to do with this Widget.

    The problem occurs only when I am using the “Recent Blog Posts” widget in the center sidebar. You can see it all live on this test-site.:

    http://nettby.us

    If anyone har the opportunity to check if this is happening in your Buddypress-installation as well, that would be great.

    @seppolaatle112

    Participant

    Hi again. :)

    First, one important thing. In the first post I said that the left sidebar does not show anything at all. That is wrong. It shows “Who’s Online,” even if I have just 1 or 30 different widgets enabled in the administration-area.

    When I remove the “Recent Blog Posts” widget from the center sidebar, then everything apperas as it should in the left sidebar.

    I am using the latest versjon of WPMU, witch would be 2.6.3, and I am using the latest versjon of trunk.

    The only changes I made to the theme, was chaning the site logo, witch originally say Buddypress.

    I did install Buddypress a couple of days after WPMU was installed, but I can’t seem to understand that that would have anything to do with this Widget.

    The problem occurs only when I am using the “Recent Blog Posts” widget in the center sidebar. You can see it all live on this test-site.:

    http://nettby.us

    If anyone har the opportunity to check if this is happening in your Buddypress-installation as well, that would be great.

    @burtadsit

    Participant

    Yes, I have run into problems when using the recent blog posts widget. Whacky things start happening. I filed a ticket.

    @seppolaatle112

    Participant

    burtadsit, could you please tell ut what you wrote in your ticket?

    @burtadsit

    Participant

    @seppolaatle112 Well dude, that it didn’t work well. That it was nothing but problems. :D

    @criticaltodd

    Participant

    I think this may have been fixed today??

    https://trac.buddypress.org/changeset/557

    Changeset 557

    View differences

    Show lines around each change

    Ignore:

    Blank lines

    Case changes

    White space changes

    Timestamp:

    11/19/08 16:03:44 (5 hours ago)

    Author:

    apeatling

    Message:

    Added missing switch_to_blog() call which was causing issues with using the recent blog posts widget.

    @burtadsit

    Participant

    Yeah! Thank you Andy. Goin’ to get it right now.

    @thezohan10

    Member

    Hi to all, i will tell you my little experience with the subject.

    First of all: How does the global tags blog work? Simple, when someone makes a post, WPMU triggers an event. Basically there is a plugin that is hooked to that event, and when the post is made, it copies the post to a TAG blog (typically “invisible” and with a modified template, i will try not to extend here). But it dupplicates the post in the tag blog, and when you wanna show a cool plugin with al the site tags, you add the standard WP tag function instantiating that blog.

    THE PROBLEM WITH BUDDYPRESS:

    Inspite that in the PHP code of buddypress tries to evaluate, reading the options of WPMU if the POST comes from the TAG BLOG, it fails, cause there is an environment problem there. $BP and $WP* does not bring the correct actual blog id from the Blog where the post was made (Tag blog) so it thinks it´s a new entry, so boom, it keeps on publishing, POST – HOOK – POST – HOOK etc… until the buffer makes a little BOOM!. And it stops.

    What i did (i figured this problem the first time i installed buddypress) and maybe it´s not the best answer to your problem, is to use my own post indexer (i was using that plugin before for other reasons) so i took the HOOK of SAVED or PUBLISH i don´t remember and i am triggering the BP post record function directly from my plugin.

    But the important thing is that, the BP code is perfect at that point, it tries to evaluate if the blog is the TAGS BLOG, but there´s a problem with the environment $BP or $WP**** at that point, so the BLOG_ID is messed.

    Hope it helps Andy.

    Z.

    @thezohan10

    Member

    Sorry to sleepy, the post above was for this topic:

    https://buddypress.org/forums/topic.php?id=76

    Cheers,

    Z

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Error with the “Recent Blog Posts” widget?’ is closed to new replies.
Skip to toolbar