MyBB Community Forums

Full Version: error_nopermissions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When a user is not logged in and they try to access a part of the forum which requires you to be logged in it will do error_nopermissions and show the error messages and have a login field. How can I make this so when they go to a place they need to be logged in instead of showing this page and login field, it goes to member.php?action=login? without loading that page and headers and footers?
You might be able to do this by hooking to no_permission with a plugin or modifying inc/functions.php and go to where the function error_no_permission is.