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.

Setting Auto EOT

Home Forums Community Forum Setting Auto EOT

Tagged: 

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

Topic Author Topic
Posted: Friday Sep 7th, 2012 at 12:52 am #24460

Basic question.

Can you set EOT via code / PHP?

I would like to register members as Free and if they have a free trial coupon they will enter code and if authenticated they will get their EOT set to X, example + 1 day. Also set role to s2member level 1.

Any help would be very appreciated.

Thanks,
Frank

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Friday Sep 7th, 2012 at 6:44 am #24505

Hi Frank.

This article may help with the role part: Knowledge Base » Changing Roles/Capabilities via PHP

This post may help with setting the EOT via PHP: http://www.primothemes.com/forums/viewtopic.php?t=10100&p=21197#p20785

If you use free registration pro-forms, you can specify the EOT and level there. You can also use PHP in the pro-form’s shortcode if you need it: http://www.primothemes.com/forums/viewtopic.php?f=36&t=1604

I hope that helps. :)

Posted: Tuesday Sep 11th, 2012 at 8:00 pm #24944

Thanks for the help on this!!

Hopefully my developer can do it!

Posted: Wednesday Sep 12th, 2012 at 7:54 am #24989

Cool. :)

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.