Quote:
Originally posted by IceMalee
check that out, thats how i got it, its not exactly like yours, but in my member.php thats how that first part is, and i couldnt find any others that were just how yours is, so what should i do?
PHP Code:
if ($action=="logout") {
$templatesused = 'error_cookieclear';
include("./global.php");
// Banned users cant logout hack if ($bbuserinfo[usergroupid]==09) {show_nopermission(); exit;}
// Banned users cant logout hack
|
it's now obvious why it didnt work for you:
Between "hack" and "if" press ENTER, and make the line begining with "if" a new line. It should look like this:
PHP Code:
// Banned users cant logout hack
if ($bbuserinfo[usergroupid]==09) {show_nopermission(); exit;}
// Banned users cant logout hack
It will work if you apply the hack as you see it in my code..