Page 1 of 1

Post Level Restriction dialog missing in custom post types

PostPosted: August 29th, 2010, 2:01 am
by domainworldaccess
How can I enable the s2member Post Level Restriction dialog for custom post typess?

Thanks,
Joe

Re: Post Level Restriction dialog missing in custom post typ

PostPosted: August 30th, 2010, 12:33 pm
by Jason Caldwell
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 ).

Re: Post Level Restriction dialog missing in custom post typ

PostPosted: August 31st, 2010, 11:55 pm
by Jason Caldwell
@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.