Hi Brajesh,
I've been looking into S2Member for my project, and what I want to do I protect certain Groups for regular users.
I've got it all figured out how to set it up, I now just need a way to secure my BuddyPress Groups by adding some code to my functions.php.
I've found a piece of code in a video on the S2Member site that shows how to achieve this with categories and tags. But what I would like to do is replace those conditionals with BP Specific ones. For example something like:
bp_is_group() && ‘myGroupSlug’ == bp_current_item().
So I need to combine the S2Member conditional tags with the BuddyPress ones, but I have no clue how to make it work.
Here's the code from the S2Member video:
<img src="http://dl.dropbox.com/u/1628201/S2Member.png" alt="" title="" />
If you could help me out with this, that would be really great :)
Thanks in advance,
Bowe