2
           
            
                
     
    
    "Vuelva atrás, esta función no está permitida por X-AAM. Contacte con su administrador de sistema para instalar un módulo."
Can you tell me how the system admin can install/unsitall a module if the code is commented out?
And would it not be FAR better to hack main.php and add this
 $updatesonly = true; //change to false allow all 
if ($updatesonly && !in_array($op, array('update', 'update_ok'))) { 
    echo 'SORRY, WE ONLY ALLOW UPDATES'; 
    $op = 'list'; 
}  
just before this lines
 if (in_array($op, array('submit', 'install_ok', 'update_ok', 'uninstall_ok'))) { 
    if (!$GLOBALS['xoopsSecurity']->check()) { 
        $op = 'list'; 
    } 
}