Until I figure out how to move my 100 users from s2member to amember, I'd like to protect cetain urls with both systems, i.e. have URL1 be accessible to members of both membership tools. With s2member I can add conditions to the protection codes, so I can detect members. Is it possible with amember in a way that I can do something like this? if(amember_user) { // access granted } elseif (s2member_user) { // access granted } else { echo 'access denied'; die(); }
Update: seems like the problem is that when protecting urls through the amember dashboard it creates an (httaccess?) redirect. Is it possible to override the redirect and use a php condition for protection (i.e. some sort of "if logged in")?