elmediano
Member
Posted 7 months ago #
Hi all!
I'm running:
- WP 3.2.1
- BP 1.5
- Events Manager 4.303
I'm building a site that uses Events Manager normally to display Events. We are not using the booking system or anything, just the info and calendar.
At the moment, we don't require the use of Events on Buddypress, we will in the future though.
So, my question is: Is there anyway to disable the Events Manager on Buddypress?
Cheers
if you add this to your theme functions.php file it think it should work:
remove_action( 'bp_init', 'bp_em_init' );
elmediano
Member
Posted 6 months ago #
Absolute legend! ;)
Works better than my CSS cheat :-P
#events-personal-li { display:none;}
Thank you Marcus, really appreciate it.
karl19
Member
Posted 6 months ago #
Thanks, just what I was looking for!
Thanks! My BP Group Event link wouldn't let me add group events..it just took me to my error page.
It would be nice to know how to make it work, but, in the meantime, this snippet works great!
if you remove that, then you shouldn't be able to do anything in BP.
Strange. The other features seem to still work.
The best thing would be if "Events" did something besides take me to an error page. I do have an Event posted, so I would think that would show up. Or maybe it would give me the option to add a new event. But it doesn't do anything. I haven't found any BP settings in EM's settings page.
Does anyone know how to make the Events link actually do something?
elmediano
Member
Posted 6 months ago #
Can't remember of by heart and might be wrong but I think there's a folder you have to copy from the plugin directory to your theme?
Not sure as I can't check at the moment so sorry if I'm just making it up! :P
Oh man! I'm going to wait until you remember or somebody else confirms before I start moving folders around. I already break my site enough as it is!
Event Manager does have buddypress files. I just figured, since the rest of the plugin is so well thought out, that they probably wouldn't require me to guess how to make parts of it work.
Okay, okay, it was my fault. I've been having some database problems and just finished moving everything to a new database the old fashioned way.
And the Events link in BuddyPress works! :D