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.

Lock subdomains, non WP folders etc.

Home Forums Community Forum Lock subdomains, non WP folders etc.

This topic contains 1 reply, has 2 voices. Last updated by  Raam Dev 4 years, 6 months ago.

Topic Author Topic
Posted: Friday Jul 6th, 2012 at 8:14 am #18474

I intend to develop a separate front-end that doesn’t involve wordpress.

Can I easily send post-payment callbacks to this separate script?
Can I get a2 member details from this script? Just a currently logged in username would suffice.
Also what security issues could there be doing things this way?

If you can link me to some code and/or examples that would be great.

Thank you.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Saturday Jul 7th, 2012 at 4:45 am #18534
Raam Dev
Username: Raam
Staff Member

Hi Jake,

For sending post-payment callbacks, you’ll want to use an s2Member hook (probably one of the s2Member PayPal hooks).

s2Member currently uses the WordPress user base and authentication system. s2Member users are WordPress users with a specific role (one of the s2Member levels). Integrating external scripts essentially involves including the necessary files to load the WordPress plugin framework.

For integrating external scripts with s2Member, please see Knowledge Base » Protecting Non-WordPress Content with s2Member. You’ll also want to take a look at Dashboard -› s2Member® -› API / Scripting -› Advanced PHP Conditionals.

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.