Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 1,419 total)
  • @apeatling

    Keymaster

    Thanks everyone! I had a good day, played some golf, can’t complain about that.

    @apeatling

    Keymaster

    Thanks everyone! I had a good day, played some golf, can’t complain about that.

    @apeatling

    Keymaster

    Nice – could you update it so it uses bp_init please? Thanks, all explained at the top of the first post:

    https://buddypress.org/forums/topic/plugin-hall-of-shame-plugin-devs-please-read/

    @apeatling

    Keymaster

    Also there are not “private hidden” groups. There are “private groups” that are private but not hidden, and “hidden groups” that are both private and hidden.

    @apeatling

    Keymaster

    Installing and using BP has certainly become a lot easier since the 1.0 days, hopefully it will continue to get easier with each release.

    @apeatling

    Keymaster

    There will be a 1.2 point release hopefully on the same day that 3.0 is released to fix any compatibility issues. 1.3 won’t be finished in time for 3.0. You can use the 1.2 branch to keep up to date with the fixes as they happen.

    @apeatling

    Keymaster

    You can add them in the template to force override (create a child theme and override activity/activity-loop.php):

    <?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) . '&scope=friends' ) ) : ?>

    @apeatling

    Keymaster

    @foxly – is_site_admin() does not exist in WordPress versions prior to 3.0. BuddyPress adds it for its own use, if BuddyPress is not active and your plugin calls is_site_admin() then the site dies.

    @apeatling

    Keymaster

    Those users must become active to show up in member listings. If they log in to the site at least once they will show.

    @apeatling

    Keymaster

    Thanks, this is fixed in the 1.2 branch and will be in the next release.

    @apeatling

    Keymaster

    If you are using hooks that fire before bp_init then you can keep them in the loader file. You must be very sure that aren’t calling any BuddyPress functions though.

    If you’re not sure just deactivate buddypress with your plugin active and see if it crashes.

    @apeatling

    Keymaster

    This sounds to me like there is something broken in your theme. Can you try the default theme and see if it works?

    @apeatling

    Keymaster

    Burned! Yes I need to fix it – but this is for plugins that break BuddyPress upgrades :)

    @apeatling

    Keymaster

    A bit off topic but – yes, I’m committed to making this happen in 1.3.

    @apeatling

    Keymaster

    Please update this plugin to work when BP is disabled. See:

    https://buddypress.org/forums/topic/plugin-hall-of-shame-plugin-devs-please-read

    @apeatling

    Keymaster

    @etiviti (rich!) – Modifying items before bp_init is fine in the main file, but you must be careful not to reference any functions in BuddyPress.

    @apeatling

    Keymaster

    @etiviti (rich!) – Yes, but the code needs to move to a separate file as it’s as simple as referencing a BP function in that code and it will break. It’s risky.

    @apeatling

    Keymaster

    @Magganpice – yes there is a fatal error catcher when activating plugins, but not when a plugin is deactivated on upgrade.

    @apeatling

    Keymaster

    It’s a lighthearted hall of shame, I’m calling them out because it’s important. The updates take 5 minutes, we can’t continue to have BuddyPress crash because of plugins every time it updates.

    @apeatling

    Keymaster

    It’s really easy to test, deactivate all plugins then activate the plugin in question. If your site gets a white screen or white screen with error then it’s not friendly. You can delete the plugin in wp-content/plugins to get your site back again.

    @apeatling

    Keymaster

    Yes but you can’t be sure bp-core-wpabstraction.php is loaded until bp_init fires. Regadless, try to use current_user_can() instead.

    @apeatling

    Keymaster

    I’ve checked all the plugins and updated the list.

    @apeatling

    Keymaster

    $activity_id = bp_activity_post_update( array( ‘content’ => $content, ‘user_id’ => $user_id ) );

    $activity_id = groups_post_update( array( ‘content’ => $content, ‘user_id’ => $user_id, ‘group_id’ => $group_id ) );

    The functions above will post an update by the user on their profile, or in a group. It will return the activity ID which you can use to attach a comment:

    $comment_id = bp_activity_new_comment( array( ‘activity_id’ => $activity_id, ‘content’ => $content, ‘user_id’ => $user_id, ‘parent_id’ => [optional] ) );

    You could post a reply to that comment by using the same function and passing the $comment_id as the parent_id param.

    @apeatling

    Keymaster

    This is not true of all activity though. For activity updates and comments it really does mean delete.

    @apeatling

    Keymaster

    Let’s put our collective heads together and work out which plugins are breaking when BuddyPress is deactivated. I’ll update the list over time.

Viewing 25 replies - 26 through 50 (of 1,419 total)
Skip to toolbar