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™

Post Level Restriction dialog missing in custom post types

s2Member Plugin. A Membership plugin for WordPress®.

Post Level Restriction dialog missing in custom post types

Postby domainworldaccess » August 29th, 2010, 2:01 am

How can I enable the s2member Post Level Restriction dialog for custom post typess?

Thanks,
Joe
domainworldaccess
Guest User
Guest User
 

Re: Post Level Restriction dialog missing in custom post typ

Postby Jason Caldwell » August 30th, 2010, 12:33 pm

Hi Joe. Thanks for the great question.

If you're talking about the Meta Box panel on the Post editing form, then you can do this:
Code: Select all
add_meta_box ("ws-plugin--s2member-security", "s2Member",
"ws_plugin__s2member_security_meta_box", [ your type ], "side", "high");

s2Member v3.2.4+ will auto-detect Custom Post Types
and add the Meta Box for you without that line of code.
( to be released soon )
~ Thanks for pointing this out.

If you're just talking about protecting Custom Post Types, you can do that using s2Member's General Options panel. In your Dashboard, go to: s2Member -> General Options -> Post Level Restrictions
( which ALSO supports Custom Post Types automatically ).
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Post Level Restriction dialog missing in custom post typ

Postby Jason Caldwell » August 31st, 2010, 11:55 pm

@COMPLETED/TODO
This was updated with the release of s2Member v3.2.4 to automatically
support Custom Post Types in the Meta Box panel.
~ Thank you.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron