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.

Membership Cancellations

Home Forums Community Forum Membership Cancellations

This topic contains 3 replies, has 2 voices. Last updated by  Cristián Lávaque 3 years, 9 months ago.

Topic Author Topic
Posted: Thursday Apr 11th, 2013 at 3:50 pm #47221

Hello, this question is related to this one: http://www.s2member.com/forums/topic/level-doesnt-change-after-cancelation/

However, what I need to do is test whether there is an EOT Time set within the content of a post with some sort of variation using s2If and s2Get, something similar to the following:

[s2If current_user_can(access_s2member_level1) AND ![s2Get user_field="s2member_auto_eot_time"]]
… Content to show for paid users that have not yet cancelled their account …
[/s2If]

I know this isn’t correct, but I feel something like this should be possible.

Thanks!

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Friday Apr 12th, 2013 at 6:04 am #47288

You can use PHP for the condition. [hilite path]Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals[/hilite]

[hilite pre_code]

Content for users with Level 1 access that don't have an EOT time.

[/hilite]
Posted: Friday Apr 12th, 2013 at 8:25 am #47304

Thanks. I was trying to avoid having to make a new template just for this one page, but if there’s no other way I guess it’s not too bad.

Thanks for the help!

Posted: Saturday Apr 13th, 2013 at 8:13 am #47415

Doesnt’ need to be a template, you can use PHP in the page’s content if you have a PHP execution plugin installed. Knowledge Base » ezPHP Plugin for WordPress®

Viewing 3 replies - 1 through 3 (of 3 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.