BuddyPress

how to unzip using command line or terminal

How to Zip a Folder Using Terminal or Command Line

By The Mighty Mo! Design Co. / September 3, 2020 / Comments Off on How to Zip a Folder Using Terminal or Command Line

Here’s a step-by-step guide to zipping How to Zip a Folder Using Terminal or Command Line

Read More

BuddyPress Actions Debugging Cheatsheet

By The Mighty Mo! Design Co. / November 25, 2013 / Comments Off on 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…

Read More

BuddyPress Forum Time Since Last Post (a.k.a. “Freshness”)

By The Mighty Mo! Design Co. / September 26, 2012 / Comments Off on BuddyPress Forum Time Since Last Post (a.k.a. “Freshness”)

Today, I had the fun task of changing the way that the “Freshness” dates display in BuddyPress forums.  The idea behind “Freshness” is that there is an easy-to-read way to let people know when the forum topic was last updated.  By default, it displays something like, “1 week, 5 days, 3 hours”, and I wanted…

Read More

bp-custom.php vs. functions.php

By The Mighty Mo! Design Co. / May 14, 2012 /

Up until today I did not know the difference between bp-custom.php and functions.php within a BuddyPress installation. It turns out that bp-custom.php is basically a functions file that is theme-independent. What that means is that if you have a function that you want to run irrespective of whatever theme is active, you put it in…

Read More

CSS Body Class for BuddyPress Group Moderators and Admins

By The Mighty Mo! Design Co. / May 8, 2012 / Comments Off on CSS Body Class for BuddyPress Group Moderators and Admins

I tend to use CSS to hide all sorts of things within the BuddyPress interface rather than unhooking functions. I find that it more quickly and flexibly accommodates my clients’ changing desires. Today I needed to add a css body class for group moderators and admins. The goal was to hide the “Admin” button for…

Read More