Skip to:
Content
Pages
Categories
Search
Top
Bottom

Another problem with blogs

  • @juaevpa

    Member

    Why I don’t have the possibility to show ‘activity’ widget in the blogs that I have created? It just appear in the main site, but not in the other blogs that I could create.

    thanks so much and sorry for my English

    Juanma

Viewing 2 replies - 1 through 2 (of 2 total)
  • @burtadsit

    Participant

    Some of the widgets like the ‘activity’ and ‘recent posts’ widgets were designed to run on blog id 1 only. If you are comfortable changing the code in the bp core then here’s the spots:

    Activity widget: /mu-plugins/bp-activity/bp-activity-widgets.php. Line #8 and line #30 have checks for blog id > 1. Modify to reflect your site.

    Recent Posts widget: /mu-plugins/bp-blogs/bp-blogs-widgets.php. Line #8 and line #30 have checks for blog id > 1. Modify to reflect your site.

    Welcome and Members widget: /mu-plugins/bp-core/bp-core-widgets.php. Line #8 checks for blog id > 1. Modify to reflect your site.

    Groups widget: /mu-plugins/bp-groups/bp-groups-widgets.php. Line #8 checks for blog id > 1. Modify to reflect your site.

    CAUTION: Your site may melt down. Your friends may leave you. Your pets may not like you anymore. I’ve heard of people’s cars not starting after making changes to the bp core. :)

    @burtadsit

    Participant

    Cancel all that stuff. Andy just changed things so that there is no more dependency on blog 1 for the widgets.

    Yay!

    Get the latest rev from trunk.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Another problem with blogs’ is closed to new replies.
Skip to toolbar