No thats not what I meant, what I meant is that if you try to login or surf with a banned username, a cookie will be stored (which will be checked upon every visit) so it will keep blocking you from visiting the site or loging in with a different username. Without using an IP ban of course. Right now if I ban a test user, it will say I'm banned when I log in with that username, but I can still visit the site or login with a different username.
And thats what I want to prevent.
Hmm, are you asking things that are already clearly outlined in post 1?
This mod sets a cookie on the user's machine if that user is banned by user_id and/or IP. As long as the cookie matches a banned user_id or banned IP in the database, the user is denied access to the forum so they cannot even see the forum as a guest. Even if the user changes their IP, they are still banned.
That means that if you are banned, you cannot access the forum at all, not as guest, not to log in under any username, nothing, there is no access from that computer to the forum, until the admin unbans you. This works too if you are banned by username only, provided you tried to log in once so the cookie could be set.
Hence the severe warning: do not try out this mod on yourself unless you know what you are doing, because if you don't remove the cookie AND change the ban setting as Admin, you wont be able to get back on the forum. And you cannot change the ban setting for yourself unless you log in as admin, and if you try that when you are banned, you immediately have another cookie and are banned again.