Im using Forum version 1. I upload module NewBB_Pro to my host and how can I upgrade It?
How can I do with my Database?
plzzz, help me. Thanks a lots!!!
global $xoopsUser,$xoopsDB;
if($xoopsUser){
$sql = "SELECT count(*) FROM ".$xoopsDB->prefix('users');
list($count) = $xoopsDB->fetchRow($xoopsDB->queryF($sql));
echo "<b>$count</b> Members <br>";
$sql = "SELECT count(*) FROM ".$xoopsDB->prefix('users')." WHERE level =0";
list($count) = $xoopsDB->fetchRow($xoopsDB->queryF($sql));
echo "<b>$count</b>: Inactive <br>";
}
Stewdio wrote:
The only other option I have for you is to use the recent downloads block in an out of the way place. What this will do is show users what been downloaded lately but not allow them to download because of your group settings for the downloads.