By default MemberMouse will output a relevant error message on the error page based on the specific error scenario that occurred. This is accomplished by the
[MM_Error_Message] SmartTag being included on the page. This SmartTag looks at the error code passed to the page and based on the value of that error code, outputs an appropriate message.
If you'd like to write your own error messages you can do so by following these instructions:
1. Remove the
[MM_Error_Message]SmartTag. This will keep MemberMouse from outputting the default error codes.
2. Use the [MM_Custom_Decision] SmartTag to generate custom messages based on error code. For example, the error code for a member being denied access to a protected page is
100020. To create a custom message for this scenario you would do the following:
We're sorry, you don't have access to view the requested page.
3. Repeat the step above for all MemberMouse error codes which are as follows:
|This code is reporting that the member attempted to access a page they didn't have rights to view.|
|This code is reporting that the member's account is canceled. Members will be redirected here if they attempt to login when their account is currently canceled.|
|This code is reporting that the member's account is locked. Members will be redirected here if they attempt to login when their account is|
|This code is reporting that the member's account is expired. Members will be redirected here if they attempt to login when their account is|
|This code is returned by a social login provider (i.e. Facebook) and is reporting that the required email address was not supplied by the provider.|