Making bp-events work on BuddyPress 1.2 (with invites working)

There is a lot of chatter about wanting the plugin creator to update bp-events to work with Buddypress version 1.2, and so far it hasn’t happened, however, this guy has ported it for us so kindly:

http://codewarrior.getpaidfrom.us/2010/04/21/buddypress-event-plugin-for-1-2/

Just in case his site goes down or something, I’ll list the plugin here: bp-events-dave-aubin-1-2.zip.

== Installation ==

– Unzip package
– upload “bp-events” folder into “plugins” directory
– IMPORTANT: move “events” folder to your active theme (if using default theme, use “bp-default”)
– network activate and you’re done!

One thing I’ve noticed is inviting friends to events is broken. Was broken in BuddyPress 1.1 too. I wrote an article about this before. For BP 1.2, made this patch. It patches the wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php file to make inviting friends work.


http://www.koopman.me/src/buddypress.bp-events.patch

Here’s how to apply it:

cd wp-content/plugins/buddypress;
patch -p1 < /path/to/buddypress.bp-events.patch;

If you can’t run patch, just read the patch and make the edits to the file by hand.

UPDATE: From this page, One more thing, need this for BP 1.2.5+ (this took me awhile to figure out):

At about line 278 of bp-events.php where it says:

add_action( ‘plugins_loaded’, ‘events_setup_nav’ );
add_action( ‘admin_menu’, ‘events_setup_nav’ );

ADD THIS just after:

add_action( ‘bp_setup_nav’, ‘events_setup_nav’ );

And that’s it, should be working. The unique thing this post provides is the patch to make the event invite functionality work. Everything else you could have found elsewhere.

Frankly, I’m a little surprised that bp-events invite functionality is not a bigger deal. Can’t find anyone online complaining about this. What gives, is it just me? If you have bp-events installed, with ability to invite friends, please leave a comment and tell me how.

Dave.

3,466 thoughts on “Making bp-events work on BuddyPress 1.2 (with invites working)”

  1. I need your help. I agree the events is a deal breaker for me on my website. I followed your instructions, I added the bp-events folder. I added the events folder to the default theme folder.

    Please help.

  2. You can skip the patch if you don’t care about invites working, but you need to do the part about “At about line 278 of bp-events.php where it says:….”? That’s the kicker, you need to make that edit for it to work.

    Other things it could be: 1) file ownership, readability by the web server. 2) Before you start, properly remove completely any previous installations of buddypress, including the old buddy press themes.

  3. @Sorbari one of these days yes…. so sorry, been swamped at work. I’m using buddypress on an intranet site and we’ll eventually get around to updating it and I’ll need to update this patch then. I promise when I do that I’ll come back and update this post. Sorry I can’t help right now.

Comments are closed.