BuddyPress

how to unzip using command line or terminal

How to Zip a Folder Using Terminal or Command Line

By Toby Cryns / 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 Continue Reading How to Zip a Folder Using Terminal or Command Line

Read More

BuddyPress Actions Debugging Cheatsheet

By Toby Cryns / 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… Continue Reading BuddyPress Actions Debugging Cheatsheet

Read More

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

By Toby Cryns / 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… Continue Reading BuddyPress Forum Time Since Last Post (a.k.a. “Freshness”)

Read More

bp-custom.php vs. functions.php

By Toby Cryns / 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… Continue Reading bp-custom.php vs. functions.php

Read More

CSS Body Class for BuddyPress Group Moderators and Admins

By Toby Cryns / 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… Continue Reading CSS Body Class for BuddyPress Group Moderators and Admins

Read More