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.

Need help with Custom Capabilities please

Home Forums Community Forum Need help with Custom Capabilities please

This topic contains 0 replies, has 1 voice. Last updated by  Reinhard 4 years, 1 month ago.

Topic Author Topic
Posted: Wednesday Nov 14th, 2012 at 2:45 am #31545
Reinhard
Username: crashguru

Hi,

I need a function like “if number in field $price is >= 500 restrict access to Level#2″

Could someone please explain if and how I could add above condition to a field in the php file that creates the field.
I am not a programmer, can I assign a Level with php? Can something like this work:

” if ($aditemprice >= “300”) { (“s2member_level2″); } ”

Thanks a lot for any hints!
Reinhard

  • This topic was modified 4 years, 1 month ago by  Reinhard.
  • This topic was modified 4 years, 1 month ago by  Reinhard.

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.