Page 1 of 1

Disable free acces to the sub blogs in wp multisite

PostPosted: October 19th, 2011, 10:08 pm
by tudabit
My situation is like this:
I setup a wordpress multisite with:
Blog A for the main site
Blog B is the subsite
Blog C is the subsite
Blog D for the buddypress

Now with s2member I want:
- free user can access only the main site, index (contain latest posts) of each subsite (blog B / C) and disable access for the buddypress (blog D)

- After the free user become paid user on the main site, they can access each subsite and buddypress site

I figure out that if user that registered as a member will be a subscribe member for each subsite. But I dont know how to block the free us as I describe above... Anyone can give me a guide?

Thanks and sorry for my bad English 8-)

Re: Disable free acces to the sub blogs in wp multisite

PostPosted: October 19th, 2011, 10:20 pm
by Eduan
Have you tried using conditionals? You can find them under WP Admin -> s2Member -> API / Conditionals -> Simple/Shortcode Conditionals and Advanced/PHP Conditionals.

Hope this is what you're looking for. :)

Re: Disable free acces to the sub blogs in wp multisite

PostPosted: October 30th, 2011, 2:45 am
by tudabit
Thank you Eduan

I just figure it out myself. Using costume coding at s2-hack file :)

Re: Disable free acces to the sub blogs in wp multisite

PostPosted: October 30th, 2011, 8:29 am
by Eduan
Great! :)
Glad to be able to help. :)