member access message
Hey Ray
On a users_login.php page, if someone is a 'member' (UserGroupID=12) how would I display the below message?
<span class="text-element requiredLabel" style="text-align:center;">You are not authorised to login here. PLease access your login via the <a href="../members.php">members login</a> page</span>
I have tried wrapping with
<?php if(WA_Auth_RulePasses("Members Only")){ // Begin Show Region ?><?php } ?>
but this for some reason redirects the visitor to the members.php rather than showing the error message. Also, when it does redirect it redirects to a failed check (members.php?failed=3&accesscheck=%2Fmember-loggedin.php%3FUserID%3D103)
Cheers