Quote:
Originally Posted by Delphiprogrammi
well,
the bancheck is in /modcp/banning.php instead of the default "print_stop_message()" we could
PHP Code:
<?php
Header("Location:banned.php");
?>
but it would require a custom template i have no experience with developing that also sv1cec where is the "mail on banned" feature i don't find it :speechless: not in user banning options nor in e-mail options
rgds
|
Are you sure it is in banning.php? Because I checked and there is no code which checks whether a user who tries to log in, is in the banned user groups. Unless I am too sleepy right now.
What I am looking for, is the code which accepts the user name, possibly converts it to a user id and then checks whether this id exists in userban. No matter where I looked, I can't find it.
No worries about the message, I can handle that, if only I can find the place where the ban check is made.
As for the Mail when banned, it is in the Member Notification Options, in the AdminCP/Warning System Options.