BP Group Control hosted on WordPress.org
Wordpress.org link: http://wordpress.org/extend/plugins/bp-group-control/
Wordpress.org link: http://wordpress.org/extend/plugins/bp-group-control/
I did a usability test on my new BP Group Control Plugin. Find out how it went!
Often, it doesn’t matter whether your Buddypress plugin loads before or after Buddypress. However, if you are using groups API, or extending other Buddypress plugins, your class extensions require that Buddypress be loaded beforehand. Functions hooked into actions that occur before Buddypress loads that use Buddypress functions will cause problems as well if the load [...]
Just spent about 5 hours on this one, enjoy …
I’ve seen this question come up on a lot of forums – people want to use email addresses as usernames in Buddypress. It makes sense – emails are easy to remember. But Buddypress has made this difficult to do. Andy Peatling added the following constant to [...]
It puzzled me at first when I discovered that activity items are formatted as html before they are stored in the database. This reduces the workload upon retrieval but makes it almost impossible to edit the content of old entries.
Fortunately it is quite easy to change the way activity items are stored in the database. [...]
Ajax can really streamline a site’s user experience. The WordPress/WPMU back-end owes much of its ease of use to the presence of many dynamic menus and feedback notices. No one has had time to implement much of this for Buddypress, but I’m going to show you how to put use Ajax in your Buddypress plugins.
Its [...]
This will make it so that if some one does not have a logged in cookie, they cannot view the content of any activity feed.
function restrict_feeds(){
if (!is_user_logged_in()) {
remove_action( ‘wp’, ‘bp_activity_action_sitewide_feed’, 3 );
remove_action( ‘wp’, ‘bp_activity_action_personal_feed’, [...]
I’ve been fixing up a few plugins for 1.1 compatibility, and have noticed that a lot of the problems center around a failure of global $group_obj. Fortunately, $bp->groups->current_group has the same information in it. What seems weird is that there is a line in the BP 1.1.1 bp-groups.php that sets $group_obj = $bp->groups->current_group. Nevertheless, I [...]
I’ve been running BP 1.1 on my XAMP laptop server for a few weeks now. 1.1 has expanded admin controls, activity stream filters, and a completely revamped theme structure.
New callback format for your screen functions
Use this instead of bp_core_add_nav_item():
bp_core_new_nav_item( array(‘name’ => __(‘name’, ‘text-domain’), ‘slug’ => $bp->component->slug, ‘screen_function’ => ‘my_screen_function’));
bp_core_new_nav_item() takes an array as its [...]
Widgets are a great way to let people include something cool a bunch of times in their site. The problem is, widget areas are almost always predefined in themes, and usually confined to sidebar areas. So here’s how to make any html element into a widget container.
What exactly does this mean? It means that after [...]