• I want to use the access control features of s2member but I want to manage the creation of the user accounts myself. Here is why:

    I’m porting my Genealogy Societies web site from Joomla to WP. We use another platform (Z2 Systems Neon) to manager our user accounts. They provide an API that can be used to verify if a given User ID and Password are valid.

    I use this API in my current Joomla site to determine whether or not a user is a current member or not. If they are not, I want them to go to our Neon system (which is also used for a number of other functions, which is why I want to let it be the master source to validate users) to handle it (usually renew their membership).

    I want to do the same thing using s2member and am looking for a little help to understand its login process so I can (hopefully) break into it and manage things my way.

    Basically, when somebody enters a user ID and Password in s2member I want to trap the request, make the call to my Neon API and (if they are really a current member) create or update the record in my WP_Users table and then let things continue normally. If my API call indicates that they are not a valid member I want to delete or disable their record in the WP_Users table before letting things go on.

    I am an OK PHP programmer – I wrote the Joomla plugin and got it working in that environment… I’m just looking for a little help understanding how the login flow goes here in s2member-land.

    Thanks in advance!

    https://www.ads-software.com/plugins/s2member/

Viewing 4 replies - 1 through 4 (of 4 total)
  • when somebody enters a user ID and Password in s2member

    Users don’t enter those details in s2Member. They enter them in WordPress: s2 does not change the login process.

    I would look for a hook in login WP functions…

    Thread Starter ah0265

    (@ah0265)

    OK, but s2Members appears to be keeping information about each user someplace other than the users table. I have found s2Members methods for reading this information: are there methods that will allow me to write/update information about a user? (This would allow me to create an entry for a new user in the users table and then let s2Members know what access level they should have).

    The other table s2M uses is WP’s standard usermeta table.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘External User Validation’ is closed to new replies.