2
I haven't tested this, but it should work:
in /modules/mydownloads/header.php after:
include XOOPS_ROOT_PATH."/modules/mydownloads/include/functions.php";
add the following:
$postcount = 15;
if (! $xoopsUser) {
redirect_header(XOOPS_URL, 4, "You must have $postcount posts in order to access the downloads.");
} else {
if ($xoopsUser->getVar('posts') < $postcount) {
redirect_header(XOOPS_URL, 4, "You must have $postcount posts in order to access the downloads.");
}
}
To modify where the user is sent after seeing this message, change 'XOOPS_URL'.