So I'm building a membership site, and I need to limit BuddyPress group creation to specific member roles only.
Yes, yes -- I'm well aware that this functionality is built into your Membership2 plugin. I've used that on other sites, and it's great!! However....for various reasons (way too long to get in here), this specific site that I'm working on MUST use the S2Member plugin for membership (one of the main reasons, though, is built-in CCBill support). So...I'm kind of stuck with S2Member. But unfortunately they don't have the ability to limit group creation to certain member roles.
So my question is....
Is there some code I can add to functions.php (or a must-use plugin) that can basically replicate this function only for use on my site?
(I'm assuming installing multiple membership plugins just so I can use one feature in one of them would create massive conflicts, havoc and general confusion?)
While we're on the subject of group creation, is there also an easy way to also limit the NUMBER of groups users can create?