PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Disable free acces to the sub blogs in wp multisite

s2Member Plugin. A Membership plugin for WordPress®.

Disable free acces to the sub blogs in wp multisite

Postby tudabit » October 19th, 2011, 10:08 pm

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-)
User avatar
tudabit
Registered User
Registered User
 
Posts: 2
Joined: September 14, 2011

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

Postby Eduan » October 19th, 2011, 10:20 pm

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. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

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

Postby tudabit » October 30th, 2011, 2:45 am

Thank you Eduan

I just figure it out myself. Using costume coding at s2-hack file :)
User avatar
tudabit
Registered User
Registered User
 
Posts: 2
Joined: September 14, 2011

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

Postby Eduan » October 30th, 2011, 8:29 am

Great! :)
Glad to be able to help. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 0 guests

cron