fix for missing arguments in function, per #13

this is equivalent to 6ece052, but since I'd moved custom functions from
bp-custom.php to functions.php, I recreated those changes here.