BuddyPress Actions Debugging Cheatsheet

We recently needed to debug some BuddyPress actions for a plugin we were working on. Below is a cheatsheet that Alec created. Enjoy!

//debug stuff - find hooks
// function print_profile_update() {
// 	echo 'print_profile_update';
// }
// add_action('profile_update,', 'print_profile_update');

// function print_xprofile_screen_display_profile() {
// 	echo 'print_xprofile_screen_display_profile';
// }
// function print_xprofile_screen_edit_profile() {
// 	echo 'print_xprofile_screen_edit_profile';
// }
// function print_xprofile_screen_change_avatar() {
// 	echo 'print_xprofile_screen_change_avatar';
// }
// function print_xprofile_screen_notification_settings() {
// 	echo 'print_xprofile_screen_notification_settings';
// }
// function print_xprofile_new_wire_post() {
// 	echo 'print_xprofile_new_wire_post';
// }
// function print_xprofile_delete_wire_post() {
// 	echo 'print_xprofile_delete_wire_post';
// }
// function print_xprofile_format_activity() {
// 	echo 'print_xprofile_format_activity';
// }
// function print_xprofile_format_notifications() {
// 	echo 'print_xprofile_format_notifications';
// }
// function print_xprofile_updated_profile() {
// 	echo 'print_xprofile_updated_profile';
// }
// function print_xprofile_profile_group_tabs() {
// 	echo 'print_xprofile_profile_group_tabs';
// }
// add_action('xprofile_screen_display_profile','print_xprofile_screen_display_profile');
// add_action('xprofile_screen_edit_profile','print_xprofile_screen_edit_profile');
// add_action('xprofile_screen_change_avatar','print_xprofile_screen_change_avatar');
// add_action('xprofile_screen_notification_settings','print_xprofile_screen_notification_settings');
// add_action('xprofile_new_wire_post','print_xprofile_new_wire_post');
// add_action('xprofile_delete_wire_post','print_xprofile_delete_wire_post');
// add_action('xprofile_format_activity','print_xprofile_format_activity');
// add_action('xprofile_format_notifications','print_xprofile_format_notifications');
// add_action('xprofile_updated_profile','print_xprofile_updated_profile');
// add_action('xprofile_profile_group_tabs','print_xprofile_profile_group_tabs');


// function print_test_action() {
// 	echo 'print test success';
// }
// function print_test_action_screen_my_groups() {
// 	echo 'print_test_action_screen_my_groups';
// }
// function print_test_action_screen_group_invites() {
// 	echo 'print_test_action_screen_group_invites';
// }
// function print_test_action_screen_group_home() {
// 	echo 'print_test_action_screen_group_home';
// }
// function print_test_action_screen_group_forum_topic() {
// 	echo 'print_test_action_screen_group_forum_topic';
// }
// function print_test_action_screen_group_forum() {
// 	echo 'print_test_action_screen_group_forum';
// }
// function print_test_action_screen_group_members() {
// 	echo 'print_test_action_screen_group_members';
// }
// function print_test_action_screen_group_invite() {
// 	echo 'print_test_action_screen_group_invite';
// }
// function print_test_action_screen_group_leave() {
// 	echo 'print_test_action_screen_group_leave';
// }
// function print_test_action_screen_group_request_membership() {
// 	echo 'print_test_action_screen_group_request_membership';
// }
// function print_test_action_screen_group_admin() {
// 	echo 'print_test_action_screen_group_admin';
// }
// function print_test_action_screen_group_admin_edit_details() {
// 	echo 'print_test_action_screen_group_admin_edit_details';
// }
// function print_test_action_screen_group_admin_settings() {
// 	echo 'print_test_action_screen_group_admin_settings';
// }
// function print_test_action_screen_group_admin_manage_members() {
// 	echo 'print_test_action_screen_group_admin_manage_members';
// }
// function print_test_action_screen_group_admin_requests() {
// 	echo 'print_test_action_screen_group_admin_requests';
// }
// function print_test_action_screen_group_admin_delete_group() {
// 	echo 'print_test_action_screen_group_admin_delete_group';
// }
// function print_test_action_screen_notification_settings() {
// 	echo 'print_test_action_screen_notification_settings';
// }
// function print_test_action_new_forum_topic_post() {
// 	echo 'print_test_action_new_forum_topic_post';
// }
// function print_test_action_new_group_forum() {
// 	echo 'print_test_action_new_group_forum';
// }
// function print_test_action_new_forum_topic() {
// 	echo 'print_test_action_new_forum_topic';
// }
// add_action('groups_screen_my_groups', 'print_test_action_screen_my_groups');
// add_action('groups_screen_group_invites', 'print_test_action_screen_group_invites');
// add_action('groups_screen_group_home', 'print_test_action_screen_group_home');
// add_action('groups_screen_group_forum_topic', 'print_test_action_group_forum_topic');
// add_action('groups_screen_group_forum', 'print_test_action_screen_group_forum');
// add_action('groups_screen_group_members', 'print_test_action_screen_group_members');
// add_action('groups_screen_group_invite', 'print_test_action_screen_group_invite');
// add_action('groups_screen_group_leave', 'print_test_action_screen_group_leave');
// add_action('groups_screen_group_request_membership', 'print_test_action_screen_group_request_membership');
// add_action('groups_screen_group_admin', 'print_test_action_screen_group_admin');
// add_action('groups_screen_group_admin_edit_details', 'print_test_action_screen_group_admin_edit_details');
// add_action('groups_screen_group_admin_settings', 'print_test_action_screen_group_admin_settings');
// add_action('groups_screen_group_admin_manage_members', 'print_test_action_screen_group_admin_manage_members');
// add_action('groups_screen_group_admin_requests', 'print_test_action_screen_group_admin_requests');
// add_action('groups_screen_group_admin_delete_group', 'print_test_action_screen_group_admin_delete_group');
// add_action('groups_screen_notification_settings', 'print_test_action_screen_notification_settings');
// add_action('groups_promoted_member', 'print_test_action');
// add_action('groups_demoted_member', 'print_test_action');
// add_action('groups_banned_member', 'print_test_action');
// add_action('groups_unbanned_member', 'print_test_action');
// add_action('groups_format_activity', 'print_test_action');
// add_action('groups_format_notifications', 'print_test_action');
// add_action('groups_create_group_step1_save', 'print_test_action');
// add_action('groups_create_group_step2_save', 'print_test_action');
// add_action('groups_create_group_step3_save', 'print_test_action');
// add_action('groups_created_group', 'print_test_action');
// add_action('groups_delete_group', 'print_test_action');
// add_action('groups_new_group_forum', 'print_test_action_new_group_forum');
// add_action('groups_new_forum_topic_post', 'print_test_action_new_forum_topic_post');
// add_action('groups_new_forum_topic', 'print_test_action_new_forum_topic');
// add_action('groups_invite_user', 'print_test_action');
// add_action('groups_uninvite_user', 'print_test_action');
// add_action('groups_accept_invite', 'print_test_action');
// add_action('groups_reject_invite', 'print_test_action');
// add_action('groups_send_invites', 'print_test_action');
// add_action('groups_leave_group', 'print_test_action');
// add_action('groups_join_group', 'print_test_action');
// add_action('groups_new_wire_post', 'print_test_action');
// add_action('groups_deleted_wire_post', 'print_test_action');
// add_action('groups_details_updated', 'print_test_action');
// add_action('groups_settings_updated', 'print_test_action');
// add_action('groups_membership_requested', 'print_test_action');
// add_action('groups_membership_accepted', 'print_test_action');
// add_action('groups_membership_rejected', 'print_test_action');
// add_action('groups_remove_data', 'print_test_action');
Posted in ,

The Mighty Mo! Design Co.

RSS From Toby’s Blog

  • Where uncertainty exists, don’t order specific.
    4 Idiot Case Studies with 2 simple age-old business lessons. The post Where uncertainty exists, don’t order specific. appeared first on Toby Cryns, WordPress Trainer in Minneapolis, MN.
  • “Now THAT was a good meeting!”
    A single effective meeting can change the course of history for a company. Imagine if you could lead effective meetings EVERY DAY! You can, but it takes curiosity & practice. This article is a good place to start your journey to a more effective you. The post “Now THAT was a good meeting!” appeared first […]
  • Never Respond to RFPs & Custom Proposal Requests
    Y'all who work at normal 9-5 jobs don't need to deal with the B.S. that is an RFP process (or rather you get paid to deal with it). But us freelancers gotta deal with a whole big bag of schtuff when it comes to custom proposals. Here's my quick-and-dirty RFP filtering process that I use […]

More posts from themightymo.com

Make WordPress Work for You: How to turn your self-hosted WordPress blog into a totally rocking Content Management System (CMS)

By | March 7, 2009

WordPress Presentation What we might cover How many people have a website or blog? Brainstorm ideas for websites.  What do you want your website to do? WordPress as a CMS Examples: GBSSA.org, TeamUpMn.org, Letronica.com (http://www.letronica.com/content/), cryns.com Switching WordPress from a Blog to a CMS Photo Gallery: http://www.cryns.com/category/photos/ Post by email iPhone Application Cool Plugins: Podpress…

Unsummit Minneapolis

By | March 7, 2009

Today I will be liveblogging from the Unsummit (un)conference in Minneapolis. So far, I have bumped into all sorts of superstars from the local blogging and online social media scene, which is always fun.  I am looking forward to attending: “Launching a Startup in Your Spare Time” “Getting Good Ideas When Ideas are Tough” UnPanel…

Mark Gason Papervision 3D Presentation at FlashMN

By | February 18, 2009

I am liveblogging from Mark Gason’s presentation at FlashMN. These are my notes. Check out Mark’s page of resources.  It contains links to tutorials as well as all sorts of other Papervision 3D-related stuff.  http://gasolicious.com/flashstuff/PV3D_presentation.html Swift 3D is better than Papervision 3D in some ways: – You can model in Swift 3D, but AutoCAD also…

RSS From Toby’s Blog

  • Where uncertainty exists, don’t order specific.
    4 Idiot Case Studies with 2 simple age-old business lessons. The post Where uncertainty exists, don’t order specific. appeared first on Toby Cryns, WordPress Trainer in Minneapolis, MN.
  • “Now THAT was a good meeting!”
    A single effective meeting can change the course of history for a company. Imagine if you could lead effective meetings EVERY DAY! You can, but it takes curiosity & practice. This article is a good place to start your journey to a more effective you. The post “Now THAT was a good meeting!” appeared first […]
  • Never Respond to RFPs & Custom Proposal Requests
    Y'all who work at normal 9-5 jobs don't need to deal with the B.S. that is an RFP process (or rather you get paid to deal with it). But us freelancers gotta deal with a whole big bag of schtuff when it comes to custom proposals. Here's my quick-and-dirty RFP filtering process that I use […]