0
votes
1answer
34 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
51 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
82 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
137 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
264 views

How to add a custom activity to Buddypress?

In BuddyPress, I want to add a custom activity type called travel photos. E.g so when you go to your profile, there's another link saying Travel photos. When you click it, it lets you post a new ...
0
votes
1answer
80 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> <!-- ...