0
votes
1answer
39 views

How does budypress plugin routing works?

I want to build a url structure similar to buddypress (respond to custom urls with plugin files), been trying to figure out how exactly it works in bp, but I'm a bit stumped. I know they do url ...
0
votes
2answers
62 views

How do I add a text field under the activity texarea?

I am working with BuddyPress 1.7. I need to add a text field under under the activity/update text area and capture that data when an update is posted. Any help to help to get me started would be ...
0
votes
1answer
105 views

BuddyPress: Fatal error: Class 'BP_Component' not found while extending Class but after using bp_include action

I’m trying to make a BuddyPress plugin using these guidelines http://codex.buddypress.org/theme-compatibility/how-to-enjoy-bp-theme-compat-in-plugins/ however, if I try to add a class that extends ...
1
vote
2answers
148 views

How to get the ID of the currently logged in user?

I want to get the ID of the currently logged in user. I've found the function: get_current_user_id which seems to be working, however I'm not sure what 'current' means in this context. Meaning if the ...
0
votes
1answer
81 views

modify buddpress adminbar only in admin pages

I have modified the buddpress admin bar by creating the following plugin which adds a simple text link to the bar: function bp_adminbar_currentsite_menu() { global $bp; ?> <li> <!-- ...