I have a Wordpress site, with BuddyPress installed. I also have CubePoints integration for BuddyPress installed. I needed a way to get a monthly total of each users points. I did ask on the BP forum and they pointed me to the code below.
But what I want to do is just show how many points a user has for the current month. I'm not too good with PHP yet, but I'd really like some help on figuring this out.