By user status I mean where it says Guest or Active on the users.php page. I thought it'd be the 'status' column in the ost_user table, but all those values are 0 for everyone so I'm not sure what that field represents. I feel like I've looked at each table and can't figure out which field would contain this status.

    Thanks, not sure I missed that. It must look elsewhere to determine a locked/pending status.

    Any idea why I'd have a users in ost_user but they're not in ost_user_account?

    Looking at the page code for users, looks like any user without an account ID simply gets listed as Guest. Which still begs the question, what's the relationship between those two tables?

      phaelax

      Of course. If they don't have an Account record then it would be a Guest. If they do have one (relates by user_id matching the id of the user in the _user table) then they will be registered or pending activation.

      Cheers.

      Write a Reply...