MyBB Community Forums

Full Version: Modify No Permissions Error Page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to modify the "No Permissions" error page to which a user is redirected when attempting something not permitted. Where in the code do I do this?
you want to change error text or something else?

http://mybbthemes.org/edit-the-mybbs-no-...t-366.html
The templates are located here:
Admin CP -> Templates & Style -> Templates -> *Template Set* -> Error Message Templates
  • error_nopermission_loggedin
  • error_nopermission
The language variables are located here:
Admin CP -> Configuration -> Languages -> *Language* -> messages.lang.php
  • error_nopermission_guest_1
  • error_nopermission_guest_2
  • error_nopermission_guest_3
  • error_nopermission_guest_4
  • error_nopermission_guest_5
  • error_nopermission_user_1
  • error_nopermission_user_2
  • error_nopermission_user_3
  • error_nopermission_user_4
  • error_nopermission_user_5
  • error_nopermission_user_resendactivation
  • error_nopermission_user_username