6
in modules/wfdownloads/header.php
add this code just above $myts = & MyTextSanitizer :: getInstance(); // MyTextSanitizer object
if (!$xoopsUser->getVar('posts') >= 10) {
redirect_header("../../index.php", 2, _MD_WFD_NEEDMINPOSTS);
exit();
}
then add this line just above ?> in wfdownloads/language/english/main.php
define("_MD_WFD_NEEDMINPOSTS","You Need A Minimum Of 10 Posts To Access Downloads");