2008-12-02, 08:45 PM
The error_no_permissions function doesn't allow for any custom message. I get a lot of confusion from members about the error because well...people are stupid and the message is very obscure.
It would be great if it was like the error() function that allows a message variable. Giving people very generic error messages isn't helpful.
I don't believe adding this to the function would be difficult. You alter functions.php to add a $message then alter the template error_nopermission to include the $message variable.
Please consider and thank you.
It would be great if it was like the error() function that allows a message variable. Giving people very generic error messages isn't helpful.
I don't believe adding this to the function would be difficult. You alter functions.php to add a $message then alter the template error_nopermission to include the $message variable.
Please consider and thank you.