Skip to:
Content
Pages
Categories
Search
Top
Bottom

A quick jump into 1.5 bleeding and issues


  • Pisanojm
    Participant

    @pisanojm

    I decided to jump into 1.5 and see what popped up on my site. Here are some of the things that didn’t work out of the box (Using Current WP and latest BP):

    Plugins:

    Bp-Like – Failed. via @hempsworth (will be updated soon according to him)

    Activity-Stream-Bump-to-top failed. via @nuprn1 (Currently Rich is not updating this, but I hope somebody does for 1.5 as this is a most useful plugin)

    External blog failed. via @bowromir
    http://bp-tricks.com/featured/allow-users-to-add-their-rss-feed-to-their-profile-with-the-external-blogs-plugin/

    *********************

    Bp-custom code that didn’t work:

    Error:

    Warning: Missing argument 10 for BP_Activity_Template::__construct(), called in /home/musicpln/public_html/wp-content/plugins/bp-custom.php on line 143 and defined in /home/musicpln/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 115

    Warning: Missing argument 11 for BP_Activity_Template::__construct(), called in /home/musicpln/public_html/wp-content/plugins/bp-custom.php on line 143 and defined in /home/musicpln/public_html/wp-content/plugins/buddypress/bp-activity/bp-activity-template.php on line 115

    Code in that section:

    `
    /* Group filtering */
    $object = $bp->groups->id;
    $primary_id = bp_get_group_id();
    if ( ‘public’ != $bp->groups->current_group->status && groups_is_user_member( $bp->loggedin_user->id, bp_get_group_id() ) )
    $show_hidden = true;
    /* Note: any params used for filtering can be a single value, or multiple values comma separated. */
    $defaults = array(
    ‘display_comments’ => false, // false for none, stream/threaded – show comments in the stream or threaded under items
    ‘sort’ => ‘DESC’, // sort DESC or ASC
    ‘page’ => 1, // which page to load
    ‘per_page’ => false, // number of items per page
    ‘max’ => 1, // max number to return
    ‘include’ => false, // pass an activity_id or string of ID’s comma separated
    ‘show_hidden’ => $show_hidden, // Show activity items that are hidden site-wide?
    /* Filtering */
    ‘object’ => $object, // object to filter on e.g. groups, profile, status, friends
    ‘primary_id’ => $primary_id, // object ID to filter on e.g. a group_id or forum_id or blog_id etc.
    ‘action’ => ‘new_forum_topic’, // action to filter on e.g. activity_update, new_forum_post, profile_updated
    ‘secondary_id’ => false, // secondary object ID to filter on e.g. a post_id `

    Line 143:
    ` $activities_template = new BP_Activity_Template( $page, $per_page, $max, $include, $sort, $filter, $search_terms, $display_comments, $show_hidden ); `

    *****

    The most unexpected thing for me was that BuddyPress asked me to “initialize it” and I had to walk through all of the steps as if it were a new/fresh buddypress install not an updgrade…. it didn’t wipe my databases, but I was afraid that it had… is this expected behavior?

    @djpaul @boonebgorges

    For What It’s Worth…

Viewing 5 replies - 1 through 5 (of 5 total)
  • The set up tool handles both upgrades and installs, yes. It ought to have detected you upgraded rather than it being a new install. The differences is on a new install it could present these steps: ‘Components’, ‘Pages’, ‘Permalinks’, ‘Theme’, ‘Finish’.

    But on an upgrade, it will probably just display “database upgrade” and “pages”.

    We added two new parameters to the BP_Activity_Template class. The error is because they are missing. Please report this on https://buddypress.trac.wordpress.org/, those new values should have defaults for back pat.


    enderandrew
    Member

    @enderandrew

    In bp-activity-template I show the two new arguments:

    bp_activity_template( $page, $per_page, $max, $include, $sort, $filter, $search_terms, $display_comments, $show_hidden, $exclude, $in )

    but in bp-activity-templatetags.php I do not.

    Does that need to be changed?

    bp_activity_template( $page, $per_page, $max, $include, $sort, $filter, $search_terms, $display_comments, $show_hidden )


    imjscn
    Participant

    @imjscn

    @djpaul , I deactive and deleted the whole buddypres folder, then, ftp up the bp 1.5. I thought this is an install? but the wizard steps are not presented.
    How to do a new install?


    Boone Gorges
    Keymaster

    @boonebgorges

    @pisanojm The BP_Activity_Template::__construct() problem has been fixed in the trunk; see https://buddypress.trac.wordpress.org/ticket/3421 Thanks for the report.

    @imjscn You should be prompted to run the wizard in a yellow message across the top of the Dashboard (or Network Admin, on Multisite). Or, underneath the Dashboard > BuddyPress menu, you should see a Setup button.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A quick jump into 1.5 bleeding and issues’ is closed to new replies.
Skip to toolbar