Anpassen der Meldungen auf der Fehlerkernseite
The Error Core Page is a page created by MemberMouse when you install the plugin. It is used to display informative messaging to members when they attempt to interact with pages they don’t have access to. For example, if they attempt to access a page they do not have access to based on their access rights, or if they attempt to log in after their account has been canceled or has expired, etc.
Es gibt nur eine Fehlerseite auf Ihrer Website, die von allen Mitgliedern unabhängig von ihren Zugriffsrechten verwendet wird. Standardmäßig gibt MemberMouse auf der Fehlerseite eine entsprechende Fehlermeldung aus, die auf dem aufgetretenen Fehlerszenario basiert. Dies wird erreicht durch die Es ist ein Fehler aufgetreten SmartTag™, der in die Seite aufgenommen wird. Dieser SmartTag™ prüft den an die Seite übergebenen Fehlercode und gibt auf der Grundlage des Wertes dieses Fehlercodes eine entsprechende Meldung aus.
However, you can use this error page as an opportunity to communicate specifically with the person who has arrived there and speak to why they arrived there. For example, it’s a great time to offer a specific purchase link to allow access to protected content or give easy instructions to restart a canceled account.
If you’d like to write your own error messages you can do so by following these instructions:
- Entfernen Sie den MM_Error_Message SmartTag™. Dadurch wird verhindert, dass MemberMouse die Standardfehlercodes ausgibt.
- Verwenden Sie den MM_Custom_Decision SmartTag™, um benutzerdefinierte Meldungen auf der Grundlage von Fehlercodes zu erstellen. Der Fehlercode für ein Mitglied, dem der Zugriff auf eine geschützte Seite verweigert wird, lautet beispielsweise 100020. Um eine benutzerdefinierte Meldung für dieses Szenario zu erstellen, gehen Sie wie folgt vor:
MM_Custom_Decision code=’100020′
We’re sorry, you don’t have access to view the requested page.
Benutzen Sie diesen Link, um den Zugang zu erwerben!
/MM_Custom_DecisionAs with all SmartTags™, you can put any text or HTML in between the opening and closing tags. This allows you to offer different options to members and non-members alike based on why they’re being directed to the error page.
- Wiederholen Sie den obigen Schritt für alle MemberMouse-Fehlercodes, die wie folgt lauten:
100020
This code is reporting that the member attempted to access a page they didn’t have rights to view.100030
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.100031
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 currently locked.100034
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 currently expired.1001013
Dieser Code wird von einem Social-Login-Anbieter (z. B. Facebook) zurückgegeben und meldet, dass die erforderliche E-Mail-Adresse nicht vom Anbieter bereitgestellt wurde.

