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.

using Advanced PHP conditionals

Home Forums Community Forum using Advanced PHP conditionals

This topic contains 1 reply, has 2 voices. Last updated by  Eduan 4 years, 9 months ago.

Topic Author Topic
Posted: Sunday Apr 1st, 2012 at 5:36 am #9691

Hi,
I would like to use PHP conditionals in other plugin(Formidable).
In the other plugin(Formidable) there is a Custom HTML.
I embedded this s2member code into it:

Some content for Members who are logged in with an s2Member Level >= 1.

Some public content.

But it doesn’t work at all.
It is some “Global variable” problem ?

Thanks in advance!
Josef

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Sunday Apr 1st, 2012 at 10:42 am #9698
Eduan
Username: Eduan
Moderator

Hello Josef, thanks for your inquiry.

s2Member conditionals only work within WordPress, also, if you’re using PHP conditionals on a post or page, you might want to install a plugin like Exec-PHP in order to not have errors.

Does this help?

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