Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bp tags not working in plugins?


peterverkooijen
Participant

@peterverkooijen

Thanks Jeff Sayre!

The plugin has a very messy structure. I’ve tried with $bp added to global in several functions in the plugin, both in the main file and the file with the form. Nothing has any effect.

Are there any downsides to adding $bp if it’s not strictly needed? Can you make any plugin “Buddypress ready” by just adding that $bp to global?

I did get regular wp data working with help from their forum. I had to add this to the php:

global $current_user;
get_currentuserinfo();

Does Buddypress have something like that? Anything else I can try?

Skip to toolbar