11
It is a cookie problem, We cannot set cookies when headers are already sent.
Open system/admin/blocksadmin/main.php and add this at line 52:
$requests = array( "selmod" => -1,
"selgen" => 1,
"selvis" => -1,
"selgrp" => XOOPS_GROUP_USERS);
foreach ($requests as $req => $def) {
if (isset($_GET[$req])) {
setcookie($req, $_GET[$req]);
}
}
In blocksadmin.php you should remove line 56 so it looks like this:
foreach ($requests as $req => $def) {
if (isset($_GET[$req])) {
${$req} = intval($_GET[$req]);
} elseif (isset($_COOKIE[$req])) {
${$req} = intval($_COOKIE[$req]);
} else {
${$req} = $def;
}
}
The previous hack for custom blocks is also needed.
Please test it and report back.