[Membership 2 Pro] M2Pro Members Only In BP Member Directory


I am trying to display only paid members from Membership 2 pro in the BuddyPress member directory. I found this nice write up which seemed promising, and it's exactly what I need to do, but I can't seem to get it working – http://tymescripts.com/show-paid-subscribers-wpmudev-membership-2-buddypress-members-directory/