latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Field protection

Home Forums Community Forum Field protection

This topic contains 2 replies, has 2 voices. Last updated by  Bruce 3 years, 7 months ago.

Topic Author Topic
Posted: Wednesday May 15th, 2013 at 4:20 pm #50028
Vincent Cordel
Username: vinco

Hi there,

I’m about to purchase the s2member plugin but wonder if it’s going to be possible to protect some of the fields in a custom post type.

Say I have field 1, field 2, field 3.
Field 1 is accessible to subscribers role.
Field 2 & 3 become accessible once purchased.
All on the same single post.

Is it possible or is there a workaround?

Thanks!
– Vincent

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Wednesday May 15th, 2013 at 4:21 pm #50029
Vincent Cordel
Username: vinco

To complete my first post, maybe it’d be possible to do using a different post format, one showing all the fields and the other the unrestricted?

Posted: Friday May 17th, 2013 at 4:58 am #50114
Bruce
Username: Bruce
Staff Member

I’m about to purchase the s2member plugin but wonder if it’s going to be possible to protect some of the fields in a custom post type.

No s2Member does not have any direct capability to block the information from Custom Post Fields. However if you’re savvy with code you can change the code in your theme’s templates and use s2Member’s Advanced PHP Conditionals to decide when to show speciic information, including these fields.

See: Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals

Viewing 2 replies - 1 through 2 (of 2 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.